scratchfoundation / scratch-gui

Graphical User Interface for creating and running Scratch 3.0 projects.
https://scratchfoundation.github.io/scratch-gui/develop/
BSD 3-Clause "New" or "Revised" License
4.47k stars 3.58k forks source link

Fallback software renderer request #2427

Open tomrow opened 6 years ago

tomrow commented 6 years ago

Would it be possible to add a fallback software renderer if WebGL is not set up on a user's browser? I don't think recommending that people toggle GPU blacklisting in the Chrome flags page would be a good idea.

thisandagain commented 6 years ago

Agreed! It's a pretty significant effort though. We'd love see some contributions from the community to help support this.

tomrow commented 6 years ago

A fork of Phosphorus player may be able to be used as a substitute for scratch-vm, and Blockly (vanilla at least) doesn't require WebGL to render blocks. It depends on the license, and how the other portions of Scratch are implemented. I would help myself but I have no knowledge in web programming and all the server dependencies that everything seems to use these days. I myself program in BASIC and very rudimentary Python.

thisandagain commented 6 years ago

Phosphorus is a Scratch to Javascript converter, not an interpreter. While parts of the rendering engine may be able to be extricated, the two architectures are fundamentally like comparing apples and elephants.

adroitwhiz commented 4 years ago

I'm not sure who's getting notifications on this issue anymore, but a while ago I created a canvas-based fork of scratch-render. This doesn't implement graphic effects (I'm not sure how to even do that without significantly slowing things down), but it's functional on devices that don't support WebGL.