EntityColor (white color)

Blitz3D Forums/Blitz3D Beginners Area/EntityColor (white color)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

thx it works.

Below a white flash FX:
Global ENEMY_NOT_COLORED = GetEntityBrush(e)
Global ENEMY_COLORED     = LoadAnimTexture( "gradient_white_2_black.png",1,1,1,0,5 )
TextureBlend ENEMY_COLORED,3

For frame=0 to 4
	EntityTexture e,ENEMY_COLORED,frame,1
next
PaintEntity e,ENEMY_NOT_COLORED