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 / inventory skills health ext.

Author
Message
spiffy
18
Years of Service
User Offline
Joined: 3rd Jan 2006
Location: why r u askin
Posted: 15th May 2006 23:04
if your playing an rpg you get a inventory box on your screen you also have a skills and health box how do you make these boxs if tried the command

but the 3d program goes over it or its not being made
and i will also want to write stuff like \" health \",\" attack \",\" defence \" ext. if any one would i like to help i will much appreciate it
Spiffy

Panda lover
18
Years of Service
User Offline
Joined: 22nd Feb 2006
Location:
Posted: 15th May 2006 23:07
What your saying isn't too clear but you can always try the draw to front command which will put anything 2d in front of anthign thats 3d and vice versa with draw to back
spiffy
18
Years of Service
User Offline
Joined: 3rd Jan 2006
Location: why r u askin
Posted: 15th May 2006 23:11
thanks for the help but it hasn't realy worked

Panda lover
18
Years of Service
User Offline
Joined: 22nd Feb 2006
Location:
Posted: 15th May 2006 23:13
lol wasn't sure if it would i know there is a way of doing it bcause i once done it... have you looked in codebase for any ideas on how to code it?
spiffy
18
Years of Service
User Offline
Joined: 3rd Jan 2006
Location: why r u askin
Posted: 15th May 2006 23:32
ill look now thanks

Bahamut
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Brighton
Posted: 16th May 2006 00:10 Edited at: 16th May 2006 00:30
I'm not sure what you really want to do. Do you wan't to display text on top of 3D, or just make an ingame menu/status screen?

Either way, I'd use a textured plain. The method I use is (not in code, or in definite order)

make plain
hide plain
Create Bitmap
Commands to show text, pics etc.
get image
delete bitmap
texture plain with image
when you press the button to bring up the status screen, show plain.

If you want to make the status screen interactive, put all the commands in a loop (except the make plain, hide plain), and assign conrols to the bitmap making stage. I use an if..then statement so the controls only work when the plain is shown. The texture should then update with each command you do.

There are probably better, faster ways of doing it, but I've never had any issues doing it this way before.

IceBound -No, really-We're quite good.
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 16th May 2006 09:09
I believe all the 2D commands will display over top of any text or 3D objects.


Mr X
18
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 16th May 2006 19:09
I never had any problems with 2d over 3d, and Ive used the "box" command. Its propobly the code itself that does so the 2d isnt seen.

Login to post a reply

Server time is: 2024-09-24 23:31:29
Your offset time is: 2024-09-24 23:31:29