Invert movement of bullet

  • Hello,

    I'm new using Construct and done basic tutorials platforms and the man who shoots.

    I'm making a small platform game and I have a character who shoots, but always shoots to the right and I want that when the character look left then the shot go in that direction.

    I have already done so when you look left, the shot appears from another point from the right, what I need is that the shot go left.

    Thanks in advance. <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • you must give your character a varible for direction.

    if right pressed set direction variable to right.

    if left pressed set direction variabla to left.

    on fire button pressed and direction is right then

    spawn bullet set bullet direction angle of motion 0 degrees

    on fire button pressed and direction is left then

    spawn bullet set bullet direction angle of motion 180 degrees

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