Archived

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

The-Guy

Game Menu's

Recommended Posts

Well...the choices you have depend on what you''re using to make your game. If you''re using the Win32 API, programming with Windows, you can have your menu at the top of the window, with a menu bar. If you''re using DirectX or anything in fullscreen mode, you should probably make a separate section in your program to display menu graphics on the screen, and interpret keypresses for navigation in the menus.

Twilight Dragon
Win32 API Expert
www.freewebz.com/j-world

Share this post


Link to post
Share on other sites
In my Pong game, I just draw a menu to the screen using text and a textured quad for the logo. Then, a draw a little "cursor" (circle) to show which option is currently selected. When enter is pressed, I check to see what position the cursor is at and then I do the appropriate action. If up or down is pressed, I change the position of the cursor.

Now, this is an extremely simple solution. Easy enough to implement, though it gets harder as you add sub-menus, and it would take some extra work to make it look "professional."

Share this post


Link to post
Share on other sites