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 / dbMakeImageFromMemblock() and color key problem

Author
Message
Orac
18
Years of Service
User Offline
Joined: 16th May 2006
Location: Billingham
Posted: 28th Jan 2009 12:20
Hi, it's me again.

I'm having a problem with dbMakeImageFromMemblock() and using a color key. Basically, if an image is created by using this function, the dbSetImageColorKey() function doesn't seem to work. The code below generates an image which is a white box with a grey bar across it. The color key is set to grey but when the sprite is displayed, so is the grey bar where I was expecting to see the background.



Any thoughts on this?

Of all the things I've lost .. I miss my marbles most of all.

Login to post a reply

Server time is: 2024-09-30 17:34:57
Your offset time is: 2024-09-30 17:34:57