Animation collision bug

This forum is currently in read-only mode.
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • You have 2 sprites, one overlapping each other.

    The second sprite has for animation "1", without the "".

    Add this :

    When sprite1 overlaps sprite2

    +Sprite2 animation = "1" = destroy Sprite2

    Nothing happens.

    Cap is on the bug tracker.

    http://sourceforge.net/tracker/index.ph ... id=1003219

  • This bug is because the animation name is reported incorrectly, check what animations are playing in the debugger.

  • This bug is because the animation name is reported incorrectly, check what animations are playing in the debugger.

    Nope. The debugger just tells me "animation" whatever the animation is.

  • That's my point. Sorry I miscommunicated. Instead of:

    When sprite1 overlaps sprite2

    +Sprite2 animation = "1" = destroy Sprite2

    Try

    When sprite1 overlaps sprite2

    +Sprite2 animation = "Animation" = destroy Sprite2

    You're correct, it's a bug, I meant to explain it - that construct always reports the animation name as 'animation' which is why the event doesn't work.

  • That's my point. Sorry I miscommunicated. Instead of:

    When sprite1 overlaps sprite2

    +Sprite2 animation = "1" = destroy Sprite2

    Try

    When sprite1 overlaps sprite2

    +Sprite2 animation = "Animation" = destroy Sprite2

    You're correct, it's a bug, I meant to explain it - that construct always reports the animation name as 'animation' which is why the event doesn't work.

    I can't do that because I have animations : 1,2,3,4,5

    And each collision have a different event. I'll wait for the next build.

  • I can't do that because I have animations : 1,2,3,4,5

    And each collision have a different event. I'll wait for the next build.

    You can't rename them A,B,C,D,E or such?

  • >

    > I can't do that because I have animations : 1,2,3,4,5

    > And each collision have a different event. I'll wait for the next build.

    >

    You can't rename them A,B,C,D,E or such?

    Tried, same error.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • BTW, I forgot to mention a workaround is to use a private variable instead.

  • The bug is basically you can't retrieve the current animation at the moment. I'll try do something about it soon :S

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