Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / What is the best way to create windows with menues in the game?

Author
Message
MxM111
15
Years of Service
User Offline
Joined: 3rd Oct 2009
Location:
Posted: 3rd Oct 2009 08:20
Hello.

I was just wandering what is the easiest way to create windows and menus in the game. Like those to select level, or in strategy game when you click on unit that some pop-up window would show showing things like health, and allowing the user to adjust some things with sliders, numerical inputs etc...

I kins of do not want to create all these classes and libraries just for the prototyping. Is there an easy way?
Isocadia
15
Years of Service
User Offline
Joined: 24th Jul 2009
Location:
Posted: 3rd Oct 2009 09:38
Well, for the menu's, just draw them in photoshop or gimp. Next load them into your game as sprites and place then. Then you can use sprite collision form GDK and make an if statement with it.

Hope this helps.

Isocadia
MxM111
15
Years of Service
User Offline
Joined: 3rd Oct 2009
Location:
Posted: 3rd Oct 2009 22:10
I was asking about some kind of library function or something, similar like MSDN dialogs and windows are designed. May be there is a way to add MS forms? It would be convenient to use visual tools that are already in VC++ to design windows and dialogs. Is there a way?
When I was trying to simply add new MS form, it gave me some kind of error. So is there any other way?
Gould660
15
Years of Service
User Offline
Joined: 12th May 2009
Location:
Posted: 4th Oct 2009 07:02
You could make the windows with Vc and the just run a shell execute of the game
SFCBias
15
Years of Service
User Offline
Joined: 8th Aug 2009
Location: Hephzibah, GA, USA
Posted: 4th Oct 2009 07:19 Edited at: 4th Oct 2009 20:37
http://forum.thegamecreators.com/?m=forum_view&t=158074&b=22&msg=1857330#m1857330

This will handle the buttons themselves
After you use this ^^^ you could add a background from photoshop

if you need help using it ill be happy to help

Login to post a reply

Server time is: 2024-11-20 13:30:19
Your offset time is: 2024-11-20 13:30:19