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 / Colors not compiled according to typical usage?

Author
Message
Jerry McGuire
7
Years of Service
User Offline
Joined: 25th Mar 2017
Location:
Posted: 1st May 2017 23:57
Hi,
I have done some testing, and it seems that (at least for the DrawBox function) the integers employed for color do not follow the convention that a color is 0x?? ?? ?? , where the first pair ?? stands for Red, the second for Green, and the third for Blue.
I get that the colors are coded as Blue than Green and then Red.
Am I missing something?

Thanks for your answer
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 2nd May 2017 01:07
It's probably the way AppGameKit accesses word order in integers. If you use MakeColor() you can avoid that

Login to post a reply

Server time is: 2024-09-30 03:32:08
Your offset time is: 2024-09-30 03:32:08