This is an updated version of LinuxLunarLander , big thanks to thematic for
noticing and fixing the bug's.
OS4 Changelog:
1.5 : First release
1.5R1: Thematic aka Timo Sievänen fixed some bugs and cleaned source up.
1.5.R1 fix:
Changed the line "char angle=0,thrust=0,thrust_x=0,thrust_y=0;"
to "int angle=0,thrust=0,thrust_x=0,thrust_y=0;"
---
Linux Lunar Lander README
In this game you have to land the Lunar Module "The Penguin" on the moon.
You should try to land inside the landing zone,
this area is indicated with a green arrow and the letters "LZ".
You can safely land outside the landing zone, but then you'll receive less
points.
When you hit the lunar surface you should make sure that your velocity doesn't
exceed the maximum and you spaceship is in a vertical position.
You can rotate your spaceship and ignite the engine using the arrow keys:
LEFT: rotate 10 DEG left
RIGHT: rotate 10 DEG right
UP: ignite engine
Caution: the rotation of you spaceship modifies the direction of your
acceleration.
After each landing you will get a score based on the softness of the landing,
the amount of fuel left in your tanks, distance from the indicated landing
zone,
etc...
To compile the game you type "make && make install".
You also need the SDL libraries to compile the game.
This game is licensed under the GPL (check source-files for more information).
I've used SFont code and an SFont font-file in this program, SFont is also GPL.
The image "intro.bmp" shown at the beginning of the game is property of NASA.
For information about the terms of the reproduction of this image, please
consult:
http://images.jsc.nasa.gov/luceneweb/guidelines.jsp
If you have any bugfixes, brilliant ideas, etc..., you can contact me at:
thomas.raes()pandora.be
I'd like to thank Neil Stockbridge for his patch.
Have fun!
Thomas
Changelog Linux Lunar Lander
version 1.5 (2004-06-25)
* No more compiler-warnings (patch written by Neil Stockbridge)
* Only the altitude and remaining fuel are displayed
version 1.4 (2003-08-31)
* Added self-adjusting delay, every frame is displayed at least 56 000 usec
* Fixed a bug that made the spaceship disappear after some crashes
* Converted all BMP files into PNG files
* Added uninstall option in Makefile
version 1.3 (2003-08-27)
* Added the Landing Zone
* Modified landing-rating formula
version 1.2 (2003-08-09)
* Program searches for the graphics-files in the local directory
if it can't use /usr/share/games/LLL
* Fixed a bug that caused the spaceship to disappear if it crossed
the left side of the screen.
* Changed name of eaglethrust.bmp into eagle_thrust.bmp
version 1.1 (2003-08-05)
* Added fuel, altitude, velocity, etc... indicator
* Added exhaust-flame when engine fired
* Added code that judges the landing and gives points
* Code clean-up
version 1.0 (2003-07-29)
* First stable release
| |