User Tools

Site Tools


en:examples:tracks_commands:add_timeline_track_to_object

Add a Timeline Track to an Object using Code

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: 2021/09/03 03:28 (3 years ago) by sausage