Skip to content

Commit

Permalink
Kartong: Issue "start" animation when entering front end.
Browse files Browse the repository at this point in the history
  • Loading branch information
apistol78 committed Apr 18, 2024
1 parent c732c49 commit 21f101e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/Source/Scenes/Scene 01 - FrontEnd.xdi
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<item type="traktor.theater.TheaterComponentData">
<acts>
<item type="traktor.theater.ActData">
<name/>
<name>START</name>
<duration>5</duration>
<tracks>
<item type="traktor.theater.TrackData">
Expand All @@ -96,7 +96,7 @@
</values>
</item>
<item>
<T>4.04</T>
<T>2.85</T>
<tcb>0, 0, 0, 0</tcb>
<position>-0.675671, 27.71316, -0.69458, 0</position>
<orientation>2.903186, 0.300001, 0.000001, 0</orientation>
Expand Down
4 changes: 4 additions & 0 deletions data/Source/Scripts/FrontEnd.xdi
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ function FrontEnd:new(params, environment)
-- Ensure frame is properly layed out.
self._frame:layout()
-- Issue start animation.
local tc < const > = self.world.world:getComponent(theater.TheaterComponent)
tc:play("START")
end
function FrontEnd:finalize()
Expand Down

0 comments on commit 21f101e

Please sign in to comment.