is there any code that can replace sprites colors?
I want to replace the color pink with the color yellow using code.
replace a color with code?
Started by cristiander, Nov 06 2010 02:27 PM
2 replies to this topic
#1
Posted 06 November 2010 - 02:27 PM
#2
Posted 06 November 2010 - 02:47 PM
From Game Maker help:
So in the draw event:
Edit: This requires pro version.
draw_sprite_ext(sprite,subimg,x,y,xscale,yscale,rot,color,alpha)
So in the draw event:
draw_sprite_ext(sprite_index,image_index,x,y,1,1,0,c_yellow,1);
Edit: This requires pro version.
Edited by loverock125, 06 November 2010 - 02:49 PM.
#3
Posted 06 November 2010 - 05:51 PM
ok thanks
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











