scratchfoundation / scratch-vm

Virtual Machine used to represent, run, and maintain the state of programs for Scratch 3.0
http://scratchfoundation.github.io/scratch-vm/
BSD 3-Clause "New" or "Revised" License
1.21k stars 1.51k forks source link

Compatibility - Project does not work in the same way #1161

Open thisandagain opened 6 years ago

thisandagain commented 6 years ago

Expected Behavior

Project should work in the same way in Scratch 2.0 and 3.0:

https://scratch.mit.edu/projects/212905864 https://llk.github.io/scratch-gui/develop/#212905864

Actual Behavior

Collecting a "star" after starting the game causes the "game over" state to fire.

Operating System and Browser

Mac OS 10.13.4 | Chrome Version 66.0.3359.181 (Official Build) (64-bit)

thisandagain commented 6 years ago

This needs investigation and a minimal repro case tracked down.

/cc @BryceLTaylor

BryceLTaylor commented 6 years ago

I'm not seeing that behavior. The game works fine for me on Scratch 3.0. There are a number of other issues, such as the restart button sprite not showing when you lose. There is also an issue with where the text renders in the paint editor on that sprite. I tried briefly to reproduce the issue without much luck by making a simple version of that project: https://scratch.mit.edu/projects/224782342 The project listed above is much more complicated, though.

TheLogFather commented 6 years ago

(I'm not seeing this behaviour in Chrome, FF or Safari [macOS10.13.3]... Are you sure you didn't just happen to touch the cat against the "End Game" sprite at the bottom right at about the same time you picked up a star? –That will send it to "game over". Can you check again...?)