How do i add a start menu page to my java game?

Posted by user2149407 on Game Development See other posts from Game Development or by user2149407
Published on 2014-05-29T16:53:02Z Indexed on 2014/05/31 10:00 UTC
Read the original article Hit count: 172

Filed under:
|
|
|
|

I have a rather cool space invaders game that my friend and I have been working on for a while, and we have decided it needs an opening page, with "Start" options, "Quit" options and so forth. I have looked at several methods online, but cant seem to get any of them to work! Does anybody have any ideas?

P.S Using JFrame to draw the main frame

Im just looking to do this within Java, so just a panel that appears at a state change (GAME, MENU). Id like it to contain a few buttons to start the game, and quit. Later, I will add achievements, but im after something really basic for now. But thanks for the suggestions!

© Game Development or respective owner

Related posts about java

Related posts about graphics