Quantcast
Channel: Question and Answer » libgdx
Viewing all articles
Browse latest Browse all 434

Update Loop in libGDX

$
0
0

I have a screen class in libGDX. In this screen, I want to change a sprite’s texture a certain number of times before the screen changes to a different screen class. I tried having a for loop in the render method, but that obviously didn’t work as render is constantly called.

Can anyone help?


Viewing all articles
Browse latest Browse all 434

Trending Articles