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.

DarkBASIC Discussion / making 2d infront of 3d

Author
Message
DaedalusX
21
Years of Service
User Offline
Joined: 10th Mar 2004
Location:
Posted: 8th Jun 2004 14:33
im trying to make a speech box come up and ive done that in 2d and im trying to get it to the front of the screen as the matrix just goes on top. can this be done?
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 8th Jun 2004 15:52
Sure can, all you need is one command, which you put in before you enter your main loop. That command is:

Draw To Front

Hope I Helped.
Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
DaedalusX
21
Years of Service
User Offline
Joined: 10th Mar 2004
Location:
Posted: 9th Jun 2004 00:20
yea it worked thank, but...now it overwrites the 3d owell probs something ive done wrong unless otherwise is known ....
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 9th Jun 2004 09:25
If you're trying to put text over the 3D, and you're getting a black "box" behind the text, use the
Set Text Transparent
command to fix that.

If it's that you can only see the 2D now, and the 3D seems to be "blacked" out. Then, you're using a Cls statement, when you don't need it.
If you have any Cls statements in your code, remove them, and you'll be able to see it all properly.

Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy

Login to post a reply

Server time is: 2025-05-25 10:50:36
Your offset time is: 2025-05-25 10:50:36