Skip to content

General 32x32 enemy guidelines

Jay Garcia edited this page Aug 4, 2019 · 4 revisions

General 32x32 enemy guidelines

The following guidelines are for dungeon enemies that are 32x32 in size. Bosses will follow different rules.

  • Receives damage from player slashing only
  • Unlike the hero enemies use their idle animation
  • Enemies collide with tiles that are walls, traps, ledges and do not interact w/ them.
  • All enemies slashed by player will invoke it's damage animation.
  • All enemies have similar AI / animation processes:
    1. Spawn
    2. Decide on path of travel
    3. Travel N tiles in a single direction (N, S, E, W), based on its rules
    4. Stop.
      1. If hero is in line of sight or directly in front, strike hero.
      2. If here is not in line of sight, or directly in front, invoke idle animation. (This could taunt hero.)
    5. Go to step ii.
  • Travel speed of enemies will vary based on their physical dimensions.
  • Strike speed of enemies will vary based on the weight of their weapon & how much damage their weapons deal to the hero
  • Death animation is TBD. Will advise.

Spawn rules

  • All enemy placement is pre-determined by the map.
  • Enemies can re-spawn:
    1. After ~180 seconds
    2. If the player is not in their dungeon room. (No spawn animation).