shots diffrent directions

Get help using Construct 2

Post » Fri Dec 11, 2015 3:36 pm

Hi everyone. i make space shooter game. How to make that the enemies will shoot 3 bullets to 3 different directions?
B
8
S
3
Posts: 100
Reputation: 1,023

Post » Fri Dec 11, 2015 3:55 pm

Would this work for you?

on key pressed
> ship spawn bullet
> bullet set angle 0 degrees
> ship spawn bullet
> bullet set angle 45 degrees
> ship spawn bullet
> bullet set angle 315 degrees

There are ofcourse ways to do it with repeat 3 times and such, but basically this should work..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Dec 11, 2015 6:36 pm

LittleStain wrote:Would this work for you?

on key pressed
> ship spawn bullet
> bullet set angle 0 degrees
> ship spawn bullet
> bullet set angle 45 degrees
> ship spawn bullet
> bullet set angle 315 degrees

There are ofcourse ways to do it with repeat 3 times and such, but basically this should work..


thanks :) worked
B
8
S
3
Posts: 100
Reputation: 1,023


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 2 guests