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 / Getting text to show up when a backdrop is on in DBPro.

Author
Message
Samji
18
Years of Service
User Offline
Joined: 19th May 2006
Location: UK
Posted: 19th May 2006 18:51
Hello, everyone.

I recently bought DarkBASIC Professional after trying the trial and I have to say its pretty good.

But I have a question, if you set a backdrop colour in your program; how can you then get text using the text or print command to show up. I have tried setting the ink color to black on my background but it doesn't work. Am I missing something. Here's my program:



Thank you kindly in advance.

Samji
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 19th May 2006 20:36
Where is your program?

Anyway, in answer to your question, if you need 3D and/or sprites with text at the same time in your program, then you have to take control of when DBPro shows you what it's done.



For free Plug-ins and source code http://www.matrix1.demon.co.uk
Samji
18
Years of Service
User Offline
Joined: 19th May 2006
Location: UK
Posted: 19th May 2006 23:52
Thanks. Here's the source code for what I have done.

Its a presentation, so I want everytime I press a key for it to move forward a 'slide' so I can't use the do loop like that. How can I add text over a backdrop then?

Thanks again.

Samji

Login to post a reply

Server time is: 2024-11-27 19:48:10
Your offset time is: 2024-11-27 19:48:10