How do I Set Family Animations

From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • Hello,

    I'm not sure if this is a bug or me just being inept. I've created a 'Family' of obstacles with the 'Bullet' behaviour that spawn randomly on the layout. They're supposed to play my 'explosion' animation before being destroyed. The event snippet below works most of the time upon testing, but every now and then the obstacle is destroyed without playing the 'explosion' animation. Does anyone have any idea why this might be? I've tripple checked the obstacles and the 'explosion' animation name for all of them is the same.

    Thanks,

    Himesh

  • Change your event to 'on explosion animation finished' > destroy

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Change your event to 'on explosion animation finished' > destroy

    Thanks, but if I change it to 'On explosion animation finished' then there will be nothing to trigger the death animation and subsequent death. I still need the 'touch event' so my mouse/touch screen for android to trigger the explosion if that makes sense.

  • Ok to rephrase, remove the Wait and destroy, create another event 'on animation explosion finished' > destroy

  • Ok to rephrase, remove the Wait and destroy, create another event 'on animation explosion finished' > destroy

    Ooh, sorry for the misunderstanding. That seems to have done the trick :)

    One more question if thta's ok. Is is possible to stop the 'bullet behaviour' on the family of obstacles? E.g. On Bullets touched, set bullet speed to 0? The option is there for normal objects but not families.

  • You can move the bullet behaviour to the Family object level. You will need to if you want to run actions for the Family.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)