Table of Contents

Move an Object with Position FX

Code

orxObject_CreateFromConfig("Object");

Config

[Object]
Graphic         = Graphic
FXList		= PositionFX
 
[Graphic]
Texture       = mushroom.png
Pivot         = center
 
[PositionFX]
SlotList = PositionFXSlot
Loop     = true
 
[PositionFXSlot]
Type		= position
StartTime	= 0
EndTime		= 2
Curve		= sine
StartValue	= (0,0,0)
EndValue	= (200,0,0)
Absolute	= false