User Tools

Site Tools


en:examples:fx:move_object_with_position_fx

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

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