Author Topic: In trouble with pause menu  (Read 77 times)

dpro_games

  • Newbie
  • *
  • Posts: 31
    • View Profile
In trouble with pause menu
« on: June 29, 2017, 11:21:29 pm »
Hello, i'm using the exact same code as the christopho's project (mecuris chest) for the pause menu and the game over menu...
(pause.lua/pause_inventory.lua/pause_map.lua/pause_options.lua/pause_quest_status.lua/pause_submenu.lua/game_over.lua)
https://github.com/solarus-games/zelda-mercuris-chest/tree/dev/data/scripts/menus
But there is a strange bug when the player die... the game over menu work very well but if the player choose to continue the game (with save or without save...) when the pause button is pressed during the game after the choice, the menu is completely broken... the images are superimposed on the others ect... I don't know why. But when we quit the game and restart the save all is back as before...

Please help me ! Thank

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1016
    • View Profile
Re: In trouble with pause menu
« Reply #1 on: June 29, 2017, 11:45:04 pm »
Hi,
It is a bug of Mercuris' Chest menus that became apparent when I introduced the multi_events.lua script. I fixed it in other games (Zelda XD2 and Zelda OLB SE) but not in Mercuris' Chest yet. But you can reproduce essentially the same fix as in Zelda XD2 here: https://github.com/solarus-games/zelda-xd2-mercuris-chess/commit/b5c4be400703c7e87fff4f9b549b6aa8f33f0d7b

dpro_games

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: In trouble with pause menu
« Reply #2 on: June 30, 2017, 12:01:04 am »
Je n'ai rien compris à comment le corriger (je suis débutant complet...)
Ou se trouve le code à changer et par quoi le remplacer ?

Merci pour la reponse !