Skip to content

SpaceBuilderMergeGame--Release_ALPHA_V0.0.2--Loading Screen and Loader

Pre-release
Pre-release
Compare
Choose a tag to compare
@GreenJon902 GreenJon902 released this 19 Apr 19:29
· 226 commits to master since this release

This was way too difficult, I redid it a lot of times! Graphics is now split into two parts, pre-load and the post-load ( actual game ). The pre-load has the 2 splash screens and then the loading screen.

The splash screens use async images incase running is slow, may need testing with larger images as the current ones came strait from google and are under 1000x1000.

The loading screen runs the resource setup before fading in from black with a progress bar. A Kivy clock runs each load to stop frame problems while avoiding multithreading as that is difficult. There are two screen managers as kv lang refused to work if I loaded it after creating the screen manager. The app root is a custom widget which switches the screen manager when ScreenManagerSwitcher.switch() is run by the loading screen.

The loader needs to be finished, the things to do are load audio and fonts, currently we only have language (text) and textures and kv_lang ( need to load this after texture which in turn broke screen managers )