Xeltalliv/simple3D: add button to extra resources and improve sample project (#1593)

This commit is contained in:
Xeltalliv 2024-07-07 20:22:06 +03:00 committed by GitHub
parent 7d4ba648ae
commit 034d737a80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View File

@ -3,7 +3,7 @@
// Description: Make GPU accelerated 3D projects easily.
// By: Vadik1 <https://scratch.mit.edu/users/Vadik1/>
// License: MPL-2.0 AND BSD-3-Clause
// Version: 1.0.3
// Version: 1.0.4
(function (Scratch) {
"use strict";
@ -1629,6 +1629,14 @@ void main() {
runtime.on("PROJECT_LOADED", resetEverything);
const definitions = [
{
blockType: BlockType.BUTTON,
text: "Open extra resources",
func: "openSite",
def: function () {
Scratch.openWindow("https://xeltalliv.github.io/simple3d-extension/");
},
},
{
blockType: BlockType.BUTTON,
text: "Open sample project",

Binary file not shown.