Problem Description
Sprite.Angle gives a close estimation (but not the exact number) of an instance angle that has been set on its properties.
Attach a Capx
https://www.dropbox.com/s/lq5d224p05xi8 ... .capx?dl=0
Description of Capx
4 instances of a sprite image have been placed with different angles: 0, 90, 180 and 270.
A text explains that you can click on sprites to check their angles.
Clicking a sprite will change the text to its angle.
Steps to Reproduce Bug
Observed Result
Angle 0 sprite returns 0.
Angle 90 sprite returns 90.0000025045.
Angle 180 sprite returns 180.000005009.
Angle 270 sprite returns 269.9999906653.
Expected Result
Angle 0 sprite returns 0.
Angle 90 sprite returns 90.
Angle 180 sprite returns 180.
Angle 270 sprite returns 270.
Affected Browsers
- Chrome: YES
- FireFox: YES
- Internet Explorer: YES
- Opera: YES
Operating System and Service Pack
Windows 7 Home Premium - Service Pack 1
Construct 2 Version ID
Release 233 (64-bit)