How do I shoot bullet other direction without moving others?

Get help using Construct 2

Post » Mon Sep 15, 2014 7:44 pm

Hi guys, I have still a problem...however one time I solved it and I read also tutorials...still not so clear.
How do I shoot a bullet from a mirrored player without that the previous bullets will turn direction...
I attach my simple settings...can U give me a easy solution ?

sample.jpg


thanks
You do not have the required permissions to view the files attached to this post.
B
37
S
16
G
2
Posts: 451
Reputation: 4,873

Post » Mon Sep 15, 2014 7:50 pm

Set angle of movement on spawn?
B
35
S
9
G
3
Posts: 493
Reputation: 4,092

Post » Mon Sep 15, 2014 7:53 pm

Hi , thanks, can u tell me in which position to place it and what exactly ?
Sorry I am new in C2
B
37
S
16
G
2
Posts: 451
Reputation: 4,873

Post » Mon Sep 15, 2014 10:10 pm

Event
X is down
condition
if pawn mirrored

actions:

spawn Bullet
set angle

that should work fine
B
19
S
6
G
3
Posts: 197
Reputation: 4,154

Post » Tue Sep 16, 2014 5:01 am

Uh maybe it's me...but it's not working...is there a capx that I can see ? Probably I still make mistakes...
sorry :/
B
37
S
16
G
2
Posts: 451
Reputation: 4,873

Post » Tue Sep 16, 2014 6:33 am

You should just make when Left or right pressed not down i think you'll get some problems on the way if you put it when down

and for the main question, try this:

Image
B
22
S
6
Posts: 244
Reputation: 2,700

Post » Tue Sep 16, 2014 9:54 am

Hi I tried it , thanks...there is only 1 small problem...if I turn left and shoot , there is with the correct bullets also a second one above ...do U know why ?
I attach the capx


thanks a lot !!!!!!!!!!!!!!
You do not have the required permissions to view the files attached to this post.
B
37
S
16
G
2
Posts: 451
Reputation: 4,873

Post » Tue Sep 16, 2014 11:21 am

this should help
You do not have the required permissions to view the files attached to this post.
B
19
S
6
G
3
Posts: 197
Reputation: 4,154

Post » Tue Sep 16, 2014 11:45 am

Thanks a lot :) I see subevents have a big importance...for now I did not use them often...is there a main rule why to use subevents ??

thanks soooo much !!!!!!!!!!!!!!!!!!!!!
B
37
S
16
G
2
Posts: 451
Reputation: 4,873

Post » Tue Sep 16, 2014 5:05 pm

the flow is like this:

beginn
1. Event
x. Event
Subevent
xxEvent.
End

from TOP to Bottom
B
19
S
6
G
3
Posts: 197
Reputation: 4,154

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 50 guests