Small Enemy - UQdeco2800/2021-studio-6 GitHub Wiki

Description

The small enemy type is an enemy type with greater speed and lower health. While the default enemy and player size is 32x32 pixels (design size), the small enemy is 0.75 times the size at 24x24.

Methods

In NPCFactory.java, the 'createSmallEnemy' method is used to create this enemy with the associated combat and movement stats located in the NPCs.json file. The small_enemy.atlas file uses the small_enemy.png (spritesheet) to create animations for the sprite.

Appearance

The small enemy's design is based on the large enemy. It is a zombie-like creature with two legs and no arms. Its eye is also significant as the attack animation will include a punch-like motion with the creature's eyeball which then bounces back in place.