Skip to content

Commit

Permalink
Xeltalliv/simple3D: add button to extra resources and improve sample …
Browse files Browse the repository at this point in the history
…project (#1593)
  • Loading branch information
Xeltalliv authored Jul 7, 2024
1 parent 7d4ba64 commit 034d737
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion extensions/Xeltalliv/simple3D.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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",
Expand Down
Binary file modified samples/Simple3D template.sb3
Binary file not shown.

0 comments on commit 034d737

Please sign in to comment.