Problem Description
sine set cycle position doesn't refresh the current X position until the next tick if the motion is set to horizontal, the self.sine.value itself is changed though (not showed here)
Attach a Capx
https://1drv.ms/u/s!AjkoCSebIn9JjDrxr8-o6KPOcPOQ
Description of Capx
A single lonely sprite is moving on its horizontal axis, with a sine, When you press R, the cycle position is saved, the layout restarts, and the cycle position is immediatelly set back, however, we can see the sprite being at its original position for one tick before going back to it's current position
Steps to Reproduce Bug
- run the capx inside the browser of your choice
- keep smashing R, see the teleporting sprite for one tick
Observed Result
when the layout restarts, the sprite is centered for one tick
Expected Result
the result to be invisible
Affected Browsers
- Chrome: Yes
- Opera:Yes
- Edge: Yes, it is even worse it seems
- nw.js : Yes
Operating System and Service Pack
Windows 10, do not know my service pack
Construct 2 Version ID
r240