Dear all,
My game creates a lot of custom data. As a result, it takes a LOT of time to save/load games. Process during which the screen is frozen, and my testers are complaining about that.
I'm trying to show a simple "loading" image during the load process. However, as it currently stands, the image only shows AFTER the process is complete. Can anyone help me?
My current code:
My game creates a lot of custom data. As a result, it takes a LOT of time to save/load games. Process during which the screen is frozen, and my testers are complaining about that.
I'm trying to show a simple "loading" image during the load process. However, as it currently stands, the image only shows AFTER the process is complete. Can anyone help me?
My current code:
Code:
def on_savefile_ok sprite=Sprite.new sprite.x=0 sprite.y=0 sprite.z=9999 sprite.bitmap=Cache.picture("loading") super if DataManager.load_game(@index) on_load_success else Sound.play_buzzer end end