Firing direction

0 favourites
  • 2 posts
From the Asset Store
Hand-animated Sprite Base for isometric game/animation development
  • Hello people <img src="smileys/smiley36.gif" border="0" align="middle" />

    I have a basic problem I think, I am creating a shooter type the binding of isaac, but I can not steer the player to shoot in the direction of the PG is looking

    the bullet always starts at the right, as possible send it in the direction that is looking the character?

    Sorry my bad english <img src="smileys/smiley9.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
  • Your character must be rotating (changing it's angle)

    Your bullet must have Set Angle ON.

    EDIT: You could create a global variable called Direction. When the player moves in that direction, set the Direction variable to "Up"/"Down"/"Left"/"Right" and you can then check what "Direction" is set to and create a bullet with the correct angle!

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