TheAdamSmith / precursor

0 stars 0 forks source link

Make Basic Enemy A #20

Closed ninja-rage closed 6 months ago

ninja-rage commented 6 months ago

Created an alien thing with move and attack animations. alien-v1-attack1 alien-v1-attack2 alien-v1-move1 alien-v1-move2

Added an Enemy node with a script that follows the player Node. The move animation plays while moving, attack animation plays if collision with the player Node is detected.

In relation to https://github.com/TheAdamSmith/precursor/issues/3 story

ninja-rage commented 6 months ago

Looks good so far! Could you make it flip directions if the player is on the right side of it

yes but I can see of 2 different ways of doing it. Also our enemies should probably follow the same pattern. So, do we want to make all of our enemies looking left, and then flip the sprite when its walking right or should we create separate animations for left/right. Can go either way but we should probably figure out the standard. Also open to other ideas.