How do I stop my sprites with bullet movement from rotating?

0 favourites
  • 5 posts
From the Asset Store
This pack contains 10 types of bullet effects, with different shapes and colors.
  • I have some zombie sprites set to chase my character around by using bullet movement to shift their angles towards the player. But when their angle changes, the sprites rotate. I'm going for that classic pixelated look, and I'd rather they just stood straight up and moved toward the player. Can anyone help me out with this? Thank you!

  • To fix it you have to do two things.

    1. For your zombies in the bullet behaviour you have to put "Set angle = No"

    2. In the event "Zombie has LineOfSight to player" you need to replace the action "Set angle toward (Player.X, Player.Y)" with the action "Set Bullet angle of motion to angle(Zombie.X, Zombie.Y, Player.X, Player.Y)

  • Thanks for the help, but I just tried that and now my zombies aren't going after the player any more, also I couldn't put all of that in one action, had to make 4 separate actions.

  • Think you have done it wrong then and that's why it doesn't work.

    Here is how you do it:

    Select all zombie by choose it in the projects list on the right side, then change "Set angle = no"

    The bullet angle of motion is written as shown in the image. So you only need 1 action and not 4.

  • Try Construct 3

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

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

    Thank you so much for your help!!!

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