Link to .capx file (required!):
mediafire.com
Steps to reproduce:
The capx only has one sprite, called S1, which has 8 frames and has 8direction behavior, setting only to be able to move left and right.
In the event sheet, I simply have:
- Every tick: S1: set animation speed of this sprite to S1.8diection.Speed/30.
S1 has two animations: Default and pingpong. Both are identical, except having Ping Pong feature on or off.
Observed result:
Setting animation speed seems to cause ping pong feature to reset its state to "non-reversal". This will cause the animation sprite to stuck in the last few frames, instead of going back and forth. (run the .capx, try move left and right until you see frame 6-7 and you will see what I mean)
Expected result:
Setting animation speed should not interrupt ping pong feature.
Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes
Operating system & service pack:
Win7 64 bits
Construct 2 version:
r152 64 bits