-
Notifications
You must be signed in to change notification settings - Fork 4
Game Over Screen and function explanation
The main part of this feature is located in MainMenuActions.java, GameOverDisplay.java, MainGameScreen.java. This allows when the player dies (health = 0) to show game over screen. When the game over screen shows up, player can see total points collected. Also player can choose to play again or back to the main menu.The GameOverDisplay is located in component/gameover package. There are two files in it. They can be divided into logic section and UI section.
Back to the main menu button
- we declare a new button: "mainMenuButton" and with mainMenuButton.ADDListener(), player can choose to come back to main menu when the character die and gameover screen show up.β¨
- This similar with "playAgainButton" to choose to play again.β¨
- Also we when onGameOver() in MainMenuActions.java launch and show game over screen.β¨
- In GameOcerScreen.java , we use 'public class ... extends' is the format of reference MainMenuScreen.java. There is a function 'setPoints' show the points earned by the character. We refer to the content of MainMenuScreen.java for the rest of the code.
Connect with Scoring system (team9) to show total points collected when game over screen shows up.
- The situation is when the player is dead. The scoring system check if health values is less than zero in theΒ PlayerStatusDisplayΒ update player health value method. If true then stop the timer => we have the total score. note: because time so the return type is long.β¨
- In GameOverDisplay.Java we call "ScoringSystemV1" and use "getScore" method to show the total score player collected until dead.β¨
Connect with Health system (team2,Issue 35) to show game overscreen when health=0 -> player dead.
- Call "CombatStatsCompomemt" to have the health status of the character.β¨
- Create playerStats.isDead() to display game overcreen when health return to zero.β¨
- Like every game overscreen when it pop-ups. We have " game over " on top, below that is "points" to show points collected, click to main menu button to return to main menu, click to play again to play again.
- Buttons is paint with green colour.
- We create a table to set text scale, color, text button(play Again button etc), position components etc.. At the same time, I also set pointText not to be filled manually.
In the following sprints. We might need to layout and fix to get a better-looking game overscreen. Also, add other functions if needed such as view rankings, save game,....
Camera Angle and The Player's Perspective
Achievements Trophies and Cards
πΎ Obstacle/Enemy
βMonster Manual
βObstacles/Enemies
ββ- Alien Plants
ββ- Variation thorns
ββ- Falling Meteorites
ββ- FaceHugger
ββ- AlienMonkey
βSpaceship & Map Entry
βParticle effect
[code for debuff animations](code for debuff animations)
Main Character Movement, Interactions and Animations - Code Guidelines
ItemBar & Recycle system
πΎ Obstacle/Enemy
βObstacle/Enemy
βMonster Manual
βSpaceship Boss
βParticle effects
βOther Related Code
βUML & Sequence diagram of enemies/obstacles
Scoring System Implementation Explanation
Buff and Debuff Implementation
Infinite generating terrains Implementation Explanation
Game Over Screen and functions explaination
Buffer timer before game start
Rocks and woods layout optimization
Magma and nails code implementation
Guide: Adding Background music for a particular screen
History Scoreboard - Score Details
Listening for important events in the Achievements ecosystem
Hunger and Thirst icon code guidelines
Hunger and Thirst User Testing
Buff and Debuff Manual User Testing
The New Button User Test in Setting Page
The Main Menu Buttons User Testing
Infinite loop game and Terrain Testing
https://github.com/UQdeco2800/2021-ext-studio-2.wiki.git
πΎ Obstacle/Enemy
βObstacle testing
ββ- Alien Plants & Variation Thorns
ββ- Falling Meteorites
βEnemy testing
ββ- Alien Monkeys & Facehugger
ββ- Spaceship Boss
βMonster Manual
βParticle-effect
βPlayer attack testing
ββ- Player Attack
Sprint 1
Sprint 2
Sprint 3
Sprint 4
Changeable background & Buffer time testing
Game over screen test sprint 4
New terrain textures on bonus map test sprint 4
Achievements System, Game Records and Unlockable Chapters
Musics Implementation Testing plan