Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  How to make a menu???  (Read 388 times)
0 Members and 1 Guest are viewing this topic.
Offline WolfAlvein

JGO n00b
*

Posts: 10



« on: 2012-01-29 11:48:09 »



Ok so like the topic reads I would love to learn how to make menu's for my game at least so i can start with that...

I wich to make a menu something like the Megaman X Maverick hunter for the psp is there anything you ways could tell me to read that could help me do it?Huh
and I would really love to do 1 minute timeout to show a video of the game, like almost every game has when you just wait a little in the menu without doing anything of course I'll leave this for way later but I would like to have a reply here so I can check it up when I'm ready for such an implementation...

Thanks.
Offline SkyAphid

Full Member
**

Posts: 155
Medals: 1



« Reply #1 on: 2012-01-29 15:40:03 »

Well, first of all, try to use more grammar so it's easier to understand what you're saying.

Anyway, I can attempt to help you. You mean a start menu right? Can you be more specific about what you want?

"God grant me the serenity, to accept the things I cannot change; courage to change the things I can; and wisdom to know the difference."
Online Cero

JGO Neuromancer
****

Posts: 1050
Medals: 18



« Reply #2 on: 2012-01-29 16:42:25 »

1 minute timeout to show a video of the game

every game has (or should have) videos
developer logo video, publisher logo video
Intro
Cutscenes
and more

but it seems that currently there is no real easy solution for playing video, see other threads about video playback
its a sad story

Games published by our own members! Go get 'em!
Offline ReBirth

JGO Wizard
****

Posts: 1275
Medals: 19



« Reply #3 on: 2012-01-29 18:46:40 »

State machine, each state knows what they do have, have to update and have to draw.

Offline dezzroy

JGO n00b
*

Posts: 15



« Reply #4 on: 2012-01-30 00:19:29 »

I'm not familiar with the mega man game, so I have no advice on how to make that menu.

However, with a "demo", like ReBirth said, you make the game have states.

One state would be the menu--it listens for user input, and if no input is received in a certain time limit, the state changes to the play demo state.

play demo state: plays the game normally, but with a script or AI or something to control the player's character. If any user input or timeout, change state to menu state.

Of course, this all implies there are two states for game play: normal, where the user controls the character, and demo, where the computer controls the character. So, you can use the same code for gameplay and demo states, but have player/computer control character controlled by what state the program is in.
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.102 seconds with 20 queries.