Hi,
my game has a world map scene that is used frequently but consists mostly of a lot of static elements. Those are (hundreds of) dots and (thousands of) lines between the possible routes.
As this scene is frequently used and mostly only needed for a few clicks to change between game scenes I would like to cache it somehow. Don’t know if this is even necessary as painting on the canvas is super quick but as I only need to paint the players position on the map scene and everything else is static, caching sounds reasonable to me.
Is there a mechanism to cache or prepare scenes for reuse?
Best, Jan