Hi everyone,
Just bought a license so this is my first post.
Last few days have been spent trawling here, youtube, google etc for tutorials and answers.
I am trying to achieve
style of NPC movement from a similar perspective. I got the player movement working correctly using a family group of sprites.
Problem: Creating multiple instances of enemies that are capable of moving in 8 directions with 4 direction walk animations (up, down, left, right)
-Extra stuff-
I managed to get one instance working properly in all four directions but I using a family group and and set position but I came to realize you cannot create/spawn new families as a whole. So my other instances were just the shadows.
I know I will need to use this smoke trail
tutorial for multiple instances but first I need to figure out which method of organizing and positioning sprites onto the shadow is best
I've tried to pin a sprite onto the enemy shadow which contained all the animations but I couldn't get it to calculate angles properly and then my other instances broke.
I am now wondering which movement behavior is needed, bullet, custom, pathfinding, 8 direction or a combination of them.
I'll get a capx up soon.