0 Favourites

Managing multiple enemies made of multiple parts.

  • I've tried making enemies which compose of body, hair, shirt and pants sprites. When spawned all sprites are pinned to the body and randomised and coloured to make different looking enemies. The body is in a container with the other sprites. The problem is animating the enemies, only the body has the platform behaviour which is 'controlled' by the a.i. events. Setting the movement animations for the enemies is reliant on the platform x vector speed. I thought because the sprites were in a container with the body if I tested for the sprites 'speed' relative to the bodies speed it would work but it didn't. Does anyone have any idea how to pair a certain body to the 'sprites' on it so I can control its animations?

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)