You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bonus treasure chest level is basically a level in which the player needs to choose one chest from three different chests that may or may not have a power-up in it. This level is only unlocked after the player completes the main three levels. The bonus level locks again after the player chooses a chest and then unlocks again after the player goes through the same three levels.
In order to implement this, a new BonusLevelPane class needs to be created with methods such as Run() which is responsible for calling on other methods. Some other methods that need to be implemented include chestRandomization() which randomly places a random power-up (star or mushroom) inside one of the chests. The various pause, resume, and music methods also need to be implemented. A hasPlayerChosenChest() method needs to be implemented to detect which chest the player has chosen and display whether the player won anything. In the TourPane, a new checkBonusLockStatus() method needs to be written that unlocks the bonus level once the player goes through all three main levels and locks the bonus level when the bonus level is cleared.
The text was updated successfully, but these errors were encountered:
The bonus treasure chest level is basically a level in which the player needs to choose one chest from three different chests that may or may not have a power-up in it. This level is only unlocked after the player completes the main three levels. The bonus level locks again after the player chooses a chest and then unlocks again after the player goes through the same three levels.
In order to implement this, a new BonusLevelPane class needs to be created with methods such as Run() which is responsible for calling on other methods. Some other methods that need to be implemented include chestRandomization() which randomly places a random power-up (star or mushroom) inside one of the chests. The various pause, resume, and music methods also need to be implemented. A hasPlayerChosenChest() method needs to be implemented to detect which chest the player has chosen and display whether the player won anything. In the TourPane, a new checkBonusLockStatus() method needs to be written that unlocks the bonus level once the player goes through all three main levels and locks the bonus level when the bonus level is cleared.
The text was updated successfully, but these errors were encountered: