Search found 101 matches

by tomshreds
Fri Feb 15, 2013 9:25 pm
Forum: General
Topic: Any way to build a non-disassemblable executable?
Replies: 27
Views: 11076

Re: Any way to build a non-disassemblable executable?

So here's the deal: Love loads data from the end of the exe file, because Zip files don't have a header, they have a footer. One file can double as two, and that's what gets exploited. So anyone can rename your exe to a zip and get access to the contents. So, all of the artwork is up for grabs. As ...
by tomshreds
Thu Feb 14, 2013 10:40 pm
Forum: General
Topic: Any way to build a non-disassemblable executable?
Replies: 27
Views: 11076

Any way to build a non-disassemblable executable?

Hi, Let me explain myself. I will release in the next months a game commercially. I need a way to encrypt or to simply make an executable that won't be disassemblable. I mean, when you simply "copy /b love.exe+game.love game.exe" the resulted binary can be easily disassembled into pieces a...
by tomshreds
Sun Feb 10, 2013 5:24 pm
Forum: General
Topic: Custom Cursors on OS X
Replies: 4
Views: 3409

Re: Custom Cursors on OS X

It should be lm.setVisible, not lm.isVisible; the latter is only there to check wether the mouse is visible How dumb am I? haha thanks it worked! i got the same problem a week ago what do you think of proposing the renaming of isVisible() to getVisible() in the Issue Tracker ? I agree, because it w...
by tomshreds
Sat Feb 09, 2013 3:15 pm
Forum: General
Topic: Custom Cursors on OS X
Replies: 4
Views: 3409

Re: Custom Cursors on OS X

Nixola wrote:It should be lm.setVisible, not lm.isVisible; the latter is only there to check wether the mouse is visible
How dumb am I? haha thanks it worked!
by tomshreds
Sat Feb 09, 2013 2:51 pm
Forum: General
Topic: Custom Cursors on OS X
Replies: 4
Views: 3409

Custom Cursors on OS X

Hi, I'm trying to get a custom cursor working on OS X but nothing seems to make my current cursor disappear. Does it work on OS X? It looks like no. Here's a little bit of code: function shop.keypressed(args) if args.key == "delete" then isDestroyMode = true love.mouse.setGrab(true) love.m...
by tomshreds
Thu Feb 07, 2013 12:23 am
Forum: General
Topic: Lock cursor on a grid
Replies: 7
Views: 3844

Re: Lock cursor on a grid

I found a way to draw it like I wanted: love.graphics.setBlendMode("additive") love.graphics.setColor(255, 255, 255) local ratio = 1.1 local highlight_x = math.floor(x - (((draggingObject.ImageSize.width * ratio) - draggingObject.ImageSize.width) / 2)) local highlight_y = math.floor(y - ((...
by tomshreds
Thu Feb 07, 2013 12:03 am
Forum: General
Topic: Lock cursor on a grid
Replies: 7
Views: 3844

Re: Lock cursor on a grid

it will be hard i suggest you trying to draw the same image in white filter and slightly zoomed behind your normal image i will make a quick test for you when i find some time edit : it will work if you find a way to easily center images drawed. test the .love to understand or you will find a bette...
by tomshreds
Wed Feb 06, 2013 6:41 pm
Forum: General
Topic: Lock cursor on a grid
Replies: 7
Views: 3844

Re: Lock cursor on a grid

Thanks to both of you, it worked wonders!!! Another question: I want to make some kind of bright highlight around objects when I place them on the grid. My objects are PNG images loaded into löve. So let's say I'd like a 2px think white line around the image's shape. Where should I begin? I'm having...
by tomshreds
Wed Feb 06, 2013 1:23 pm
Forum: Games and Creations
Topic: Indie Game Story, First Official Screenshots!
Replies: 14
Views: 10156

Re: Indie Game Story, First Official Screenshots!

@tomshreds: I bumped onto your twitter last night. I was happy to notice you're being that ambitious, but disappointed you did not told us folks ! :halloween: A link to your site/campaign/indiedb page here would be great ! Tell us more about your progression, I'm hungry for LÖVE success-stories ! :...
by tomshreds
Wed Feb 06, 2013 6:09 am
Forum: General
Topic: Lock cursor on a grid
Replies: 7
Views: 3844

Lock cursor on a grid

Hi, Let's say I have a grid somewhere on the screen. I'd like that, when the cursor is over the grid, it would actually snap on the grid points. For example, if I'd like to put stuff on a grid a-la sim city 2000. Is there any way of doing so? Because I'd need a way to properly put shapes on a grid. ...