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
In the game Clicker Monsters(AVM1), you earn coins every time you defeat a monster. (Coins are generated indefinitely, regardless of whether you clear the stage or not.)
However, after you collect a total of 100 coins, no more coins appear for defeating monsters.
If you move to a different stage or purchase an upgrade, the problem persists.
However, after restarting the game to load your saved history, the coins will appear again.
(If the video doesn't play, you can download it to watch)
clicker-monsters.mp4
Expected behavior
You should be able to earn coins every time you defeat a monster.
The issue occurs when a removed MovieClip is passed to a function named removeSpider in DefineSprite 927. Ruffle mistakenly passes a boxed undefined instead of the reference to the removed clip. An example that demonstrates this:
var mc =this.createEmptyMovieClip("mc", 1);
removeMovieClip(mc);
f(mc);function f(a) {
trace(a == undefined); // false in Flash, true in Ruffle
}
Previously, removed MovieClips that were passed to a function using one
of CallFunction/CallMethod/NewObject/NewMethod were coerced to a boxed
undefined object.
Fixesruffle-rs#15265
Previously, removed MovieClips that were passed to a function using one
of CallFunction/CallMethod/NewObject/NewMethod were coerced to a boxed
undefined object.
Fixesruffle-rs#15265
Describe the bug
In the game Clicker Monsters(AVM1), you earn coins every time you defeat a monster. (Coins are generated indefinitely, regardless of whether you clear the stage or not.)
However, after you collect a total of 100 coins, no more coins appear for defeating monsters.
If you move to a different stage or purchase an upgrade, the problem persists.
However, after restarting the game to load your saved history, the coins will appear again.
(If the video doesn't play, you can download it to watch)
clicker-monsters.mp4
Expected behavior
You should be able to earn coins every time you defeat a monster.
Content Location
Attached file:
clicker-monsters.zip
Affected platform
Desktop app
Operating system
Windows 10 22H2
Browser
Google Chrome 121
Additional information
No response
The text was updated successfully, but these errors were encountered: