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.

AppGameKit Classic Chat / GetImage and DrawBox

Author
Message
basjak
14
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 15th Feb 2015 13:40
I Create 4 colours blue, yellow, green, red then made 4 boxes to get 4 colours image but it seems that only the blue colour gets accepted and no other one.



BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 15th Feb 2015 15:05
In your function _Sprite, this line...

SetSpriteColor(num, Cr, Cg, Cb, Ca)

...affects all of your colours except blue. Without this line, it works ok.

Quidquid latine dictum sit, altum sonatur
basjak
14
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 15th Feb 2015 15:15
Oops didn't notice. Or set it to 255,255,255

Thanks

Login to post a reply

Server time is: 2024-11-25 18:04:06
Your offset time is: 2024-11-25 18:04:06