ScratchIntegrator/ScratchEmbedded is a script for adding embedded Scratch projects to MediaWiki pages with alternative support for Turbowarp to make things run faster.
Installation
- Importing multiple scripts? This quick guide shows how to combine the imports.
- For site-wide use, an administrator can add the line below to the wiki's MediaWiki:ImportJS page.
dev:ScratchEmbedded.js
Structure
For Scratch:
<span class="ScratchEmbeddedProject" data-widget-id="replacemewithprojectid" style="width: 485px; height: 402px;"></span>
For Turbowarp:
<span class="TurbowarpEmbeddedProject" data-widget-id="replacemewithprojectid" style="width: 485px; height: 402px;"></span>
For Penginmod:
<span class="PenginmodEmbeddedProject" data-widget-id="replacemewithprojectid" style="width: 485px; height: 402px;"></span>
Demos
These are demos of the Turbowarp mode, as the projects used as demos are very complex and often run slowly on regular scratch.
Demo 1 (Crystal Seeker 3D)
Demo 2 (3D Minecraft)
Demo 3 (2D Physics Engine)
Text above can be found here (edit)