User Tools

Site Tools


en:examples:fx:colorize_object_with_color_fx

Colorize an Object with Color FX

Code

orxObject_CreateFromConfig("Object");

Config

[Object]
Graphic         = Graphic
FXList		= ColorizeFX
 
[Graphic]
Texture       = mushroom.png
Pivot         = center
 
[ColorizeFX]
SlotList = ColorizeFXSlot
Loop     = true
 
[ColorizeFXSlot]
Type		= color
StartTime	= 0
EndTime		= 2
Curve		= sine
StartValue	= (0, 255, 255)
EndValue	= (255, 128, 0)
Absolute	= true

en/examples/fx/colorize_object_with_color_fx.txt · Last modified: 2018/02/14 00:47 (6 years ago) by 127.0.0.1