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 / Text on top of textures

Author
Message
CraigPK
18
Years of Service
User Offline
Joined: 14th Mar 2007
Location:
Posted: 14th Mar 2007 17:59
I'm developing a game and have a bitmap image textured on a plain for my sky. I'm trying to get a text timer to show up on the HUD using set cursor 15,20 and print a (my timer variable). However, I can't get the text to display. I can get it to work in a sample program that doesn't have any textured plain. It seems like maybe the text is displaying behind the texture, but I'm not sure, and I don't know if there is a way to "bring it forward."

Many Thanks in Advance!

-- Craig
Clackersmith
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location:
Posted: 15th Mar 2007 03:08 Edited at: 15th Mar 2007 03:13
Try

Quote: "DRAW TO FRONT
This command will ensure all 2D activities such as drawing text, images and bitmaps are performed after the 3D has rendered, allowing
you to overlap the screen with 2D content. This is the default behaviour.

SYNTAX
DRAW TO FRONT"


The inadequacies of human cognitive ability are cause for the imperfection of reality.

Login to post a reply

Server time is: 2025-05-29 03:55:31
Your offset time is: 2025-05-29 03:55:31