Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » kinda want to make my own extension
- jackdebij
-
Scratcher
100+ posts
kinda want to make my own extension
the problem
i cant do java/python OR ANY OF THAT (only code laungage is scratch blocks)
it needs to work on projects that exist on scratch itself
not too hard
using scratchjs… tried that… most of the blocks are not clear enouch and very confusing
modifying existing ones/using javascripts…. i dont know how
i cant do java/python OR ANY OF THAT (only code laungage is scratch blocks)
it needs to work on projects that exist on scratch itself
not too hard
using scratchjs… tried that… most of the blocks are not clear enouch and very confusing
modifying existing ones/using javascripts…. i dont know how
Last edited by jackdebij (June 2, 2026 09:31:34)
- mysterywave
-
Scratcher
22 posts
kinda want to make my own extension
If you want to try developing an extension, how about you try taking an already existing extension and modify it? That way you don't have to learn the whole language immediately. You can make it more complicated once you get more familiar with javascript.
- IronBill05
-
Scratcher
100+ posts
kinda want to make my own extension
If you want a block extension, you should try ScratchJS, it provides over 250 different blocks. However if you want to make your own you will have to know JavaScript.
- jackdebij
-
Scratcher
100+ posts
kinda want to make my own extension
scratchjs has many blocks that i cant use (not clear blocks)
and coding with java or html or so… i litterally dont know how to code other than scratchblock like code (except forum blocks XD but that is kinda cheating)
and coding with java or html or so… i litterally dont know how to code other than scratchblock like code (except forum blocks XD but that is kinda cheating)
when green flag clicked
ask [idk] and wait
- IronBill05
-
Scratcher
100+ posts
kinda want to make my own extension
I could help make you an extension if you want, just show me what blocks you want and how they should work
Last edited by IronBill05 (Yesterday 23:14:10)
- jackdebij
-
Scratcher
100+ posts
kinda want to make my own extension
start if <> ::events :: hat
combined flag clicked and wait until {makes it easyer to use}
go smooth to x: () :: motion
go smooth to y: () :: motion
these move the sprite smoothly... in 1 second... fast in middle but slow at start and end
repeat while <> {
}::control
opposite of repeat until... repeats until the <> is false instead of true
>(infinite)
infinity
>(ask [] ::sensing)
ask () and wait
but in the(answer)
merged the 2
pause sound :: sound
resume sound ::sound
set speed to (50 to 200) % ::sound
name says it
>(days since y(year) m(month) d(day) ::sensing)
days since 2000 but other date (negative number if the selected date is in the future)
><[] down to [] ::operators>
><[] up to [] ::operators>
same as
><[] > []><[] < []>
but includes the <[] = []> in it too
this one is clear {it is not stopping that script... thats just the forum blocks it uses the block of {stop [other scripts v]}} but it stops all in other sprite
stop [sprite -name- v]
when I receive [-name- v]
this stops all with the above hat block
stop [signal -name- v]
when stop clicked ::events :: hat
this only activate once... to stop it press stop again {handy for thumbnails}
this will be able to remove 70% of scripts in a sprite i commonly use
switch costume to [previous v]
switch costume to [first v]
switch costume to [last v]
switch costume to [random v]
these are for background so why not add them to sprites?
clear all effects ::looks
removes all effects
sets size to 100
sets rodation to 90
shows sprite
removes think and text bubble
there can be an version also moving it to an x and y value
bounce at [sprite -name- v] ::motion
{if on edge, bounce}but on sprite (saves A LOT OF time when making parcour games)
wait until<keys (buzzy bee) in order pressed::sensing>
replacement for
wait until <key [b v] pressed?>
wait until <key [u v] pressed?>
wait until <key [z v] pressed?>
wait until <key [z v] pressed?>
wait until <key [y v] pressed?>
wait (0) seconds
wait until <key [b v] pressed?>
wait until <key [e v] pressed?>
wait until <key [e v] pressed?>
><if turbo mode is on ::sensing>
dont need to explain this one
... shall i make more?
edit: you may need to quote to see it better in post maker than currently seen
Last edited by jackdebij (Today 09:09:46)
- Discussion Forums
- » Developing Scratch Extensions
-
» kinda want to make my own extension