Skip to content

There are two ways how to load images #804

@tuomount

Description

@tuomount

Currently there are two ways how to load images in the game. Some of the images are read on permanently in GuiStatics. Good thing is that once they are loaded, there is no need to reload. Bad thing is that it will remain in memory as long as game is running even not used. Newer and better way is to load image when actually needed. I can't remember why I did not change it to all images, so now there are two ways to load image which is confusing and not good practice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions