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 / placing bitmaps on the screen

Author
Message
Kivu_Rako
20
Years of Service
User Offline
Joined: 10th May 2004
Location:
Posted: 11th Jun 2004 03:45
okay, if i use:
"load bitmap "bitmap.bmp""
the bitmap will show up on the screen
but if i want to change it, i have to give it a #, but as soon as i give it a number it will not show up on the screen. so i cannot fade bitmap or anything and its stupid
i am using dbc
i also want to know, if i figure this out which i hope i will , how do i put a bitmap where i want it on the screen, rather than just putting the tl in the tl of the screen?
thx for the help im sure you guys or gals will give me,
outz
-Kivu Rako

"geez, its probably a noobish mistake too!"
Errie
21
Years of Service
User Offline
Joined: 6th Nov 2002
Location: NW England
Posted: 11th Jun 2004 15:20
This is how I'd do it:



Load the bitmap using a number and then use 'Set Current Bitmap' to select it. Copy the bitmap to an Image by using 'Get Image' and then using a Sprite to put it where you like on the screen.

To fade the bitmap, simply do the operation to the bitmap and then once again copy the bitmap to the Image.

Login to post a reply

Server time is: 2024-09-22 12:38:52
Your offset time is: 2024-09-22 12:38:52