The characters should have two different kinds of range:
Attack range
Pull range (The range where the monster wants to attacks the player and moves towards him/her)
We should also make the origin of the player at the feet. This will make moving to the character more natural and it will make it easier when we create the collision later. At the moment the origin of the sprite is at the top left corner (which is set as standard).
When the player is outside the pull range; the monsters should return to their spawn position.
The characters should have two different kinds of range:
We should also make the origin of the player at the feet. This will make moving to the character more natural and it will make it easier when we create the collision later. At the moment the origin of the sprite is at the top left corner (which is set as standard).
When the player is outside the pull range; the monsters should return to their spawn position.