Bullet movement always shooting right

Get help using Construct 2

Post » Wed Sep 18, 2013 6:37 pm

Is there a way to have bullet movement in more than one direction? The thing is that I have a player character who I want to have certain keyboard input shoot her forward at high speed, hence why I added bullet behavior. The thing is that every time I utilize bullet behavior, she's always moving to the right, even if I have her facing left. Is there a way to fix this?
B
6
Posts: 25
Reputation: 300

Post » Wed Sep 18, 2013 6:43 pm

Set angle (on the bullet object)
Set the object's angle in degrees, from 0 to 360. 0 degrees is facing right and angles increment clockwise. (180 is left)plinkie2013-09-18 18:47:00
B
46
S
16
G
78
Posts: 2,166
Reputation: 46,349

Post » Wed Sep 18, 2013 7:22 pm

Bullets move the direction they are facing, and objects always face right by default, because right is 0 degrees. Change the angle to the direction you want it to shoot (180 for left, 270 for up, 90 for down, or set the angle to another object such as a gun)
B
10
S
3
G
3
Posts: 234
Reputation: 3,467


Return to How do I....?

Who is online

Users browsing this forum: AllanR, asdtricky, Yarfapet and 10 guests