overtone
overtone copied to clipboard
Loader screen
During the game startup, we may spend some time loading the resources asynchronously.
There should be some sort of a loader screen during that time.
See TODO[#35] when implementing this feature.
I believe we can aim for good-enough loading time since the game was made before the year 2000, current computer are much faster (specially storage, the cpu gains will be heavily reduced due to the use of non optimal code / programming langage)
We will most likely never be able to write code as fast as the original one but it SHOULD not be an issue.
doing some test on my computer with WIP code that handle switching between menu, there is actually a fairly big delay due to reparsing way too much time, way to much of the same data (loading pal and shape file way too much as they're all the same and used in the same time)
https://github.com/ForNeVeR/overtone/assets/3913349/ae6e41b4-2fa2-4ba0-89e7-710e9c714efa
I expect scene switching and basically any state transition in the game to be instant. But we have some additional activity to do:
- initial ISO loading (downloading of ~300 MiB could take some time even on the best internet channels these days)
- some kind of cloud syncing / network server connection (all of these are, of course, very far from what we currently have)
- well, disk unpacking and IO could take some time on older IO hardware such as HDD
In my other project, I've implemented all the loading tasks in a separate "Loader" state with a spinner and percentage, which turned out to be pretty neat. So, eventually I want to bring the same goodness here.
But for now this may not be a priority, of course.