You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found a scenario where Flash Player and Ruffle differ. I have produced a MWE here demonstrating the issue.
I first encountered this bug with my game, Zeta Flow. When a laser weapon is destroyed, the red laser that shoots out is also supposed to be removed. (in Flash it is removed; in Ruffle it remains).
This uses:
Flash version 6 (Flash MX)
Action Script 1
I tested desktop, self-hosted web, and CDN web versions of Ruffle (on Windows 10). I believe all versions of Ruffle affected.
I narrowed down the problem to a reference to a movie clip that doesn't get cleared when the movie clip is removed. In the MWE below, just follow the steps to reproduce the problem.
My game (Zeta Flow) relies on this behavior. The laser is supposed to remove itself when the gun is destroyed. In hindsight (15 years later), I could have programmed this differently (and more efficiently) to avoid this. Maybe I'll go and change the code now in order to fix the game! But nonetheless, this highlights a difference in behavior.
After writing this I looked at some other open issues, and now I'm realizing this issue may be the same as the one identified here and may possibly be resolved by #5492.
I'll post this issue anyway in case it provides a useful test case.
The text was updated successfully, but these errors were encountered:
Describe the bug
I have found a scenario where Flash Player and Ruffle differ. I have produced a MWE here demonstrating the issue.
I first encountered this bug with my game, Zeta Flow. When a laser weapon is destroyed, the red laser that shoots out is also supposed to be removed. (in Flash it is removed; in Ruffle it remains).
This uses:
I tested desktop, self-hosted web, and CDN web versions of Ruffle (on Windows 10). I believe all versions of Ruffle affected.
I narrowed down the problem to a reference to a movie clip that doesn't get cleared when the movie clip is removed. In the MWE below, just follow the steps to reproduce the problem.
Online demo: https://tmp.skylogic.ca/ruffle_MWE/
SWF: https://tmp.skylogic.ca/ruffle_MWE/MWE.swf
FLA: https://tmp.skylogic.ca/ruffle_MWE/MWE.fla
My game (Zeta Flow) relies on this behavior. The laser is supposed to remove itself when the gun is destroyed. In hindsight (15 years later), I could have programmed this differently (and more efficiently) to avoid this. Maybe I'll go and change the code now in order to fix the game! But nonetheless, this highlights a difference in behavior.
Expected behavior
The code boils down to this:
In Flash Player, "gun_reference" is correctly empty, but in Ruffle it lives on.
Flash Player:
Ruffle:
Affected platform
Desktop app
Operating system
Windows 10
Browser
Chrome Version 108.0.5359.126
Additional information
After writing this I looked at some other open issues, and now I'm realizing this issue may be the same as the one identified here and may possibly be resolved by #5492.
I'll post this issue anyway in case it provides a useful test case.
The text was updated successfully, but these errors were encountered: