Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Remember me

Go Back   Tutorialized ForumsWeb Design & DevelopmentJava

Add This Thread To:   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
Unread Tutorialized Forums Sponsor:
Old December 10th, 2011, 03:22 PM
Kivihirvio Kivihirvio is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
Join Date: Dec 2011
Posts: 1 Kivihirvio User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 13 sec
Reputation Power: 0
Java menu

Okay, so i have made a game, but I don't like it starting immediately after i open it. So i would like to make a menu, with couple buttons in it. How can i make it, and how can i make it to open before anything else?
I have 7 classes, Craft(it means spaceship), Enemyship, Missile, Craft2, SpaceDodge, Values and Window class. Craft and craft 2 are just the players, missile is the missile players can shoot, enemy ship is the enemy(surprise?). SpaceDodge is the window where you can play the game and it makes the window size 400, 300, setDefaultCloseOperation, etc. Window class draws all the images. And I have Values class. It just makes couple variables, and Window and Craft classes extends it. So, how can I make a menu? And sorry, I'm kinda beginner to java games.

Another problem. How can i convert this to a file that can be played without having to open eclipse.(jar file or anything that can be played) I'm using Eclipse. I tried export but there comes and error, "A Java Exception has occurred". Should i use runnable jar file? If i do, what is the differences of these?

And my third problem is, when the i die, it shows String msg. I would like to make a possibility to restart the program by pressing R button.

Thanks for help, tell if i need to show any line of codes.

Last edited by Kivihirvio : December 11th, 2011 at 01:36 PM.

Reply With Quote

Viewing: Tutorialized ForumsWeb Design & DevelopmentJava > Java menu

Developer Shed Advertisers and Affiliates

Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.

© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap