Game loop

Hey if i have a texture that takes its x,y position from class and i need the class to update on every move how do i do it? like in Libgdx there is a render method that updates the game every time where it is on corona?

We offer an event attached to the Runtime object called “enterFrame”. This event fires once every frame update (30 times per second or 60 times per second). This is the closest to a game loop that we have.

Rob

We offer an event attached to the Runtime object called “enterFrame”. This event fires once every frame update (30 times per second or 60 times per second). This is the closest to a game loop that we have.

Rob