Hey everyone,
I ran into an issue today with my screens being slow to switch.
I've tracked it down, and it seems the issue has to do with whether or not I use fonts on the screen.
I've observed this issue on Html5, but it's especially visible on Android.
I've created and example: kha-font-example
When the app opens up, tapping the screen with switch to ScreenB (which draws a font); this switch takes a relatively long amount of time.
However, once I've switched to that screen, I can switch back to ScreenA then back to ScreenB and this time the switch is instant.
Removing the font drawing from the draw method completely eliminates this issue.
Seems like a very strange issue to me. Hopefully someone else is able to reproduce this.
Thanks