Moon lander

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
Voker57
Prole
Posts: 29
Joined: Mon Nov 03, 2008 9:38 am
Location: Russia, Krasnodar
Contact:

Moon lander

Post 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]
Attachments
lander.love
Lander version 2
(109.68 KiB) Downloaded 446 times
Last edited by Voker57 on Sat Jun 06, 2009 3:06 pm, edited 1 time in total.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Moon lander

Post by rude »

Epic programmer's graphics! :D
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Moon lander

Post by bartbes »

I löve it! :D
I'd suggest adding a reset and quit button though.
User avatar
Voker57
Prole
Posts: 29
Joined: Mon Nov 03, 2008 9:38 am
Location: Russia, Krasnodar
Contact:

Re: Moon lander

Post 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.
Attachments
lander.love
(109.54 KiB) Downloaded 402 times
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Moon lander

Post 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.
User avatar
Voker57
Prole
Posts: 29
Joined: Mon Nov 03, 2008 9:38 am
Location: Russia, Krasnodar
Contact:

Re: Moon lander

Post 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
User avatar
Lemons
Prole
Posts: 5
Joined: Tue Dec 02, 2008 12:03 am

Re: Moon lander

Post by Lemons »

Awesome game :D
In the great words of the song Jessica by the Allman Brothers Band, "..."
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

I'm blind! - Moon lander

Post 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 10494 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.
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
Voker57
Prole
Posts: 29
Joined: Mon Nov 03, 2008 9:38 am
Location: Russia, Krasnodar
Contact:

Re: Moon lander

Post 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...
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest