Scratch-gui: Cannot click "play" button in this 2.0 project

Created on 7 Dec 2017  路  2Comments  路  Source: LLK/scratch-gui

Expected Behavior

_Please describe what should happen_

After hitting the green flag, hitting the button labeled "play" should start the game.

Actual Behavior

_Describe what actually happens_

It does not start the game.

Steps to Reproduce

_Explain what someone needs to do in order to see what's described in Actual behavior above_

  1. Open this project https://llk.github.io/scratch-gui/develop/#177260519
  2. Click green flag
  3. Click "play"

Operating System and Browser

Mac 10.12.6, Chrome 62.0.3202.94


Investigating further, I also noticed you cannot open the costume editor for many of these sprites, including the button sprite that also cannot be clicked. There is the scratch-paint SVG import failed: error, and similar to the watermelon costume, the svg has these strange prefixed <svg:svg ...> tags. I wonder if this is related to not being able to click it, possibly the renderer can render it but is having trouble measuring the bounding box or something?

compatibility critical has-patch

Most helpful comment

This would actually explain quite a few of the compatibility problems we have been seeing on other projects as well. Raising this to critical.

All 2 comments

Following up from that investigation, I believe the costume editor connection is a red herring. It is tracked in https://github.com/LLK/scratch-paint/issues/209.

I believe I've found the root cause: hidden sprites can still block blocks. For example, this project has a big sprite in front of the cat that is hidden on green flag. You cannot click the cat. However, in scratch 2, you can. https://llk.github.io/scratch-gui/develop/#191710132

@cwillisf this seems like a picking problem?

This would actually explain quite a few of the compatibility problems we have been seeing on other projects as well. Raising this to critical.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ericrosenbaum picture ericrosenbaum  路  4Comments

davidaylaian picture davidaylaian  路  4Comments

thisandagain picture thisandagain  路  3Comments

chrisgarrity picture chrisgarrity  路  4Comments

kyleplo picture kyleplo  路  4Comments