Page 1 of 1

Moon lander

Posted: Mon Nov 03, 2008 9:47 am
by Voker57
Very simple game, you have to land the rocket on the Moon with minimum velocity on landing, with limited supplies of fuel. The only button that matters is W. Right bar shows remaining fuel and left — your velocity.

Source code is licensed under GPL and available in .love file [s]and via git: http://voker57.nonlogic.org/gits/?a=summary&p=lander[/s]

Re: Moon lander

Posted: Mon Nov 03, 2008 3:14 pm
by rude
Epic programmer's graphics! :D

Re: Moon lander

Posted: Mon Nov 03, 2008 3:54 pm
by bartbes
I löve it! :D
I'd suggest adding a reset and quit button though.

Re: Moon lander

Posted: Mon Nov 03, 2008 4:14 pm
by Voker57
bartbes wrote:I löve it! :D
I'd suggest adding a reset and quit button though.
Added restart key aka return. Here's updated version, i've added refueling while landed too, to watch the epic takeoff :)

Also i've added textual alert about restart key, but fonts do not get rendered at all for some reason.

Re: Moon lander

Posted: Mon Nov 03, 2008 8:28 pm
by bartbes
I guess Envy doesn't automatically load the font?
Maybe there's some option in envy, but you could also add the following to the load callback.

Code: Select all

love.graphics.setFont(envy.defaultFont)
EDIT:
There might be some kind of bug? Sometimes I stop somewhere in mid-air.

Re: Moon lander

Posted: Mon Nov 03, 2008 8:46 pm
by Voker57
bartbes wrote:I guess Envy doesn't automatically load the font?
Maybe there's some option in envy, but you could also add the following to the load callback.

Code: Select all

love.graphics.setFont(envy.defaultFont)
EDIT:
There might be some kind of bug? Sometimes I stop somewhere in mid-air.
Yeah, that did work, thanks

I've noticed this bug too, probably related to body/entity relationship

Re: Moon lander

Posted: Tue Dec 02, 2008 1:24 am
by Lemons
Awesome game :D

I'm blind! - Moon lander

Posted: Fri Dec 05, 2008 5:58 am
by qubodup
I finally tried the game but it seems to not work as it should. :|

All I see is:
lander.png
lander.png (4.25 KiB) Viewed 10592 times
I haven't checked, but I assume it has something to do with Upper/lowercase file names. (GNU/Linux is sensitive to those. I'm on Arch Linux.)

EDIT: I just noticed that there are some png errors displayed, so it has nothing to do with the love file :)

By the way, you posted two love versions here. I recommend using version number in the name to indicate the version.

Re: Moon lander

Posted: Sat Jun 06, 2009 3:08 pm
by Voker57
By the power of necromancy, I release updated version. It fixes the midair bug and adds useful notices.

What about 'i am blind' bug, i cannot reproduce it...