How do I different bullets

Get help using Construct 2

Post » Sun Mar 16, 2014 6:56 pm

Hello, i was starting with Construct2 one day ago and after finished the tutorial I have questions about the bullet/weapons system.

If I want to do a shooter game, for example, an space ships one and I want to create different weapons with the same sprite (like a doble or triple shot only from one point of the ship with different separation angles) how i can modify the properties of this bullet objects to get that.

Thank's for the help.
B
22
S
3
Posts: 78
Reputation: 1,139

Post » Sun Mar 16, 2014 11:39 pm

Ok, Welcome to Construct 2. It's nice to finish the tutorial first.
In the page 5 of the basic tutorial, you can see :

Condition : Left mouse Clicked
Action : Player spawn bullet

Make sure that 'Set angle' to 'Yes' in the bullet behavior properties.
(and you can give the value 'off' to 'Set angle' option and try again to see the difference.)
You can modify it like this for the triple shot.

Condition : Left mouse Clicked
Action : Player spawn bullet
Action : Player spawn bullet
Action : Bullet set angle (bullet.angle - 15)
Action : Player spawn bullet
Action : Bullet set angle (bullet.angle + 15)

It's related how to 'Pick' something. 'Picking' is so important when you go deep into C2, so you may check another tutorial or forum threads about this.
B
23
S
8
G
1
Posts: 172
Reputation: 2,780

Post » Mon Mar 17, 2014 1:03 pm

thanks, last night I finded other metode but with this I will can do diferent weapons.
B
22
S
3
Posts: 78
Reputation: 1,139


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 30 guests