Bullet angle after bounce off solid isn't round

Bugs will be moved here once resolved.

Post » Wed Aug 21, 2013 3:51 pm

Link to .capx file (required!):
https://docs.google.com/file/d/0B7p49JKt0CGLcXJ2c09UdkRjSGs/edit?usp=sharing

Steps to reproduce:
1. Run project
2. You can add "round" condition in the second event to solve the problem
round(Ball.Bullet.AngleOfMotion)

Observed result:
After bouncing angle of movement is -90.00000000000003
(thanks to the new debugger, text plugin shows that it's -90.0)
   
Expected result:
After bouncing angle of movement is -90

Browsers affected:
Firefox: yes
Opera: yes

Operating system & service pack:
Vista sp2
Construct 2 version:
139 as well as 141FMistakes2013-08-21 15:56:28
B
13
S
4
G
2
Posts: 22
Reputation: 1,516

Post » Wed Aug 21, 2013 4:22 pm

Closing as won't fix. This type of tiny inaccuracy is normal in computer games.
Scirra Founder
B
402
S
238
G
89
Posts: 24,644
Reputation: 196,095

Post » Wed Aug 21, 2013 4:49 pm

But any other event doesn't work without "round" condition if it's based on 90.0 degree movement after bouncing.

For example, a camera in my game depends on ball's angle of movement, and I've spent some time to find this problem.
B
13
S
4
G
2
Posts: 22
Reputation: 1,516


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest