I have an object that I am just rotating like a gear on my screen. The screens work fine before I put the animation on but after I put on the animation which does animate the object, it seems to pause my other screens. Meaning when I click the rotating object to go to the next screen, my buttons on the other screen don’t work. They are just regular buttons like a back button or a next screen button.
Is there something I need to do to the other screens in the code or in a UI file or something to ensure the animation continues to work and not mess the other screens up? I basically want this object to rotate anytime the screen is launched. This is the code below which does work to animate the object.
[lua]local function animate( event )
block.rotation = block.rotation + 1
end
Runtime:addEventListener( “enterFrame”, animate );[/lua] [import]uid: 72372 topic_id: 13218 reply_id: 313218[/import]
[import]uid: 52491 topic_id: 13218 reply_id: 48534[/import]