Skip to content

Countdown Timer (Team 4)

rio edited this page Sep 13, 2022 · 7 revisions

Countdown Timer

Team 4 is in charge of implementing the countdown feature for the game. The countdown timer is an important feature for the game as it is a loss condition of the game; if the player cannot find the traitor within a given time, game is over and the player will lose. If a player has a time buffer item, the remaining time in the countdown can be increased by a specific amount of time.

Functionality

Apart from the basic functionality of countdown, the time remaining can be increased if the player has the timer buffer item, and the countdown can be paused and resumed depending on whether the player has paused or resumed the game.

Sprint 2 Update:

The player can now consume the time buffer item (as Team 8 has implemented), and this will correspondingly increase the remaining time, which will be reflected in the countdown timer.

The player can decide to pause and start the game at any time, as we have created pause/resume buttons on the main game screen, which will pause and resume the countdown timer respectively.

Design

Mock up design of the countdown clock

We have decided the countdown clock may look something like the above image. The font is pixelated to match the game style. We have not been able to implement the design yet, so it is subject to change. However, the final design should not differ drastically from the image above.

Commits

We have implemented the basic functionality of the countdown feature as a component (countdownDisplay.java), and have added the component to the main game screen's UI in MainGameScreen.java.

countdownDisplay.java: https://github.com/UQdeco2800/2022-ext-studio-1/commit/9d85797b7e5b48ca7e87ba35c89ac672e98e7eb5

added component to main game screen: https://github.com/UQdeco2800/2022-ext-studio-1/commit/4c1bd29fe1b26213b2828e8760475dec8009db03

Table of Contents

Home

Game Design

User survey

Sprint 4

Eviction Menu and Win/lose Logic: Polishing tasks (Team 7)

Button Sounds and Ending Menu improve (Team 3)

Sound effect and Fixing the clue bug (Team 6)

Improvement of Enemy and Attack (Team 1)

Add Features When The Player Get Attacked and Overall UI Improvement (Team 8)

Sprint 1

Achievement System (Team 2)

Player Eviction Menu (Team 7)

Countdown Clock (Team 4)

Music (Team3)

Map (Team6)

Sprint 2

Player Eviction Menu (Team 7)

Character Design & Animation (Team 1)

Music (Team 3)

Inventory System and Consumables Items (Team 8)

Scenario design

Achievement System(team 2)

Storyline (Team 5)

Countdown Clock (Team 4)

Sprint 3

Ending Menu (Team 3)

NPC interaction (Team 2)

Win/lose Condition (Based on Eviction Menu) (Team 7)

Player Profile (Team 4)

Game Logo (Team 8)

Clue storage (Team 6)

Enemy Design and Attack (Team 1)

Scenario design for village(Team5)

Game design
Entities and Components

Service Locator

Loading Resources

Logging

Unit Testing

Debug Terminal

Input Handling

UI

Animations

Audio

AI

Physics

Game Screens and Areas

Terrain

Concurrency & Threading

Settings

Troubleshooting

MacOS Setup Guide

Clone this wiki locally