Bee - UQcsse3200/2024-studio-2 GitHub Wiki

Overview

The Bee NPC is a swift and elusive enemy found in the Air Kingdom. Known for its quick movements and aerial agility, this enemy challenges players with its high movement speed. While the Bee NPC has moderate health, during combat its speed makes it a tricky target, requiring players to employ precise timing and strategy to capture or defeat it.

bee

Special Interaction

Bee NPCs spawn in groups from nearby hives, appearing every 7 seconds until 5-10 bees are spawned. The bees will continue to spawn until the hive is found and approached. To stop the bees from spawning, players simply need to locate the hive and walk near it, which causes the remaining bees to despawn, preventing further waves.

Special Interaction Stats

  • Number Spawned from Hive: 5-10 bees
  • Spawn Rate: one bee every 7 seconds
  • Deactivation: Despawn bees when the player finds the its hive and walks close to it

https://github.com/user-attachments/assets/eebdf3f6-4f8e-4368-b1b4-0d9a9e793777

Enemy Stats

Enemy Bee NPC stats are defined in an NPC.json file which are loaded into the game using the FileLoader class.

  • health : 10
  • baseAttack : 2
  • defense : 3
  • speed : 270
  • experience : 15