Bullet Angle

Get help using Construct 2

Post » Tue Jun 18, 2013 8:02 pm

I set the angle of the bullets according to which direction the player faces: 0 degrees for a not mirrored position, 1800 degrees for a mirrored.

The direction the bullets I want them to go work fine. It either goes straight left or straight right.

The problem comes from having multiple bullets on the screen. Whenever I have a bullet going right and I flip the player the older way and shoot another bullet ALL the bullets on the screen turn 180.

I've tried to set either the bullets to trigger once, but that doesn't seem to fix it.

Do any of you have any clue how to fix it so that the bullets go in a constant direction for each single bullet, without having to flip sides if i shoot the other way?
B
5
G
1
Posts: 21
Reputation: 417

Post » Tue Jun 18, 2013 8:08 pm

@alexwdara
do you have a capx to view please
will try to help if get capx
B
40
S
12
G
6
Posts: 136
Reputation: 6,347

Post » Tue Jun 18, 2013 8:28 pm

@alexwdara without seeing your logic/events it is hard to guess but I would say you need to add a for each condition above the logic that turns the bullets.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,573

Post » Fri Jun 28, 2013 3:59 am

https://www.dropbox.com/s/rbst8mupmce365y/Charge_Shot.capx

This is what I have so far. I've tried adding both a for each condition and a trigger once
B
5
G
1
Posts: 21
Reputation: 417

Post » Fri Jun 28, 2013 4:49 am

You aren't picking your new bullet on the Release. Here:
Charge_Shot_bht.capx
ImageImageImage
B
71
S
21
G
212
Posts: 3,616
Reputation: 119,661

Post » Thu Jul 25, 2013 10:15 pm

I can't open it in construct since i only have v132.... is there anyway you can post a pick of what you did?
B
5
G
1
Posts: 21
Reputation: 417

Post » Fri Jul 26, 2013 1:30 pm

Can't you just change the bullet angle right after it is created?
B
10
S
1
Posts: 54
Reputation: 958


Return to How do I....?

Who is online

Users browsing this forum: ALLMarkMade, Yahoo [Bot] and 11 guests