Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bonus Treasure Chest Level after Level 3 Completion #4

Open
i0nics opened this issue Jan 25, 2022 · 1 comment
Open

Bonus Treasure Chest Level after Level 3 Completion #4

i0nics opened this issue Jan 25, 2022 · 1 comment
Assignees

Comments

@i0nics
Copy link
Owner

i0nics commented Jan 25, 2022

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.

@i0nics i0nics assigned i0nics and onzfonz and unassigned i0nics Jan 25, 2022
@i0nics
Copy link
Owner Author

i0nics commented Jan 25, 2022

@onzfonz @VeasnaLing

@i0nics i0nics closed this as completed Jan 25, 2022
@i0nics i0nics reopened this Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants