Advertisement

I need a MENU SCREEN Tutorial..

Started by January 26, 2003 03:15 PM
4 comments, last by Zapp 22 years, 1 month ago
I need a tutorial on how to make the Main Menu for a game..I made a small pacman game and it needs a main menu can anyone help?
:)
I''m doing a similar thing at the moment. I didn''t find any tutorials, but here''s some pointers: A Cursor can be drawing quite simply by placing a textured quad centered over the mouse'' X/Y position (drawn in 2D). Buttons can be handled quite effectively with standard selection/picking, and the WM_LBUTTONDOWN message.

I''ve been also trying to have TextAreas too, so as to enter player names, and I can capture text from WM_CHAR messages (using a hairy combo of sprintf and strcat), but the speed is too fast - I end up with aaaaabbbbbccccc when all I wanted was abc. Anyone got around this?

Something I didn''t look into (because I have a deadline coming soon) is the OpenGL GUI projects like GLUI et al. Their source might give you further clues.
Advertisement
gamedev have a pretty hefty set of gui tutorials. Find them in the articles and resources section.
Just note they go pretty in depth. and use D3D not GL.

| - Project-X - my mega project.. big things comming soon - | - adDeath - an ad blocker I made - | - email me - |
Nah, I like Gl...I dont know why...
:)
Nah, I like Gl...I dont know why...
:)
The same concepts in D3D apply in OpenGL, hence why he suggested you might use them.

This topic is closed to new replies.

Advertisement