Jump to content
  • Advertisement


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


Lil' Game Progin' GUI Question ....

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

Hey, I''m almost done the basic map engine for my DX7 DDRAW RPG I''m just curious as to how to implement a character equip screen ala Diablo style...any help? I know I can use an array of say 5x3 which can hold the items...but I''m more interested in how to do the windows, and trap clicks in them, move them, etc Thanks, - Derek

Share this post

Link to post
Share on other sites
I''ve never played Diablo, so I''m not sure what the menu system''s like, but it sounds like you just need to learn Win32. I don''t know much about it myself, so I can''t give you any advice, but msdn.microsoft.com most likely has plenty of info on it.


DK Art (my site, which has little programming-related stuff on it, but you should go anyway^_^)

"I'm dropping like flies!" - me, playing Super Smash Bros. (and losing)
"What fun!" - me, playing Super Smash Bros. (and beating the crap out of somebody)

Share this post

Link to post
Share on other sites
Make a class, call it CInterface, for example.
This class will handle your lovely GUI
It''ll draw the UI whenever needed, and will do whatever needs to be done when you click on something, for example
There''s alot of ways to do this, you can catch the clicks in your mouse with a function you''ll call Process_Mouse(); or something similar.
This function will be able to tell if the mouse moves-over one of the menus/clicks on it.
As for the windows, you could make each one of them seperatly (in PSP/Photoshop/whatever) and then draw them.

- Goblineye Entertainment
The road to success is always under construction

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!