Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » Creating extensions for Scratch 3.0
- netmille2000
- New to Scratch
8 posts
Creating extensions for Scratch 3.0
I am a software developer very interested in creating STEM based extensions for Scratch 3.0. I have already begun developing extensions for upcoming Scratch 3.0 and have some questions.
Questions
———–
1. Currently, I am installing my extensions as ‘built in’ extensions akin to other extensions
that are distributed with ‘scratch-gui’ project. Is this still the ‘only way’ to test custom built extensions?
2. Has an official date been determined for when Scratch Team will publish ‘final’ specifications/guidelines for “unofficial” extensions?
I understand that these extensions can only be used within the ‘offline’ version of Scratch 3.0.
3. Has an official date been determined for when Scratch Team will accept ‘extension’ to be included with ‘official’ extensions?
Please advise.
Questions
———–
1. Currently, I am installing my extensions as ‘built in’ extensions akin to other extensions
that are distributed with ‘scratch-gui’ project. Is this still the ‘only way’ to test custom built extensions?
2. Has an official date been determined for when Scratch Team will publish ‘final’ specifications/guidelines for “unofficial” extensions?
I understand that these extensions can only be used within the ‘offline’ version of Scratch 3.0.
3. Has an official date been determined for when Scratch Team will accept ‘extension’ to be included with ‘official’ extensions?
Please advise.
- _cosei
- Scratcher
4 posts
Creating extensions for Scratch 3.0
Now I need help.
I want to implement my extension blocks and menus to be multi lingual.
So, I read Scratch-3.0-Extensions-Specification and implemented “translation_map” option. But it didn't work. For example, It always displays the default extension name “Mincramming Junior” whatever locale is.
My source is like below…
What is wrong with it?
—
getInfo () {
return {
id: Scratch3Micramming1Blocks.EXTENSION_ID,
name: formatMessage({
id: ‘extensionName’,
default: ‘Mincramming Junior’,
description: ‘Extension name’
}),
blocks: [
{
opcode: ‘Chat’,
text: formatMessage({
id: ‘Micramming1.ChatBlock’,
default: 'チャットする「 」',
description: ‘マインクラフトにメッセージを送ります。’
}),
blockType: BlockType.COMMAND,
arguments: {
MSG: {
type: ArgumentType.STRING,
defaultValue: formatMessage({
id: ‘Micramming1.DefaultChat’,
default: ‘こんにちは!’,
description: ‘hello: the default’
}),
description: ‘hello: the default’
}
}
},
~~~~~~~~~~~~~
~~~~~~~~~~~~~
translation_map: {
‘ja’: {
‘extensionName’: ‘マイクラミング 低学年’,
‘Chat’: 'チャットする「 」',
‘Chat.MSG_default’: ‘こんにちは!’
},
‘ja-Hira’: {
‘extensionName’: ‘マイクラミング ジュニア’,
‘Chat’: 'チャットする「 」',
‘Chat.MSG_default’: ‘こんにちは!’
},
‘en’: {
‘extensionName’: ‘Micramming Junior’,
‘Chat’: 'Send to chat ',
‘Chat.MSG_default’: ‘Hello!’
}
}
—
I am developing an extension with scratch-vm. And I have succeeded to make some original blocks to manipulate a Minecraft's world through Rapsberry-Pi mod.
I want to implement my extension blocks and menus to be multi lingual.
So, I read Scratch-3.0-Extensions-Specification and implemented “translation_map” option. But it didn't work. For example, It always displays the default extension name “Mincramming Junior” whatever locale is.
My source is like below…
What is wrong with it?
—
getInfo () {
return {
id: Scratch3Micramming1Blocks.EXTENSION_ID,
name: formatMessage({
id: ‘extensionName’,
default: ‘Mincramming Junior’,
description: ‘Extension name’
}),
blocks: [
{
opcode: ‘Chat’,
text: formatMessage({
id: ‘Micramming1.ChatBlock’,
default: 'チャットする「 」',
description: ‘マインクラフトにメッセージを送ります。’
}),
blockType: BlockType.COMMAND,
arguments: {
MSG: {
type: ArgumentType.STRING,
defaultValue: formatMessage({
id: ‘Micramming1.DefaultChat’,
default: ‘こんにちは!’,
description: ‘hello: the default’
}),
description: ‘hello: the default’
}
}
},
~~~~~~~~~~~~~
~~~~~~~~~~~~~
translation_map: {
‘ja’: {
‘extensionName’: ‘マイクラミング 低学年’,
‘Chat’: 'チャットする「 」',
‘Chat.MSG_default’: ‘こんにちは!’
},
‘ja-Hira’: {
‘extensionName’: ‘マイクラミング ジュニア’,
‘Chat’: 'チャットする「 」',
‘Chat.MSG_default’: ‘こんにちは!’
},
‘en’: {
‘extensionName’: ‘Micramming Junior’,
‘Chat’: 'Send to chat ',
‘Chat.MSG_default’: ‘Hello!’
}
}
—
I am developing an extension with scratch-vm. And I have succeeded to make some original blocks to manipulate a Minecraft's world through Rapsberry-Pi mod.
- thiyagesh
- Scratcher
49 posts
Creating extensions for Scratch 3.0
If you do not have the blue tooth connection to micro: bit, how can you connect with Scratch 3. 0.
⭐ and ❤ and follow please. I'm making new and cool games.
- _cosei
- Scratcher
4 posts
Creating extensions for Scratch 3.0
The extension for Scrathc3.0 to program a Minecraft world, that I have almost finished build.
You can play it from below URL.
https://manaviva.github.io/scratch-gui/
Caution!!
(1) You can use blocks without “| helper” label at their tail.
These are only for memberships.
(2) This requires “raspberryjammod” based on Forge extension.
Please see below and install them before trying above extension.
https://github.com/arpruss/raspberryjammod
I hope you enjoy it.
スクラッチ3.0 でも、マインクラフトの世界をプログラミングできるようにしました。
公開したのでお試しください。
https://manaviva.github.io/scratch-gui/
注意事項!
(1) ブロックの末尾に「ヘルパー」の表示がある物は使えません。
会員専用で、別途、ヘルパーをインストールする必要があります。
(2) 事前にラズパイmodをインストールしておく必要があります。
もちろんmodにはForgeのインストールも必要です。詳細は以下をご覧ください。
https://github.com/arpruss/raspberryjammod
お楽しみいただければ。
You can play it from below URL.
https://manaviva.github.io/scratch-gui/
Caution!!
(1) You can use blocks without “| helper” label at their tail.
These are only for memberships.
(2) This requires “raspberryjammod” based on Forge extension.
Please see below and install them before trying above extension.
https://github.com/arpruss/raspberryjammod
I hope you enjoy it.
スクラッチ3.0 でも、マインクラフトの世界をプログラミングできるようにしました。
公開したのでお試しください。
https://manaviva.github.io/scratch-gui/
注意事項!
(1) ブロックの末尾に「ヘルパー」の表示がある物は使えません。
会員専用で、別途、ヘルパーをインストールする必要があります。
(2) 事前にラズパイmodをインストールしておく必要があります。
もちろんmodにはForgeのインストールも必要です。詳細は以下をご覧ください。
https://github.com/arpruss/raspberryjammod
お楽しみいただければ。
Last edited by _cosei (Oct. 30, 2018 05:57:05)
- uwedamm
- New to Scratch
1 post
Creating extensions for Scratch 3.0
I want lego boost!
There's already one but it was temporarily removed as a Speech extension
Hello OnMax,
could you explain a bit for a Newbee?
I found the extensions in:
https://github.com/LLK/scratch-vm/tree/develop/src/extensions/
and there was no legoboost like file inside (like you said), but unluckily I was not able to find “Speech extension”
thanx
Uwe
PS:
My goal is the following project (If there is someone with similar setup, I would be really happy to perform some review, etc.)
- RPI 3 with BLE
- Arduino nano with IR diode (I will try to create myown extension, using RS232 as interface to the Arduino
- Lego Boost with 3 motors, color/distance sensor Tilt sensors, LED controlled by BLE
- Lego train with IR (red/blue,1..4 channels)
- OnMax
- Scratcher
51 posts
Creating extensions for Scratch 3.0
I want lego boost!
There's already one but it was temporarily removed as a Speech extension
Hello OnMax,
could you explain a bit for a Newbee?
I found the extensions in:
https://github.com/LLK/scratch-vm/tree/develop/src/extensions/
and there was no legoboost like file inside (like you said), but unluckily I was not able to find “Speech extension”
thanx
Uwe
PS:
My goal is the following project (If there is someone with similar setup, I would be really happy to perform some review, etc.)
- RPI 3 with BLE
- Arduino nano with IR diode (I will try to create myown extension, using RS232 as interface to the Arduino
- Lego Boost with 3 motors, color/distance sensor Tilt sensors, LED controlled by BLE
- Lego train with IR (red/blue,1..4 channels)
Hi! @thisandagain said that they are testing Scratch 3.0 in schools, but then they're gonna put lego boost back. They are already there, coz I've responded very late.
… i guess, i just do something here
- glowcouch
- Scratcher
15 posts
Creating extensions for Scratch 3.0
How do you make extensions?
I would make blocks like these but gray.
I would make blocks like these but gray.
comment:[]
comment:[]{
}
Last edited by glowcouch (Jan. 2, 2019 23:18:46)
- Sheep_maker
- Scratcher
1000+ posts
Creating extensions for Scratch 3.0
Very simple! how do you make extensions?
I would make blocks like these but gray.comment:[]
comment:[]{
}
- Know JavaScript
- Read this
- See these
- Get scratch-vm
- Add your extension the extensions folder I linked to in #3
- Sheep_maker This is a kumquat-free signature. :P
This is my signature. It appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
- glowcouch
- Scratcher
15 posts
Creating extensions for Scratch 3.0
Thanks that was fast.Very simple! how do you make extensions?
I would make blocks like these but gray.comment:[]
comment:[]{
}It's that easy!
- Know JavaScript
- Read this
- See these
- Get scratch-vm
- Add your extension the extensions folder I linked to in #3
Last edited by glowcouch (Jan. 2, 2019 23:19:21)
- ScratchFoxBot
- Scratcher
3 posts
Creating extensions for Scratch 3.0
Very simple!It's that easy!
- Know JavaScript
- Read this
- See these
- Get scratch-vm
- Add your extension the extensions folder I linked to in #3
“Easy”
I know a lot a Javascript and have done “full-stack engineering” but this Scratch 3.0 extension stuff is still way above my head.
I'm trying to make a Speech-To-Text extension (since the ST never finished theirs) and the actual JS is very easy to code, but working it into a S3.0 extension is being a pain.
Is there no easier way to run/test/compile extensions than setting up some repository? I don't have any idea of how to test my extension even after I clone the scratch-vm. I've read almost every post in Discussion Forums » Developing Scratch Extensions about making Scratch 3.0 extension but most of them are out-dated, contradicting, and very complex.
Maybe it's because I understand little-to-nothing about Node JS (although I don't see why it's at all necessary)
I wish someone would make a YouTube video/series showing how to make a Scratch 3.0 extension from scratch and run/test it
- JGames101
- Scratcher
100+ posts
Creating extensions for Scratch 3.0
The reason making Scratch 3 extensions is so difficult right now is because the spec isn't done, so they haven't published proper documentation or ways to test them yet. That will be coming later this year, but for now, we're mostly on our own.Very simple!It's that easy!
- Know JavaScript
- Read this
- See these
- Get scratch-vm
- Add your extension the extensions folder I linked to in #3
“Easy”
I know a lot a Javascript and have done “full-stack engineering” but this Scratch 3.0 extension stuff is still way above my head.
I'm trying to make a Speech-To-Text extension (since the ST never finished theirs) and the actual JS is very easy to code, but working it into a S3.0 extension is being a pain.
Is there no easier way to run/test/compile extensions than setting up some repository? I don't have any idea of how to test my extension even after I clone the scratch-vm. I've read almost every post in Discussion Forums » Developing Scratch Extensions about making Scratch 3.0 extension but most of them are out-dated, contradicting, and very complex.
Maybe it's because I understand little-to-nothing about Node JS (although I don't see why it's at all necessary)
I wish someone would make a YouTube video/series showing how to make a Scratch 3.0 extension from scratch and run/test it
- PullJosh
- Scratcher
1000+ posts
Creating extensions for Scratch 3.0
I've actually been considering making one, but – as JGames101 mentioned – things are still changing, so it doesn't seem like it's worth the effort quite yet. (I wouldn't want to end up with an outdated tutorial!) I wish someone would make a YouTube video/series showing how to make a Scratch 3.0 extension from scratch and run/test it
In the meantime, this post I wrote a while back might help? https://scratch.mit.edu/discuss/topic/291695/?page=54#post-3310164
- FelipeNadhelBR
- Scratcher
7 posts
Creating extensions for Scratch 3.0
Test
<[ ] seconds passed?>
Olá, sou o FelipeNadhel!
when green flag clicked
add [windows] to [os]
if <[game engine] = [godot,scratch,unity]> then
say [ok]
else
say [oh no]
end
- The_Imagineer_
- Scratcher
100+ posts
Creating extensions for Scratch 3.0
how do you make them? i understand they are made in java but like what software etc.
im back baby
- Sheep_maker
- Scratcher
1000+ posts
Creating extensions for Scratch 3.0
No, they're made in JavaScript how do you make them? i understand they are made in java but like what software etc.
You need a text editor to make them and a web browser to execute them.
The ST hasn't decided on how to allow custom extensions; they'll tell us later.
- Sheep_maker This is a kumquat-free signature. :P
This is my signature. It appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
- MrAwesomeScratcher
- Scratcher
23 posts
Creating extensions for Scratch 3.0
extensionURL has become extensionId!!!!!I had to read through 3 pages before I found that.
Last edited by MrAwesomeScratcher (Jan. 13, 2019 00:11:37)
- The_Imagineer_
- Scratcher
100+ posts
Creating extensions for Scratch 3.0
WE NEED SPEECH TO TEXT!
im back baby
- timo123456
- Scratcher
10 posts
Creating extensions for Scratch 3.0
it can't: the micro:bit is already using its antenna for a bluetooth connection with your device. I wish scratch have radio blocks for micro;bit
- jedichris2006
- Scratcher
3 posts
Creating extensions for Scratch 3.0
when I receive [ 3.0]
forever
wait until <bugs>end
Last edited by jedichris2006 (Jan. 28, 2019 23:27:10)
- Discussion Forums
- » Developing Scratch Extensions
- » Creating extensions for Scratch 3.0