Controls - UQcsse3200/2024-studio-1 GitHub Wiki
The controls follow the twin-stick shooter pattern of control, where the player's movement and direction of shooting are independent of each other. The player can input these controls using the keyboard. The abilities that the player has access to and can control are:
- Movement in any direction
- Shoot ranged weapon
- Attack with melee weapon
- Use an item
Default Keybindings
Movement
The player can move in any of the cardinal directions by using WASD by default. They can also move in a diagonal by using multiple keys at once
Shoot
Firing the player's currently equipped Ranged Weapon uses the Arrow Keys by default. They can be held to continuously fire, although the player cannot fire while their weapon is reloading. The player's gun reloads when they attempt to shoot while without ammo (this includes holding down the shoot button).
Melee
Making a Melee attack uses the spacebar. The direction of the attack is whichever direction they player is moving in
Items
Using any of the Items is by default assigned to the first 3 numbers on the keyboard, each of which instantly uses it's respective item provided the player has any