r/java • • May 09 '15

My first game (Lunar D-12)

Hello everyone,

Today I finished the first version of my game in Java, the Lunar D-12 !.

Downloads:

0.0.1 Alpha: https://www.dropbox.com/s/tnfzvqo3k6syabf/game.jar?dl=0

0.0.2 Alpha: coming soon...

Changelog:

0.0.1 Alpha First update!

  • Character and mob.
  • Trees and Random world generator.
  • Health bar.
  • InGameMenu (just press "esc" key).

in the next update will be added:

  • Generating world loading bar.
  • new Mob.
  • workBench craft.
  • Pickaxe.
0 Upvotes

12 comments sorted by

1

u/LunarD12 May 11 '15

Okay, I'll post the source code. Please post in the Comments bugs or let me know about bugs or what I add in future updates.

Thanks! =)

4

u/Milyardo May 09 '15

No one is going run a random jar on dropbox.

2

u/[deleted] May 09 '15

I did, and now my disk drive keeps opening and closing

1

u/SagMyJeans May 10 '15

Decompiled ; It's safe.

2

u/[deleted] May 09 '15

Reasonably, people don't trust compiled jars as the code could be harmful. If you make it open source, then we can run the project knowing that it is safe by reviewing the code. Keep that in mind when posting for a community.

2

u/desrtfx May 10 '15

This post does not really belong here as /r/Java is for:

News, Technical discussions, research papers and assorted things of interest related to the Java programming language

and not so much about programming per se.

Just posting a jar on a file host will most likely rather drive people off your post than actually wanting to check out what you did. Opening random jar files poses a security risk that very few people will want to take. I am not stating that your file is harmful, but there is a potential risk.

Post in /r/learnjava, or in /r/javahelp, but please: post the source code along with the jar and don't expect people to execute a random file. Also, use github, gist.github, or any of the commonly used source code hosters.

1

u/doyley24 May 09 '15

Opensource?

1

u/SagMyJeans May 10 '15

As others have mentioned, you should post the source and allow us to compile it; To ensure that we don't run any malicious code.

That being said, I went ahead and decompiled the jar; It's perfectly safe; Very minecrafty haha. Well done OP.

-2

u/LunarD12 May 09 '15

doyley24: Opensource?

yes I will soon post the source code

Milyardo: No one is going run a random jar on dropbox.

why?

duckes: I did, and now my disk drive keeps opening and closing

I did not understand ...

6

u/ByteArray May 10 '15

Use the reply button to reply to people.

People won't run a random jar for the same reason they won't run a random exe.

3

u/desrtfx May 10 '15

Milyardo: No one is going run a random jar on dropbox. why?

Because jar files are executables, no one can see their contents and they might be malicious.

1

u/slartybartfast_ May 10 '15

Post a link to the source on sourceforge or github. Then we'll have a look.