Multiple menu's in game
Hi,
I wondered how to best implement different menu''s in a DX game ?
Fe. : main menu, sound/graphics, ... each with submenu''s.
Do you implement something like :
in your main loop :
if (bGameStarted) ....
else if (bMainMenu) ....
else if (bGraphicsMenu) ...
each with calls to drawing routines
And the same choices when key_events are processed ?
Does anybody have a short but complete enough example of such code ?
ciao,
Geert
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement