Spread shot?

Get help using Construct 2

Post » Mon Nov 19, 2012 8:25 pm

I'm trying that the "Enemy3" (red bee) spreadshot every X seconds but I have some problems with the angles...

I know I have to create the bullet on Enemy3.ImagepointX and Y then set the angle (player.angle) just like I did with the spawn. But how do I let him shoot in three ways? Like this:


Here is my project
https://www.dropbox.com/s/4q68s2ys67edflw/New%20project.caproj

EDIT: Oh yeah, I have a little problem with the "Vida 100/100" how do I lock it so it doesn't dissapear?Alpaca2012-11-19 20:30:14
B
3
Posts: 13
Reputation: 376

Post » Mon Nov 19, 2012 10:49 pm

Assuming that it shoots in front of the bee, it is pretty simple. Spawn 3 projectiles. Then for one of the projectiles, set it to rotate its angle 30 degrees clockwise (or however many degrees), and then for another one of the projectiles set it to rotate 30 (or however many) degrees counter-clockwise, and leave the third one shooting straight (assuming you want it to go straight).
B
19
S
6
G
5
Posts: 98
Reputation: 4,484

Post » Mon Nov 19, 2012 11:49 pm

try this: http://db.tt/5fznXeZk
B
12
S
2
G
2
Posts: 96
Reputation: 1,583

Post » Tue Nov 20, 2012 12:02 am

Sorry forgot to say it, I solved my problem...thanks a lot for your help!!
B
3
Posts: 13
Reputation: 376


Return to How do I....?

Who is online

Users browsing this forum: DiabloOvermind, MrWhizm, Skebab, spcsmrf and 23 guests