Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Pedro_A

[java] Java game and also a doubt

This topic is 6178 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Starting with the first part of the subject... sometime ago I wrote here a message asking for artists to join a game a friend and I were programming... didn''t got any... anyway, some people who took a peek at the screenshots asked me to release it on the net once I had finished it. Since this was a project for one of my University classes, I had to wait until the grade was released to place it on the net... in the middle, some stuff happened so I had to delay it even more... anyway... I''ve decided to release it now . Although I would have enjoyed to see it with original artwork and music, it wasn''t possible. The game concept isn''t also all that amazing, but it was something handed down to us, we simply had to implement it. It''s a rather simple 2D Java-based scroller and it''s probably somewhat boring to play but... since I had said I''d place it on the net, I''m placing it on the net . You can get it at http://student.dei.uc.pt/~pamaro/caverna.zip (check the readme.txt file for details on how to run it). Now, on to the second part of my doubt... this is a rather stupid one and everybody out there who knows the answer will probably laugh at me... but... how do I turn a program into an executable JAR? The demos bundled with JDK are executable but I can''t build anything like that. I checked the options of my IDE (Kawa), ran through some Java tutorials, read some books... but didn''t find how to do it... anyone can give me a little hand on this? Well, that pretty much settles it. Hope someone out there enjoys the game (as if that was possible ). And keep doing some Java programming! Pedro Amaro http://rpgchannel.xrs.net http://go.to/smeeks

Share this post


Link to post
Share on other sites
Advertisement
You meed a Manifest file with a Main-Class:

Then use the command line jar builder with the manifest file option. If you email me a note at eric at snowmoon dotcom I can send you a hello world demo that shows how to do it including the batch file to build it.

Share this post


Link to post
Share on other sites
Thanks, I''ll check out the HTML file and see if I can do it.
As for the other reply that mentioned the source code... the project isn''t open source... some of the algorythms I use there will be used in another game I''m currently planning (a vertical scrolling shooter, in the line of Raptor or Tyrian)... besides, there''s another person working with me... I couldn''t freely distribute the source code unless he wanted to . Hmmm... but it may be a possibility for the future... the source is currently commented in Portuguese but, if I get the time to translate the comments to English, write a couple of text files about it, finish my other game and convince my partner to release the code... it might turn out to be a nice tutorial . Not an amazing one, but it might help some people... oh well... I''ll think about it later .
Anyway... at the moment, only the game itself is available... if you want to play it, go ahead . Just send me some comments or feedback about things I could improve (since some of the experience gained in this game will be used on my next one, comments and suggestions are appreciated ). As I said in my previous post, you can get it at http://student.dei.uc.pt/~pamaro/caverna.zip (the zip also contains a readme.txt file with some information about the game).

Pedro Amaro
http://rpgchannel.xrs.net
http://go.to/smeeks


Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!