You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2021. It is now read-only.
It appears like AnimatedImage is not compatible with non-continuous rendering mode, and should call Gdx.graphics.requestRendering() inside of Actor#act().
I feel like non-continuous rendering case was just dropped during development and never tested. So maybe there is more code that doesn't not support it in the repo.
The text was updated successfully, but these errors were encountered:
Unfortunately this won't work, since updateFrame() triggers by counter from act(float) and thus requires act(float) to be called continuously every frame.
I'm afraid the easiest way to solve this is to call Gdx.graphics.requestRendering() inside of act(float). There is also another way to update frames - use Timer, but this will involve a bit more changes and also few more checks should be considered due to Timer may trigger callbacks after related actor removed from the stage...
It appears like
AnimatedImage
is not compatible with non-continuous rendering mode, and should callGdx.graphics.requestRendering()
inside ofActor#act()
.I feel like non-continuous rendering case was just dropped during development and never tested. So maybe there is more code that doesn't not support it in the repo.
The text was updated successfully, but these errors were encountered: