Repository navigation
Functional Design
Top-down/Isometric horde survival game In this game players need to defend a central base from waves of enemy hordes. Enemies continue to spawn in waves until the base is destroyed. The players need to keep defeating all the enemies until it becomes too difficult to keep up. If the base is destroyed the round will automatically reset after a short loss screen.
When the player first joins the game they will be prompted with a class selection menu. The classes all have different weapons and skills/spells The player can move along the x/z axis using WASD and can look and aim in a 360 degree radius using the mouse. Attacks can be performed with left mouse button. The executed attack depends on the players selected class, weapon and projectile type. There are both melee and ranged weapon types. Players can also place structures on predetermined locations. These structures will help players defend from the hordes. Players can non-verbally communicate with each other trough emotes (social) and pings (tactical). If a player dies they will respawn after a short time.
Enemies will spawn at predetermined spawn points on the map and move towards the base, if a player gets close enough to them they will move to attack them instead. There will be several enemy types, some melee and some ranged. Only the weakest ones will spawn in the early waves but as the game progresses stronger enemies will begin to spawn.
The unlocked weapons and projectiles/spells need to be bought in a shop during gameplay. The players start with no money on wave 1 and will gain money by killing enemies. When a player leaves or the game is lost and resets they will lose all bought items and money.
Players can build structures such as ballistas in order to help them hold back the horde. These structures will need to be built on pre-determined locations on the map. These structures can also be destroyed by enemies that get close.
When you create functional design for a feature you should add it here The enemy has 4 main things to follow, like:
- Targeting
- Movement
- Attacking
- Dying
Targeting: The Enemy has to Target the nearest target it's at, but the player is its first and highest priority, even if the enemy is at the nearest building.
Movement: The Enemy is able to walk towards the target.
Attacking: The enemy is able to attack it’s target, giving off damage to the target, which also includes the Player.
Dying: The enemy is able to die after the health of the enemy reaches 0.