User Tools

Site Tools


en:examples:tracks_commands:add_timeline_track_to_object

Add a Timeline Track to an Object

Code

orxOBJECT *dummy = orxObject_CreateFromConfig("BringUpGameOverTimelineObject");
orxObject_AddTimeLineTrack(dummy, "BringUpGameOverTimeline");
orxObject_EnableTimeLine(dummy, orxTRUE);

Config

[BringUpGameOverTimelineObject]
 
[BringUpGameOverTimeline]
2.0 = "ShowGameOver"

Code example by gemberkoekje

en/examples/tracks_commands/add_timeline_track_to_object.txt · Last modified: 2018/02/14 08:47 (2 years ago) (external edit)