Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » New VM Extension: GameUtils
- showierdata9978
-
Scratcher
100+ posts
New VM Extension: GameUtils
WIP THREADGameUtilsThe Extension that Loads Sprites, costumes, etc.SourceNOTE: Extension needs to be unsandboxedFeatures
- Loading Sprites (untested due to vm._createSprite3 args)
- Deleting sprites
- Recovering Deleted sprites
- playing sounds from a url
Last edited by showierdata9978 (Sept. 30, 2022 15:20:35)
- MagicCrayon9342
-
Scratcher
1000+ posts
New VM Extension: GameUtils
you aren't allowed to mention browser extensions
Last edited by MagicCrayon9342 (Sept. 28, 2022 22:41:32)
- showierdata9978
-
Scratcher
100+ posts
New VM Extension: GameUtils
its not a browser ext, its a vm extension
- DifferentDance8
-
Scratcher
1000+ posts
New VM Extension: GameUtils
you aren't allowed to mention browser extensionsThis isn't a browser extension. That can add blocks, but usually, they edit portions of the site and add stuff in (so nono word is a browser extension, and why people are calling that “nono word”)
This is a VM extension, which modifies scratch-vm (and presumably other scratch-* repositories) but NOT scratch-www (which is the website itself). So basically a mod but not a mod at the same time.
EDIT:
to be more specific its a block extension like pen, or tts. that has full access to the vm and can do anything to the vm, and the vm cant do much about it because its not in a browser worker that sandboxes the code
Last edited by DifferentDance8 (Sept. 29, 2022 13:42:34)
- showierdata9978
-
Scratcher
100+ posts
New VM Extension: GameUtils
you aren't allowed to mention browser extensionsThis isn't a browser extension. That can add blocks, but usually, they edit portions of the site and add stuff in (so nono word is a browser extension, and why people are calling that “nono word”)
This is a VM extension, which modifies scratch-vm (and presumably other scratch-* repositories) but NOT scratch-www (which is the website itself). So basically a mod but not a mod at the same time.
to be more specific its a block extension like pen, or tts. that has full access to the vm and can do anything to the vm, and the vm cant do much about it because its not in a browser worker that sandboxes the code
also, it should be clear that this a block ext from the code lmao ( https://github.com/showierdata9978/GameUtils/blob/master/src/GameUtils.js#L147-L159)
Last edited by showierdata9978 (Sept. 29, 2022 13:36:27)
- CST1229
-
Scratcher
1000+ posts
New VM Extension: GameUtils
Just letting you know, in case you don't follow the extension directory by the way:
( on another topic )
sheeptester's scratch-gui fork can load scripts from URL: https://sheeptester.github.io/scratch-gui/?load_plugin=https://showierdata9978.github.io/GameUtils/src/GameUtils.js
- know0your0true0color
-
Scratcher
500+ posts
New VM Extension: GameUtils
yeah this is a scratch extension
that adds blocks which can do stuff with scratch vm
like
vm.createSprite();
normally scratch extensions cant do that but there is ways to make it so you can
also should this be here or extensions topic?
like
vm.createSprite();
normally scratch extensions cant do that but there is ways to make it so you can
also should this be here or extensions topic?
Last edited by know0your0true0color (Sept. 30, 2022 20:02:19)
- showierdata9978
-
Scratcher
100+ posts
New VM Extension: GameUtils
yeah this is a scratch extension that adds blocks which can do stuff with scratch vm
like
vm.createSprite();
normally scratch extensions cant do that but there is ways to make it so you can
also should this be here or extensions topic?
Btw, thats called A non sandboxed extension,
also every extension form iv seen is in AT
- CST1229
-
Scratcher
1000+ posts
New VM Extension: GameUtils
( #8 )This Scratch extension is not a sandboxed one that can be loaded in things like TurboWarp's custom extension system; it's an unsandboxed one (like the built-in extensions) that must be run directly on the page..
yeah this is a scratch extension that adds blocks which can do stuff with scratch vm
like
vm.createSprite();
normally scratch extensions cant do that but there is ways to make it so you can
also should this be here or extensions topic?
- know0your0true0color
-
Scratcher
500+ posts
New VM Extension: GameUtils
yes or use sheeptester mod lol( #8 )This Scratch extension is not a sandboxed one that can be loaded in things like TurboWarp's custom extension system; it's an unsandboxed one (like the built-in extensions) that must be run directly on the page..
yeah this is a scratch extension that adds blocks which can do stuff with scratch vm
like
vm.createSprite();
normally scratch extensions cant do that but there is ways to make it so you can
also should this be here or extensions topic?
oooor use a scratch extension inject bookmarklet on turbowarp
- Redstone1080
-
Scratcher
1000+ posts
New VM Extension: GameUtils
You mean Eyangiques??~snipped quotes~yes or use sheeptester mod lol
Hoping this spelling will catch on lol
- know0your0true0color
-
Scratcher
500+ posts
New VM Extension: GameUtils
YesYou mean Eyangiques??~snipped quotes~yes or use sheeptester mod lol
Hoping this spelling will catch on lol
- know0your0true0color
-
Scratcher
500+ posts
New VM Extension: GameUtils
what does this do?Read the features

Also by loading sprites it means it can add sprites to the project(while running I think)
- know0your0true0color
-
Scratcher
500+ posts
New VM Extension: GameUtils
suggestion: add unsandboxed eval block
- know0your0true0color
-
Scratcher
500+ posts
New VM Extension: GameUtils
Last edited by know0your0true0color (Oct. 8, 2022 13:38:30)
- Discussion Forums
- » Advanced Topics
- » New VM Extension: GameUtils


