• Customizable game-over menu!

    by  • August 19, 2013 • News • 1 Comment

    The last built-in menu is not built-in anymore in Solarus 1.1!

    Now, when the life of the player reaches zero, an event game:on_game_over_started() is called. The game is suspended and you can show whatever you want. You can make a dialog that lets the player chose between “Continue” or “Save and quit”. Or you can make a more elaborate game-over menu like in our games, where a fairy saves the player if he has one in a bottle.

    And if you don’t define the event, game:on_game_over_started(), then the engine just restarts the game.

    The Solarus 1.1 roadmap is close to its end. 50 issues were solved and 1 is still open. Now I am testing both games (ZSDX and ZSXD) to check everything because there was some refactoring done to upgrade to Solarus 1.1, and some C++ code was replaced by Lua code (most importantly, the dialog box and the game-over menu).

    One Response to Customizable game-over menu!

    1. Icelink256
      October 31, 2013 at 12:37 pm

      Now I could see somebody creating a rogue-like similar to Shiren the Wanderer.
      If you don’t have a fairy, and die–

      Then it’s back to the village for you! …and the dungeon resets.
      Maybe randomize sections of dungeons by item requirement / general dungeon theme? That could be interesting.
      Hmm… Now I’m considering trying my hand at some fancy scripting for this. >_>

    Leave a Reply

    Your email address will not be published. Required fields are marked *