How do I rotate and move an object to front in the same time

0 favourites
  • 3 posts
From the Asset Store
Simple resize and rotate events for any sprite, quick and easy event sheet that you can use for your own projects.
  • I wanna move and rotate my sword (sprite) to front, i tried put the rotate behavior in the sword, but the sprite moves to the side, how can i move to front and rotate in the same time my sprite without going to the side? Help me

  • if its pinned to your hand? perhaps it is set to position and angle, just position should do fine.

    give it a Boolean, when attack pressed, Boolean true

    ... you could use the rotate function, but use a separate event to stop rotation when it reaches a certain angle (like player angle +60), then reset it to player.angle and reset boolean.

    If your sword has physics, it may be why its pushing the player.

    else just give the sword an animation so it appears to rotate hope its useful,

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • if its pinned to your hand? perhaps it is set to position and angle, just position should do fine.

    give it a Boolean, when attack pressed, Boolean true

    ... you could use the rotate function, but use a separate event to stop rotation when it reaches a certain angle (like player angle +60), then reset it to player.angle and reset boolean.

    If your sword has physics, it may be why its pushing the player.

    else just give the sword an animation so it appears to rotate hope its useful,

    I think you understand wrong, my character is like throwing the sword, and i want that the sword rotates and move front in the player's angle to kill the enemy

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