From 127faf7bba5ca64a8bf6c22f7e46abe8a98f8084 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 7 Aug 2021 20:07:11 -0300 Subject: If game crashes after registration, ensure this error is recoverable --- game/gui/battle.rpy | 16 ++++++++++++++++ game/script.rpy | 8 +++++++- 2 files changed, 23 insertions(+), 1 deletion(-) (limited to 'game') diff --git a/game/gui/battle.rpy b/game/gui/battle.rpy index 054f66b..f43ca65 100644 --- a/game/gui/battle.rpy +++ b/game/gui/battle.rpy @@ -156,6 +156,22 @@ screen battle_core(): draggable False yalign 1.0 # Display the sphere + ## FIXME + ## Alternative 1 - Make this a button + ## Player clicks on the button - some function is called + ## TODO: What does the function do? + ## → backup = copy.copy(Battle["spheres"]) + ## → (We actually could just copy the whole `Battle` + ## and allow players to "revert"/"reset" the screen) + ## → Probably waits for you to click/tap on another sphere? + ## Once it finishes, it swaps the elements in Battle["spheres"] array + ## The blitting is frequent enough + ## So you don't need to cast a redraw() nor anything + ## Just swap them and it *should* work right away as far as + ## visual goes + ## ----------- + ## Note: You do not need to preserve the original array + ## However, well, if the array gets corrupted........ drag: child ("gfx/sphere/"+str(Battle["spheres"][0])+".png") draggable False diff --git a/game/script.rpy b/game/script.rpy index 17f6a5d..2f1f7ca 100644 --- a/game/script.rpy +++ b/game/script.rpy @@ -7,7 +7,7 @@ image banner_ = "gfx/actionarea.png" # Inform you are now ingame label start: # Begin the initial displays - # TODO: a fairy :( + # TODO: Use something more fantasy than a spinner? scene black show spinner at truecenter @@ -151,6 +151,12 @@ label loop: $ hud_show() + + ## Maybe you still haven't done the prologue? + if (persistent.nickname is None): + jump prologue + + ## Main loop menu: "World Map": jump quest_select -- cgit v1.2.3-60-g2f50