Cocos studio 2.0 animation is not showing?

Hi!

I am using cocos code IDE 1.01 und cocos2d-x 3.3beta0 and lua (cocos.com launcherstuff).
I created a Scene with in Image. For the Image I added some translations via animation-stuff at the bottom. When previewing it on cocos studio 2.0 everything works. I then publish the scene and load it via lua

local rootNode = cc.CSLoader:createNode("ShipScene.csb")

The scene is showing with all the other stuff but sadly there is no movement :frowning:
Do I need to start the animation?

Thanks!

local action = cc.CSLoader:createTimeline("ShipScene.csb")
rootNode.runAction(action)
action.gotoFrameAndPlay(0, false)
1 Like

Thanks!

 local action = cc.CSLoader:createTimeline("ShipScene.csb")
 rootNode:runAction(action)
 action:gotoFrameAndPlay(0, false)