Problem Description
"On animation finished"-triggered events don't happen within the same frame on some browsers. Works in Firefox, but not chrome, edge/explorer or NWJS.
Attach a Capx
http://s000.tinyupload.com/index.php?file_id=46074564502720182522
Description of Capx
A sprite animation with colored circles that move upwards plays so to give the illusion of upward motion. The same sprite is moved at the end of the animation and start over so it appears as if the balls continue moving, when in fact its the same sprite.
Steps to Reproduce Bug
- Start capx in one of the affected browsers.
- As the balls reach the small beige rectangles notice now a circle appears to "pop" (for a single frame so keep your eyes peeled)
Observed Result
The sprite get its new position before retriggering its animation, even though the events suggest that it should restart the animation and get the new position during the same frame.
Expected Result
No poppin but a smooth (though incremental) continuation of the sprite movement.
Affected Browsers
- Chrome: YES
- FireFox: NO
- Internet Explorer: YES
- NWJS: YES
Operating System and Service Pack
Win 10 pro
Construct 2 Version ID
r225 beta, also tested on r221 stable with identical results.