Travelling between planets - UQcsse3200/2023-studio-2 GitHub Wiki
This page specified the travel mechanism between planets and details about minigames. The Upgrade Shop currently can be accessed from the main menu; in future, when finalised, this shop can only be accessed when the player is in the minigame.
1. Travelling mechanism
After successfully destroying the extractor on each map, a mini frame will be spawned, and the player can decide to move to the next planet by clicking the "Move to next planet" button or exit back to the menu via the "Main Menu" button.
A minigame is spawned during the transaction, and the player must complete it to move to the next planet.
Currently, after reaching the goal in the space obstacle minigame, the screen will change to a new PlanetScreen. If the return button is clicked on, the game will exit to main menu screen.
2. Minigame Spawning
A different minigame will be spawned each time and update the enemies' attack and challenging levels. Therefore, the player needs their space ship updated. Otherwise, they cannot reach the new planet until they finish the minigame.
In minigames, there are items that player may want to collect and store in their private space to upgrade their ship later. The spaceship can only be upgraded using these items; each has different abilities.
A button on the right corner called "Upgrade Ship" is used to access the private space where user can upgrade their spaceship.
3. Upgrade Shop
Currently, the upgrade shop is only a space where user can choose the items they collected from the previous minigame to upgrade their spaceship. This may be modified to a real shop where players can pay for the items they do not have depending on further implementation or any gameplay modifications.
In this place, the player can move around to take the items they may want to update their spaceship's stats, including possibly speed, fuel and attack dmg,... The items can only be the collected items from the previous map; even if the player collected items from the current minigames, they could not use those until they successfully pass the current minigame.
After the upgrade, the player can see the change in stats in the left corner, which displays the current spaceship stats. A button on the top right corner is "Back" and can spawn a minigame with two options: "Main Menu" - back to the main menu, "Resume" - stay in the upgrade shop. When the minigames are are implemented completely, there will be an additional button that can get back to the current minigame.
Currently, the ship can pick up a health upgrade in the form of a ship by using the "F" key to interact with the upgrade.
- After pressing "F" to pick up the upgrade, notice that the health stats changed on top left.