Birdball is a third person dodgeball game utilising all three axes to create the play space.
The player moves forward automatically at a consistent speed. They can move up and down with the mouse buttons, and rotate by moving the mouse. I tried first allowing the player move in all directions, but after testing this it felt quite janky and awkward when moving sideways or backwards. The player can shoot bullets with space or the middle mouse button.
The enemies look towards the player and spawn a ball every set number of frames, which is launched towards the player.
The player has a limited amount of ammo, so they have to manage their ammo and collect ammo pickups for more. There is also the option to collect health pickups, but those are less common.
The object spawner checks the number of enemies and pickups that currently exist, and spawn more in random locations if there is less than the required number. It then adds these objects to a list so it can track them, and removes an object from the list once it has been destroyed. As the player's score increases, the number of enemies increases and the availability of pickups decreases to increase the game's difficulty over time.