-
Notifications
You must be signed in to change notification settings - Fork 0
Debug Terminal
The debug terminal is for developers to run commands while the game is running. When visible, the terminal is displayed in the bottom-left of the screen and commands can be typed into the terminal using the keyboard.
The terminal uses the Command Pattern to action entered commands.
-
Terminal - Maintains the state of the terminal and actions commands:
Terminal
. -
Terminal Input Component - Processes input and triggers state changes in the terminal:
KeyboardTerminalInputComponent
. -
Terminal Display - Displays the terminal's UI:
TerminalDisplay
. -
Command - Defines actions to be taken when the command is triggered: e.g.
DebugCommand
.
The terminal can be toggled in and out of view using the F1
key.
Commands can be triggered by typing into the terminal and pressing enter
. When the name of the command followed by valid arguments is entered, the command is actioned. As an example, the "debug" command accepts the arguments "on" and "off". So debug on
or debug off
would be valid commands.
Commands must be added to the commands map in Terminal.java
using addCommand()
. They are composed of a name and an instance of the Command
interface. The following is an example for adding the debug command:
addCommand("debug", new DebugCommand());
- Player UI
- Popup Menus
- Obstacles
- Boss Enemies
- Progress Tracker
- Checkpoint Design and Functionality
- Score System
- Lives System
- Game Background
- Multiple game-level
- Visual Improvements
- Tutorial Level
- Character Design and Animations
- Character Damage Animations
- Player Animation Functionalities
- Player and Serpent Portal Transition
- Pop-up Menus
- Obstacles
- Lives & Score User Testing
- Buffs & Debuffs
- Buffs & Debuffs redesign
- Obstacle Animation
- Background Design
- Level 2 Background Appearance
- Enemy Monster User Testing
- Level 1 Floor Terrain Testing
- Introduction Screens User Testing
- Character Movement Interviews & User Testing
- Sound user testing
- Level 2 Obstacles and enemy
- Story, Loading, Level 4 and Win Condition Sound Design User Testing
- Giant Bug and Purple Squid animation user testing
- General Gameplay and Tutorial Level User Testing
- Level 4 Terrain User Testing
- Game Outro User Testing