How do I set bullet to move towards a touch.x and touch.y ?

Get help using Construct 2

Post » Sun Jul 13, 2014 3:37 pm

I have a spaceship and I would like to add a bullet behaviour to it. How can i use the bullet's Set angle of motion to point towards where I tap, specifically Touch.X and Touch.Y?

Thank you very much :)
Black Bobby The Hole Greenlit with 303 votes.
B
35
S
8
G
1
Posts: 163
Reputation: 2,979

Post » Sun Jul 13, 2014 6:44 pm

Any ideas? :[
Black Bobby The Hole Greenlit with 303 votes.
B
35
S
8
G
1
Posts: 163
Reputation: 2,979

Post » Sun Jul 13, 2014 8:08 pm

It's okey, I found out :P

Didn't know exactly how to use the angle expression, wasted like 2 hours (not kidding)

Image


Now all I need is to find out how I can rotate the player so the ship won't instantly turn the other way.
Black Bobby The Hole Greenlit with 303 votes.
B
35
S
8
G
1
Posts: 163
Reputation: 2,979

Post » Sun Jul 13, 2014 9:20 pm

Thanks!
B
16
S
2
Posts: 34
Reputation: 914


Return to How do I....?

Who is online

Users browsing this forum: Davlin, Madave96 and 6 guests