Jump to content
  • Advertisement

Archived

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

Luke1

Game Menu's

This topic is 5614 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

Whats the best way to make a main menu for a game ? new .exe ? new window ? any ideas ?

Share this post


Link to post
Share on other sites
Advertisement
Most games probably have the menu as part of the same executable. This is better, but may be harder to code. You could do it with seperate executables, having the menu open the game and pass in parameters, but you''d wanna make sure there remains as constant an environment as possble, ie. no dropping to desktop temporarily. Your choice!

Share this post


Link to post
Share on other sites
Its really not that hard to make your own menu system. A menu works in 2d coordinates, so its easy as hell to do collision (mouse button press, mouse over button, etc..) and other menu related coding...

A good start is to make a base class for all your menu elements, think of what all menu elements have in common (buttons, images, listbox, textbox, radio button, etc...)

then just derive a class for each of these and add object-specific code.

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!