Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » Creating extensions for Scratch 3.0
- H-1r0br1b2s
-
35 posts
Creating extensions for Scratch 3.0
Uhm, I can't add it to TurboWarp…
say [BRRRRRRRRRRRRRRRRRRRRRRRRRRRUUUUUUUUUUHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH...] for [ever] :: looks
- ExpungleCat2023
-
13 posts
Creating extensions for Scratch 3.0
I have read other Scratchers talk about this stuff, but how about Sounds+?
Also, I find it really annoying that Scratch incorporates Pitch AND Speed at the same time with effects, so why not seperate them?
Are you up to the challenge, @LilyMakesThings ?
((pitch v) effect :: sound)
play sound [soundname v] at [2.56] seconds [until done v] :: sound
start sound [soundname v] at [2.56] seconds [until done v] :: sound
pause all sounds in sprite :: sound
resume all sounds in sprite :: sound
pause sound [soundname v] in (Sprite1 v) :: sound
resume sound [soundname v] in (Sprite1 v) :: sound
<playing sound? :: sound>
Also, I find it really annoying that Scratch incorporates Pitch AND Speed at the same time with effects, so why not seperate them?
set [pitch v] effect to [100] ::sound
set [speed v] effect to [42] ::sound
(negative speed would play it backward)
set [pan left/right v] effect to [19] :: sound
Are you up to the challenge, @LilyMakesThings ?
- THE_diamond_2021cat
-
24 posts
Creating extensions for Scratch 3.0
move (5) steps :: hat
forever :: #FF0000
forever :: #FFFF00
forever :: #00FF00
forever :: #00FFFF
forever :: #0000FF
forever :: #FF00FF
wait until <not <<<true :: variables> nand <false :: variables>:: operators> xor <true :: variables>:: operators>
end
end
end
end
end
end
repeat until <5 :: variables>
set next block color to [#511b0a] :: pen
set next block color to [#0Fa2b5] :: #511b0a
move (<true :: variables> as number :: operators) steps :: #0Fa2b5
end
define forever
say (days since (2100) :: sensing)
(force calculate ((5) / (0)) :: operators)
when timer reset :: sensing :: hat
reset timer
stop [timer v] :: sensing
Last edited by THE_diamond_2021cat (June 21, 2023 14:44:23)
- ebomb320
-
2 posts
Creating extensions for Scratch 3.0
i'm tryna make a move steps in direction block… but i get this thing
brokeh
the code i hav is this
//haha form of scratchbloc
class Eblock {
getInfo() {
return {
“id”: “Eblock”,
“name”: “Eblock”,
“blocks”: [{
“opcode”: “movedir”,
“blockType”: “block”,
“text”: "Move Steps In Direction “,
”arguments“: {
”num1“: {
”type“: ”number“,
”defaultValue“: ”10“
},
”num2“: {
”type“: ”number“,
”defaultValue“: ”90“
}
}
},
],
”menus": {
}
};
}
movedir({num1, num2}) {
return string.substring(num1 - 1, num2); //goofy and dont do anythi
};
}
Scratch.extensions.register(new Eblock());
//broken block :(and it also has no bottom or top attachment sooo……
Move (10) Steps In Direction (90)
brokeh
the code i hav is this
//haha form of scratchbloc
class Eblock {
getInfo() {
return {
“id”: “Eblock”,
“name”: “Eblock”,
“blocks”: [{
“opcode”: “movedir”,
“blockType”: “block”,
“text”: "Move Steps In Direction “,
”arguments“: {
”num1“: {
”type“: ”number“,
”defaultValue“: ”10“
},
”num2“: {
”type“: ”number“,
”defaultValue“: ”90“
}
}
},
],
”menus": {
}
};
}
movedir({num1, num2}) {
return string.substring(num1 - 1, num2); //goofy and dont do anythi
};
}
Scratch.extensions.register(new Eblock());
- HenGuy123
-
4 posts
Creating extensions for Scratch 3.0
I just made up some new blocks
(Funny Ones)
Scratch Cat Blocks
Meow[color=ffab19][/color][color=][/color
Run()[color=ffab19][/color][color=][/color]
Last edited by HenGuy123 (July 13, 2023 23:53:58)
- HenGuy123
-
4 posts
Creating extensions for Scratch 3.0
I meant to do
I just made up some new blocks
(Funny Ones)
Scratch Cat BlocksMeow
Run()
Last edited by HenGuy123 (July 13, 2023 23:57:01)
- Elliot3-0
-
100+ posts
Creating extensions for Scratch 3.0
we need this
when green flag clicked
open website| Url [...]
Last edited by Elliot3-0 (July 23, 2023 13:12:46)
- THE_diamond_2021cat
-
24 posts
Creating extensions for Scratch 3.0
(distance to [nearest 3D hut v] :: pen) // value = 362 miles
order food from [Interdimensional Burger v]: food [cheeseburger v] with a side of [F R I E S v] and a [Extra-large v] [Root Beer Ice Blox v] :: pen
(order status :: pen) // order sent, order in progress, delivering, its at your door
(meal cost :: pen) // [price], you havent ordered yet, null
<paid for meal? :: pen>
- ExpungleCat2023
-
13 posts
Creating extensions for Scratch 3.0
(distance to [nearest 3D hut v] :: pen) // value = [miles] miles
order food from [Interdimensional Burger v]: food [cheeseburger v] with a side of [F R I E S v] and a [Extra-large v] [Root Beer Ice Blox v] :: pen
(order status :: pen) // order sent, order in progress, delivering, its at your door
(meal cost :: pen) // [price], you havent ordered yet, null
<paid for meal? :: pen>
expunged would like this
Last edited by ExpungleCat2023 (Aug. 8, 2023 14:03:55)
- AKshaggysurfer
-
33 posts
Creating extensions for Scratch 3.0
Last edited by AKshaggysurfer (Aug. 6, 2023 22:10:33)
- DiamondMachine
-
7 posts
Creating extensions for Scratch 3.0
to be honest i never even knew you could just make an extension…
- cat8675309
-
42 posts
Creating extensions for Scratch 3.0
define RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
broadcast [ :):):):):)]
- FogorMyPassword
-
83 posts
Creating extensions for Scratch 3.0
NICE signature I would add something like that to mine but i feel like id be harrassed for that because of scratch being left wingYes, but a lot longer than a Looks a lot easier to understandsimple line of JSON. It just means all extensions will have to be updated. Maybe I should build a converter that does that.
Last edited by FogorMyPassword (Aug. 10, 2023 21:16:19)
- FogorMyPassword
-
83 posts
Creating extensions for Scratch 3.0
I HAD A HEART ATTACK I MADE A TYPO THAT MADE ME LOOK LIKE A RACISTNICE signature I would add something like that to mine but i feel like id be harrassed for that because of scratch being left wingYes, but a lot longer than a Looks a lot easier to understandsimple line of JSON. It just means all extensions will have to be updated. Maybe I should build a converter that does that.
- Elliot3-0
-
100+ posts
Creating extensions for Scratch 3.0
some random guy said
i will get you at 3am
- THE_diamond_2021cat
-
24 posts
Creating extensions for Scratch 3.0
when <hat (when I move [10] steps :: hat :: motion) ran :: operators> :: hat :: events
figure out [how to make blocks inside blocks v] :: sensing
run hat (when green flag clicked :: hat) :: control
forever if <variable (when green flag clicked) exists? :: operators> :: control
joe
else
jimmy
else
john
else
joey
else
jacobson
end