My game has lots of custom data. As a result, the save/load proccess takes quite a while to finish. So I want to have a "Saving, please wait" message shown to the player so they know the game hasn't crashed.
I have tried making the following change to class Scene_Save:
class Scene_Save < Scene_File #-------------------------------------------------------------------------- # * Confirm Save File #-------------------------------------------------------------------------- def on_savefile_ok $game_message.face_index = 0 $game_message.background = 0 $game_message.position = 1 $game_message.add("Saving. Please wait...") $game_map.interpreter.wait_for_message super if DataManager.save_game(@index) on_save_success else Sound.play_buzzer end endendHowever, when I try to save, I get the following error:
Game_Interpreter:246:in `yield`: can't yield from root fiber (FiberError)It seems there is no way to call messages from Scenes. If thats true, what can I use in it's stead? Anything that will convey the message will do, like an image.
Thanks!
I have tried making the following change to class Scene_Save:
class Scene_Save < Scene_File #-------------------------------------------------------------------------- # * Confirm Save File #-------------------------------------------------------------------------- def on_savefile_ok $game_message.face_index = 0 $game_message.background = 0 $game_message.position = 1 $game_message.add("Saving. Please wait...") $game_map.interpreter.wait_for_message super if DataManager.save_game(@index) on_save_success else Sound.play_buzzer end endendHowever, when I try to save, I get the following error:
Game_Interpreter:246:in `yield`: can't yield from root fiber (FiberError)It seems there is no way to call messages from Scenes. If thats true, what can I use in it's stead? Anything that will convey the message will do, like an image.
Thanks!