Currently, loading occurs in the render thread. This means no drawing can happen while loading happens, which gives the appearance of the game hanging/freezing until the loading is finished.
To-do list:
Make a queue system for loading: when game data needs to be loaded, add a request to the queue
When there are requests in the loading queue, enter a new game state representing a loading screen
During loading, render thread blocks while "Loading..." text is displayed.
Currently, loading occurs in the render thread. This means no drawing can happen while loading happens, which gives the appearance of the game hanging/freezing until the loading is finished.
To-do list: