Anims not working on position change within same layout

Not favoritedFavorited Favorited 0 favourites
  • 5 posts
From the Asset Store
Vector illustration of a UFO with an alien in three different positions.
  • Im just on the closing portion of making a game for my coursework (thank god). But the problem is that the deadline is tomorrow and im still trying to set up the final bossfight for the level.

    The bossfight takes place on a separate area within the same layout, so all i need to do is quickly change the position of the player.

    Now this was going to be a simple change, however as soon as i change the players position, all of the logic for animations just ceases to work entirely even when nothing at all within the code provokes it to do so.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can you post your project file, or at least some screenshots of your code?

    Make sure the new position of the character is within the layout bounds - make the layout bigger if needed. Some behaviors (like Pathfindind) won't work if the object is outside of the layout.

  • The bottom right is the bossfight area that the player is getting teleported

    and this is the code for the walking animation and such, which should be working because nothing is setting those instance variables

    I've also discovered that the animations dont even finish, like when you use a light attack within the second area, it fails to finish it.

  • Left i mean, not right lol

  • The screenshots don't help much. You probably have other events which override the animations.

    I've also discovered that the animations dont even finish, like when you use a light attack within the second area, it fails to finish it.

    There's almost certainly some other event which sets a different animations in the same tick. That's why the animation is restarted all the time and never finishes.

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