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.

2D All the way! / show a bitmap with text on top of it

Author
Message
Cybermind
Valued Member
22
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 29th Apr 2005 18:56
I want to show a bitmap and have text written on top of it. If I use the CLS command, the bitmap disappears, even though I put the SET CURRENT BITMAP 0 after the CLS and before SYNC. And if I load the bitmap as 1 and SET CURRENT BITMAP 1, DBPRO makes a crash.
D Ogre
21
Years of Service
User Offline
Joined: 19th Nov 2003
Location:
Posted: 2nd May 2005 01:41 Edited at: 2nd May 2005 01:42
I am not sure why your having problems with DBPro crashing. It could be any number of things. I can't diagnose this for you at this point.

Below are some ways you may use to approach your bitmap/text problem...


Example 1: Using Bitmap 0 outside of a loop


Example 2: Using bitmap 1 copied to screen (bitmap 0) in a loop


Example 3: Using paste image in a loop
Cybermind
Valued Member
22
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 17th May 2005 19:51 Edited at: 17th May 2005 19:53
I updated DBPRO and now it works fine (I paste the big bitmap by the way, and use sprites for smaller and repetetive images)

Login to post a reply

Server time is: 2025-05-18 06:22:54
Your offset time is: 2025-05-18 06:22:54