Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (494)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Moon Lander  (Read 6950 times)
0 Members and 1 Guest are viewing this topic.
Offline dector

Senior Member


Medals: 3
Projects: 3



« Posted 2012-07-09 10:09:08 »

Click to Play


Click to Play


Moon Lander is space game. You need to land your spaceship onto the special platform.

Controls

Use Up/Left/Right keys to control your rocket.
M - mute sound.
P - pause.
Space - play next level (if landed).
E - edit current level
Shift+E - edit empty level

in editor

Escape - exit
M - mute game
R - test level
S - save level (will be saved to saved_levels/ dir)
L - load level

1 - pointer tool (do nothing)
2 - drawer tool (draw map) *
3 - place flag
4 - place landing platform **
5 - place rocket ***

* - Click at left screen bound (where circle near cursor drawn);
click on the map to place points (now next point must have greater x coordinate, than prev. point);
click at right screen bound (circle is drawn too) to finish map drawing.
Use additional keys with drawer tool:

Backspace - delete last point

** - Use additional keys with landing tool:
Mouse wheel up/down - make platform wider or narrower (for 10 pixels).
Shift + wheel up/down - change platform size (with step 50 pixels).
Ctrl + wheel up/down - change platform size (with step 1 pixels).

*** - Use additional keys with rocket tool:
Mouse wheel up/down - rotate rocket angle (for 1 degree).
Shift + wheel up/down - rotate rocket angle (for 10 degrees).
Ctrl + wheel up/down - rotate rocket angle (for 0.1 degree).
Up - set rocket direction angle 90
Down - set rocket direction angle 270
Left - set rocket direction angle 180
Right - set rocket direction angle 0

Web page

Download lastest distributive
Download lastest jar
Github repo
Offline Cero
« Reply #1 - Posted 2012-07-09 12:47:00 »

I love lunar lander.

As a kid this game made me realize how difficult space travel and stuff must be x)

Finished it. Last Level was hard though =D
But I love a good challenge.


Sorry about the Fraps FPS =P

Its great and really shows how much game you can get without using much graphics.

Music is a little bit too loud, but other than that its great.

Offline dector

Senior Member


Medals: 3
Projects: 3



« Reply #2 - Posted 2012-07-09 13:42:41 »

Thanks for your reply! I like it Smiley

By the way, you can create your own levels. Create your level from one of default in data/levels/.
And don't forget to add it into data/levels/levelset.json file.

Edit map (x0, y0, x1, y1, ... , xn, yn terrain points), flag and land (x0, y0, x1, y1 from-to points, horisontal only yet) properties.

Good luck Smiley
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Cero
« Reply #3 - Posted 2012-07-09 21:48:15 »

If you write small simple map editor, I would.
Doing it in text is quite tedious =P

Offline dector

Senior Member


Medals: 3
Projects: 3



« Reply #4 - Posted 2012-07-09 21:55:36 »

Yep, I think level editor is good idea.

As Lunar Lander fun, have you other ideas about game? May be add fuel? May be make rocket smaller? Or create bigger maps and make camera movable (but I don't like this Smiley)?
Offline Cero
« Reply #5 - Posted 2012-07-09 23:09:54 »

try to find "Atari Classics Evolved" or videos of it. It has a remake of lunar lander which would give you A LOT of ideas.

Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #6 - Posted 2012-07-10 05:18:27 »

Ehm, I keep dying...
I land ever so gracefully on the platform with the flag, with as little force as I can (about 0.28), with an angle of 90.4, and it says I crashed. What am I doing wrong?

- Jonas
Offline dector

Senior Member


Medals: 3
Projects: 3



« Reply #7 - Posted 2012-07-10 06:52:23 »

Vx speed limit on landing: 0.15 0.20.
Vy speed limit on landing: 0.20 0.50.

Land it softly Smiley
Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #8 - Posted 2012-07-10 08:15:53 »

This is great, however a little bit difficult.

Offline dector

Senior Member


Medals: 3
Projects: 3



« Reply #9 - Posted 2012-07-10 09:39:55 »

May be you are right Smiley Vy bound now is 0.3 0.5. Download new MoonLander.jar here. Full game distributive is updated too.

Landing angle is 90 +/- 5 degrees.

Thanks for your comments.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #10 - Posted 2012-07-10 09:49:04 »

May be you are right Smiley Vy bound now is 0.3. Download new MoonLander.jar here. Full game distributive is updated too.

Landing angle is 90 +/- 5 degrees.

Thanks for your comments.

That sounds easier! I gave it a try again. Still crashed, under circumstances I thought were alright.
EDIT: I did exchange the .jar for the new one, by the way.

Offline dector

Senior Member


Medals: 3
Projects: 3



« Reply #11 - Posted 2012-07-10 09:59:48 »

Too big Vx speed Smiley
Try new jar from same link.

|Vx| <= 0.2
|Vy| <= 0.5


That's really easy Smiley
Offline ra4king

JGO Kernel


Medals: 345
Projects: 3
Exp: 5 years


I'm the King!


« Reply #12 - Posted 2012-07-10 11:20:00 »

I won!



IMHO, it should be:

|Vx| <= 0.2
Vy >= -0.5

EDIT: fixed typo Tongue

Offline dector

Senior Member


Medals: 3
Projects: 3



« Reply #13 - Posted 2012-07-10 11:29:42 »

Use abs (|x|), Luke  Grin
Offline Cero
« Reply #14 - Posted 2012-07-10 13:23:56 »

I just have to say to people who think this is difficult:
First thing I thought about this game while playing was "well its a little too easy"

real lunar lander kicks your ass.

Offline Nyhm

Senior Member


Medals: 3
Projects: 1


Island Forge


« Reply #15 - Posted 2012-07-10 13:44:28 »

Hurray - I won! Sadly, several crews were killed in the process. I love the last level starting position (no spoilers).

I'm always a sucker for a Lunar Lander style game. As I recall, in the original you also had to conserve thrust fuel, which was even more brutal. I always wanted to conserve fuel, so I'd have more on the next level, but I don't think it worked that way.

Your difficulty balance is good. Original Lunar Lander always made me walk away from the machine with disgust (after spending several quarters).

How about style points for not torching the flag?

Overall, your Moon Lander ran great, sounds good, and controls well. Thanks for posting it!

Island Forge: Create Islands with Stories for Others to Explore!
Free-to-Play with Membership and Upgrade options!
Offline dector

Senior Member


Medals: 3
Projects: 3



« Reply #16 - Posted 2012-07-10 13:53:43 »

Thanks for playing and commenting. Smiley
Offline Cero
« Reply #17 - Posted 2012-07-10 14:06:26 »

How about style points

yeah ;D
how about for each rotation you get some style points =D
certainly something that did never exist in any lunar lander, to my knowledge.

Offline dector

Senior Member


Medals: 3
Projects: 3



« Reply #18 - Posted 2012-07-10 14:35:24 »

Like this?  Grin
<a href="http://www.youtube.com/v/2y1gLuOu0Ic?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/2y1gLuOu0Ic?version=3&amp;hl=en_US&amp;start=</a>
Offline Cero
« Reply #19 - Posted 2012-07-10 14:37:09 »

yes !  =D

now do 3 rotations =D

Offline Nyhm

Senior Member


Medals: 3
Projects: 1


Island Forge


« Reply #20 - Posted 2012-07-10 14:52:39 »

Whoa! Nice maneuver.

Island Forge: Create Islands with Stories for Others to Explore!
Free-to-Play with Membership and Upgrade options!
Offline dector

Senior Member


Medals: 3
Projects: 3



« Reply #21 - Posted 2012-07-10 20:44:06 »

Editor added Smiley

Click to Play

Look at first post to read about using it.

File links are the same.
Offline Cero
« Reply #22 - Posted 2012-07-11 15:24:57 »

shift + e results in exception:

Quote
Exception in thread "LWJGL Application" java.lang.NullPointerException
        at ua.org.dector.moon_lander.models.Level.getRocketX(Level.java:83)
        at ua.org.dector.moon_lander.screens.EditorScreen.editLevel(EditorScreen.java:93)
        at ua.org.dector.moon_lander.screens.EditorScreen.<init>(EditorScreen.java:59)
        at ua.org.dector.moon_lander.LanderGame.openEditor(LanderGame.java:68)
        at ua.org.dector.moon_lander.screens.GameScreen.keyDown(GameScreen.java:200)
        at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:302)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:198)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:131)

Offline Cero
« Reply #23 - Posted 2012-07-11 15:37:18 »

you cannot save a map twice with the same name, overwriting doesnt work

here my first try to quickly make something annoying/hard =D
https://dl.dropbox.com/u/52666052/45fall_2.json

Offline dector

Senior Member


Medals: 3
Projects: 3



« Reply #24 - Posted 2012-07-11 22:07:04 »

Hello, thanks for bug tracking and sorry for delay.
Bug was fixed. And added requested feature.

If you already saved/loaded this level, you may save it with same name by pressing Ctrl+S. Without saving request. But be carefull. It will rewrite old file.

Note: Don't use ".json" in saving/loading level. Extension will be added automaticly.
Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #25 - Posted 2012-07-11 22:13:33 »

I just have to say to people who think this is difficult:
First thing I thought about this game while playing was "well its a little too easy"

real lunar lander kicks your ass.

Possible, but it does feel frustrating. I suggest implementing an easy way to see if you're good to land or not, and perhaps a meter for how close you are to that goal. Currently I can't really tell anything, other than looking how fast the ship is moving over my screen.

Offline Nyhm

Senior Member


Medals: 3
Projects: 1


Island Forge


« Reply #26 - Posted 2012-07-11 22:37:34 »

When making my approach to land, I tend to watch the angle of entry in the data feed (upper-left corner), as well as speed indicators -- just like in a real moon lander!

Island Forge: Create Islands with Stories for Others to Explore!
Free-to-Play with Membership and Upgrade options!
Offline SkyAphid
« Reply #27 - Posted 2012-07-11 23:36:15 »

I loved it Smiley

You could always make a map generator.

Just put the goal on the opposite side of the player, and distort the land in-between to reasonable lengths.

“Life is pretty simple: You do some stuff. Most fails. Some works. You do more of what works. If it works big, others quickly copy it. Then you do something else. The trick is the doing something else.” ~Leonardo da Vinci
Offline dector

Senior Member


Medals: 3
Projects: 3



« Reply #28 - Posted 2012-07-12 07:00:08 »

Thanks. But in near future I want to redesign application architecture and back it conceptual integrity.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Dwinin (21 views)
2014-09-12 09:08:26

Norakomi (55 views)
2014-09-10 13:57:51

TehJavaDev (65 views)
2014-09-10 06:39:09

Tekkerue (32 views)
2014-09-09 02:24:56

mitcheeb (54 views)
2014-09-08 06:06:29

BurntPizza (38 views)
2014-09-07 01:13:42

Longarmx (24 views)
2014-09-07 01:12:14

Longarmx (29 views)
2014-09-07 01:11:22

Longarmx (28 views)
2014-09-07 01:10:19

mitcheeb (36 views)
2014-09-04 23:08:59
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!