Problem Description
The angle of motion of the bullet behavior is affected by setting its speed to 0.
Attach a Capx
http://www.amirai.net/bugs/bulletdirectionbug.zip
Description of Capx
It has three events. Preview three times with only one of the events enabled at a time.
Event 1 works properly. The white sprites move in the opposite direction of the grey one.
In event 2, by setting the bullet speed to 0 before setting the angle, the white sprites move either left or right.
In event 3, moving the angle action after the second action to set the speed overrides the bug and it works properly.
Steps to Reproduce Bug
Open the capx, it should have events 1 and 3 disabled, and 2 enabled. Preview.
Observed Result
The white sprites move either left or right.
Expected Result
The white sprites should move in the opposite direction of the grey sprite.
Affected Browsers
I know the list of browsers I can test is sub-optimal, but it's the best my computer can manage and I'm confident it's not a browser bug.
- Chrome (out of date, the newest versions don't support my computer anymore): (YES)
- FireFox: (Can't test it, Firefox doesn't work on my computer for reasons I don't understand)
- Internet Explorer 8: (YES)
- Nw.js v0.15.0 (v0.16.0 doesn't work on my computer): (YES)
Operating System and Service Pack
Vista SP2
Construct 2 Version ID
231