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.

Dark GDK / dbFadeBitmap not working

Author
Message
Xzod
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 22nd Jan 2009 00:51
hi

i\'m trying to use dbFadeBitmap but it seems not to work,

code:
dbLoadBitmap ( \"picture.png\" , 0 );
dbFadeBitmap (0, 0);

this is suposed to turn picture to black (0 = black) but picture do not change and still visible.
how to solve the issue ?

thanks
CheatCat
17
Years of Service
User Offline
Joined: 7th Mar 2007
Location: Sweden
Posted: 22nd Jan 2009 10:44
Well, it works for me anyways. You can delete the bitmap if you don't want to see it.
Xzod
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 22nd Jan 2009 15:18
that's strange !
in fact i don't want to delete the bitmap, i want to fade in or/and out it
so the screen is black, bitmap fade out and show up, when user do an action, the bitmap fade in back to black, etc etc.

maybe this code is not enough ?
Xzod
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 27th Jan 2009 15:48
can someone help please

and show a demo code of how to use this dbFadeBitmap() call, i'm still not able to make it come to work

thanks

Login to post a reply

Server time is: 2024-09-30 15:25:36
Your offset time is: 2024-09-30 15:25:36