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 / [C++ FUNCTION] Selective Violet Color Change

Author
Message
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 6th Jul 2013 17:22 Edited at: 6th Jul 2013 18:10
Hi all,

i wanna share this function i done in c++ with all the users need to change the VIOLET color to another one to change the clothes or the skin sprite or what you need.
It work also with antialiasing and gradient.
All you need is to give to a part of the sprite the violet color (255, 0, 255) or a gradient with it in.

Feel free to modify it and make it better, but publish it below!



I done it fast but please if you found a better way, with a special formula, post it.
Thx.

Long life to Steve!
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 6th Jul 2013 17:26
Umm, you forget something mate?

xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 6th Jul 2013 17:31
I'm completing the post... wait...

Long life to Steve!
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 6th Jul 2013 18:08
Updated first post!!
Help use to improve it!

Long life to Steve!

Login to post a reply

Server time is: 2024-05-03 19:24:11
Your offset time is: 2024-05-03 19:24:11