Animation not changing.

0 favourites
  • 6 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • Look at this capx:

    apagada.com/varios/tictactuc/tictactuc.capx

    1) Drag the ball to any hole in the top row.

    2) Drag the ball to any hole in the bottom row.

    3) Try to drag the ball to the same hole.

    You can see that:

    • In (1), the hole changes to show it is "full";
    • In (2), the hole DOES not change.
    • But (3) shows the hole is not empty.

    Since I "fill" the holes using a "Set Animation to", I wonder if this is a bug. I've tried to make object invisible and then visible again to force an animation change, and I've tried to pause and restart game, but nothing makes the new animation show up.

    Please notice that object animation has changed, I'm sure about that because the only condition used to test whether the hole is empty or not is the animation name.

    (Please excuse my for my bad English)

    Scirra R87, capx tested on Explorer 9 and Chrome. I use an NVidia card, so, if you can't see a bug, then it's on my card.

  • The events are a bit too complicated for a bug report. In order to prove it's a Construct 2 bug and not a mistake in your events you should try to reproduce the problem with a new project and as few events and objects as possible. Otherwise I'm afraid I have to assume it's a problem in your own events.

  • You can download here a simplified version where a For... loop is used to set animation

    You can clic on any hole to see what is the value of the "AnimationName" property for that hole:

    http://www.apagada.com/varios/tictactuc/tictacbug.capx

    I think the bug is related with the object touching or being outside layout or window boundaries.

  • You've got 3 extra "Hueco" at the bottom of the screen outside the layout. The bottom row is being hidden by the extra ones. You can see if you move them out of the way:

    <img src="http://dl.dropbox.com/u/8367729/construct/pics/tictactoebug.jpg" border="0" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Very bad!

        Chenge animation everytime in your site.

  • But I tried with just 9, also...

    And, Why are the extra 3 not affected by the FOR... loop?

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