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.

Newcomers DBPro Corner / Using BlueGUI v2 windows

Author
Message
neilo20
16
Years of Service
User Offline
Joined: 25th Jul 2008
Location: UK
Posted: 30th Jul 2008 10:57
hi ive searched the forums but not been able to find what I need.
Im making a game that I want to be able to open an rpg type equipment screen.
im using bluegui to create a 2nd window that toggles visible on/off with a button. the proplem i have is i do not know how to add any content to the 2nd window. for example graphics and health status etc

I would really be thankful of some help
Nano brain
16
Years of Service
User Offline
Joined: 7th May 2008
Location:
Posted: 31st Jul 2008 01:26
To create something inside a window you have created, using bluegui commands, simply place that window's handlevariable in the parent feild of the blue gui command's perimiter field.

EX:


Hope this is what you were asking for.
Ian G
16
Years of Service
User Offline
Joined: 3rd Jun 2008
Location: SSM, Canada
Posted: 31st Jul 2008 03:20
Just to clarify a bit more, you can't draw in BlueGUI windows with the standard DBP commands (as far as I know), you have to use windows gadgets instead. For example, you can use label gadgets to display text or static images on another window.

Ex: For a health bar, make a panel, colour it and resize for correct amount.


And you can use buttons with setButtonImage to create things such as inventory selection.
neilo20
16
Years of Service
User Offline
Joined: 25th Jul 2008
Location: UK
Posted: 1st Aug 2008 11:00
thank you both, thats helped alot

Login to post a reply

Server time is: 2024-11-24 23:07:23
Your offset time is: 2024-11-24 23:07:23