Anyone has an idea how I could draw a normal sprite completely white, WITHOUT doing any of these.
1.Adding more sprites
2.Using surface
3.Altering the sprite
Drawing a sprite completly white
Started by Liorana, Apr 26 2012 02:05 PM
5 replies to this topic
#1
Posted 26 April 2012 - 02:05 PM
#2
Posted 26 April 2012 - 02:15 PM
try
draw_sprite_ext(spr_Sprite, x, y, 1, 1, 0, make_color_rgb(255, 255, 255), 1)
#3
Posted 26 April 2012 - 02:29 PM
did you actually ever used game maker before?try
draw_sprite_ext(spr_Sprite, x, y, 1, 1, 0, make_color_rgb(255, 255, 255), 1)
Edited by Liorana, 26 April 2012 - 02:34 PM.
#4
Posted 26 April 2012 - 02:36 PM
Use the d3d fog functions like this :
Hope that helps!
d3d_set_fog(true,c_white,0,0); draw_sprite(sprite_index,image_index,x,y); d3d_set_fog(false,c_black,0,0);
Hope that helps!
#5
Posted 26 April 2012 - 02:43 PM
ah... didnt know about that. Is it safe, I mean is it a quick function?Use the d3d fog functions like this :
d3d_set_fog(true,c_white,0,0); draw_sprite(sprite_index,image_index,x,y); d3d_set_fog(false,c_black,0,0);
Hope that helps!
I want to use that whenever a monster get hit.
#6
Posted 26 April 2012 - 03:47 PM
It is very quick and quite allright to use (as long as you have standard as it's not a Lite friendly function).
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











