PDA

View Full Version : menu gui



ian2k6
01-25-2004, 06:17 PM
hi all
just wondering if anyone can help me i just want to know how to make a menu interface type for a smalkl game i am making for me and my friends.basically new game load game ect...
thanks http://www.opengl.org/discussion_boards/ubb/smile.gif
ian2k6@hotmail.com

JanHH
01-26-2004, 05:49 AM
You need a gui library, and which one is best for your needs depends on what you want to do and what operating system you are using.

A very simple one is included with glut, on windows, mfc is the standard, on linux it's motif, and a newer one that runs on linux and windows ist QT, although the windows version is not for free.

Jan

nexusone
01-26-2004, 06:51 AM
You are talking about having these options located in the center of the screen like many other 3D games?

You can ether just draw text to the screen or use a predrawn image with the options.

Then just read the mouse input and based on the location clicked on is the option selected.

To give more details would have to know what OS and language you are using.



Originally posted by ian2k6:
hi all
just wondering if anyone can help me i just want to know how to make a menu interface type for a smalkl game i am making for me and my friends.basically new game load game ect...
thanks http://www.opengl.org/discussion_boards/ubb/smile.gif
ian2k6@hotmail.com