How do I shoot on diverent sides

Get help using Construct 2

Post » Mon Oct 27, 2014 5:55 pm

Hello everybody,
i try to make a 2d shooter and added that the player is shooting on the left mouse button. If i look to the right and klick he shoot right but my problem is that if i look to the left and klick the shoot goes on the right too. How can i do that if i look to the left the shoot goes on the left? Thanks a lot
B
3
Posts: 7
Reputation: 189

Post » Mon Oct 27, 2014 5:59 pm

Give the left shooting bullets a negative speed in their properties. If the bullet object has a front and back you may want to flip the sprite as well.

example: -100
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
71
S
19
G
8
Posts: 640
Reputation: 9,701

Post » Mon Oct 27, 2014 8:00 pm

when i turn left, my right side bullet spawner is destroyed and system, create left bullet spawner is created. hope that helps.
when i turn right. left bullet spawner is destroyed
B
4
S
1
G
1
Posts: 4
Reputation: 504

Post » Mon Oct 27, 2014 8:06 pm

You could just use spawn object bulletL, bulletR image point 1 or image point 2 and put 1 on right and 2 on left?

That is the nice thing about Construct2, there are a dozen ways to fry an egg.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
71
S
19
G
8
Posts: 640
Reputation: 9,701


Return to How do I....?

Who is online

Users browsing this forum: babymumu and 3 guests