Search found 9 matches
- Sun Jun 14, 2009 5:04 am
- Forum: Support and Development
- Topic: File System Problem, Cant write save game.
- Replies: 22
- Views: 18168
Re: File System Problem, Cant write save game.
No, it actually says love.filesystem.open failed This doesn't make sense to me because when I ran that same line without the contained assertion stderr.txt didn't give me an error (this could just be some weird case of lua not noticing an error or something). Thanks for the tip about assert(), thou...
- Sat Jun 13, 2009 5:35 am
- Forum: Support and Development
- Topic: File System Problem, Cant write save game.
- Replies: 22
- Views: 18168
Re: File System Problem, Cant write save game.
When I try to save running the code I posted before, I don't get an stderr.txt (and I don't have an stdout.txt at all). However, if I change it to something like this: local SaveGame = love.filesystem.newFile( "save.lua", love.file_write ) assert(love.filesystem.open(SaveGame),assert(print...
- Fri Jun 12, 2009 10:13 pm
- Forum: Support and Development
- Topic: File System Problem, Cant write save game.
- Replies: 22
- Views: 18168
Re: File System Problem, Cant write save game.
Just want to chime in and say I'm on windows too and I have the same problem. If I run local SaveGame = love.filesystem.newFile( "save.lua", love.file_write ) assert(love.filesystem.open(SaveGame),love.system.exit()) love.filesystem.write(SaveGame, "yeah") it exits, so the file's...
- Sat May 23, 2009 8:50 pm
- Forum: Libraries and Tools
- Topic: BUMP - an input library
- Replies: 6
- Views: 5176
Re: BUMP - an input library
sorry, my post was directed at qubodup, I didn't get what was funny, it all seemed fairly straightforward.
- Fri May 22, 2009 5:26 pm
- Forum: Libraries and Tools
- Topic: BUMP - an input library
- Replies: 6
- Views: 5176
- Thu May 14, 2009 1:54 pm
- Forum: Support and Development
- Topic: Using delta time produces visual artifacts
- Replies: 4
- Views: 3733
Re: Using delta time produces visual artifacts
Thanks alot, I didn't know about the half pixel thing, but that fixed it.
- Thu May 14, 2009 12:34 am
- Forum: Support and Development
- Topic: Using delta time produces visual artifacts
- Replies: 4
- Views: 3733
Using delta time produces visual artifacts
Sorry if this was brought up before, but does anyone else have this problem? If I change the x and y of a graphic using just a number the image looks fine, but if I multiply by delta time I get a blurring (like bad anti-aliasing) and the cx and cy of subsprites seems to want to change slightly (I'll...
- Sat May 09, 2009 2:16 am
- Forum: General
- Topic: Organizing levels and multiple tile maps
- Replies: 4
- Views: 5188
Re: Organizing levels and multiple tile maps
A static image is exactly what I'm aiming at, I was just referencing the animation function because it already turns your sprite sheet into a grid and iterates through it for you. Essentially I'm asking what is an efficient way to do that for static images. Thanks for the link though, that clears up...
- Fri May 08, 2009 10:12 pm
- Forum: General
- Topic: Organizing levels and multiple tile maps
- Replies: 4
- Views: 5188
Organizing levels and multiple tile maps
Hi all, I've been working with love for about a week now and I'm really enjoying it. I'm new to Lua (though I have a background in php and ruby, neither of which are too different) so I have some questions about how to go about organizing tiles that may pertain to Love or Lua or just the process at ...