bouncing at an angle

Get help using Construct 2

Post » Thu May 10, 2012 11:41 am

Hi, I am considering incorporating a beam weapon into one of the my space shoot em up games. But can anyone advise on how best to do the following (or provide a capx example)

The weapon would fire in a straight line, but when it hits an enemy object it bounces off at an appropriate angle to the angle it was tranvelling and the angle of collision edge on the object that it hits.
B
25
S
7
G
5
Posts: 185
Reputation: 5,056

Post » Thu May 10, 2012 2:12 pm

Check out "Bouncing Bullets.capx" in the Examples folder.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Fri May 11, 2012 7:15 pm

haha... all this time i never even knew about that folder... lol.
B
25
S
7
G
5
Posts: 185
Reputation: 5,056


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests