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 / Ignoring background

Author
Message
MaestroS
17
Years of Service
User Offline
Joined: 15th Sep 2007
Location:
Posted: 3rd Oct 2007 18:47
For example I have a character in *.bmp - but it has always pink background (as most BMPs used in games) - How do I ignore this background, and display only character ?

The future belongs to those who believe in the beauty of their dreams

E. Roosevelt
Bozzy
18
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 3rd Oct 2007 21:03
You can use the:

Set Image Colorkey redvalue,greenvalue,bluevalue

Command

E.G.

Set Image Colourkey RGB(123,123,123) for a coloru I dont have a clue what it is, but you would change the colours to the pink colour that you want to exclude

"I'm a firm believer that if a team scores one goal, then the other has to score two to win."
MaestroS
17
Years of Service
User Offline
Joined: 15th Sep 2007
Location:
Posted: 4th Oct 2007 20:09
Look.
I have this code



But I got this result:


It shouldn't look like that.
Image background should be black T.T

How to do it ?

The future belongs to those who believe in the beauty of their dreams

E. Roosevelt
MaestroS
17
Years of Service
User Offline
Joined: 15th Sep 2007
Location:
Posted: 5th Oct 2007 16:10
#refreshing

The future belongs to those who believe in the beauty of their dreams

E. Roosevelt
DB PROgrammer
17
Years of Service
User Offline
Joined: 9th Feb 2007
Location: Nowhere But Everywhere
Posted: 9th Oct 2007 18:46
Try this.



I haven't tested it but it should work.

Hope I helped!

I keep runing nowhere fast!

Login to post a reply

Server time is: 2024-11-25 12:46:21
Your offset time is: 2024-11-25 12:46:21