Search found 17 matches

by mrklotz
Mon Feb 15, 2010 10:58 pm
Forum: Games and Creations
Topic: Zipperippers Showcase
Replies: 60
Views: 35762

Re: Zipperippers Showcase

zipperipper wrote:ok.. so far, draws points in 3D and writes text in 3D, i am going to fix line and surface rendering(not included), they mess up when they go behind the camera. ^^

edit: and eventually add basic physics(for the player, dont know about objects)
Holy crap that's awesome!
by mrklotz
Sun Feb 14, 2010 2:10 pm
Forum: Games and Creations
Topic: Komoplode (chain reaction game)
Replies: 11
Views: 9482

Re: Komoplode (chain reaction game)

kikito wrote:mm is there a .love file somewhere?
I'm going out here on a limb, but since all the .lua files state that they are under zlib it should be okay.
The komoplode.exe is just love.exe + game.love, renamed; you can open that .exe with 7-zip.
by mrklotz
Sat Feb 13, 2010 12:22 pm
Forum: Support and Development
Topic: [newbie] question and 1st project.
Replies: 5
Views: 3497

Re: [newbie] question and 1st project.

Robin wrote:I don't really get it. What's the use of a "random" falling object?
I think he probably means random as in random start position of the fall; you could make a simple game out of that easily enough (spaceship dodging "falling" asteroids or something like that).
by mrklotz
Sat Feb 13, 2010 11:46 am
Forum: Support and Development
Topic: Saving settings between sessions?
Replies: 17
Views: 9103

Re: Saving settings between sessions?

Haven't tested it, but this should work. You forgot the "then" after the first if- fork but other than that it runs perfectly fine. ;) It's a pretty clear example but I'd like to add 2 questions, I've browsed the lua tutorial wiki as well pil to some extent but haven't found what I wanted...
by mrklotz
Sat Feb 13, 2010 11:13 am
Forum: Support and Development
Topic: [newbie] question and 1st project.
Replies: 5
Views: 3497

Re: [newbie] question and 1st project.

hello all!! :megagrin: can someone help me to write a tutorial about how to make random falling object.please i wanna learn this game engine.thx. sorry for my bad english. :ehem: Also you should take a look at the lovealanche demo, yes it's not really random but you can learn a thing or two from it...
by mrklotz
Fri Feb 12, 2010 10:17 am
Forum: Support and Development
Topic: Saving settings between sessions?
Replies: 17
Views: 9103

Re: Saving settings between sessions?

If you open a file for writing ( local f = love.filesystem.newFile("bla") f:open("w") ), the file is created. AFAIK, newFile doesn't even try to open a file, but f:open() does. Yes that's what I mean, if you open a non existant file with write it would be created, however to ope...
by mrklotz
Fri Feb 12, 2010 12:09 am
Forum: Support and Development
Topic: Saving settings between sessions?
Replies: 17
Views: 9103

Re: Saving settings between sessions?

That's because love.graphics.setColor doesn't take a table as argument: it takes three or four numbers: love.graphics.setColor(255, 0, 0) -- red unpack() unpacks a table into an argument list: love.graphics.setColor(unpack({255, 0, 0})) -- red The table constructor {} can do the reverse (although i...
by mrklotz
Thu Feb 11, 2010 8:14 pm
Forum: General
Topic: Avatars: OBEY!
Replies: 763
Views: 1005009

Re: Avatars: OBEY!

clever, huh? (not)
by mrklotz
Thu Feb 11, 2010 6:42 pm
Forum: Support and Development
Topic: Saving settings between sessions?
Replies: 17
Views: 9103

Re: Saving settings between sessions?

This should work: Indeed it does, thank you very much and I wasn't even that far off. Something you might not know (judging your code): t["key"] == t.key And it works the other way around as well: love["graphics"]["draw"] Yes you are right, I didn't know that, should s...
by mrklotz
Thu Feb 11, 2010 5:20 pm
Forum: Support and Development
Topic: Saving settings between sessions?
Replies: 17
Views: 9103

Re: Saving settings between sessions?

And, if you modify conf.lua it isn't in the .love, it'd be in the save folder as well. I didn't even think about that, well I'll give it a shot later. But for now I habe a new question to pester you with :P I'm currently using button.lua from the NO demo to create buttons. ----------------------- -...