Mar 26, 2024 22:08:17
Trouble with the broadcast block. (I'm bad at coding but I'm trying to code without tutorials)
view on scratch
view on legacy ocular
bungamer07
loading
define without screen refresh
show
go to x: () y: ()
repeat until <touching color []?> //basically I have a grey line at the bottom of the project so it stops
repeat ()
create a clone of [myself v] :: events
change x by ()
end
set x to ()
change y by ()
end
hide
stop [this script v]
//I made a code where every -32 in y the player moves 32 up and sands a signal “up” so the squares move up and a new layer generates. If you run the code manualy it works but when you put it in a "when i recieve " block it breaks (clones go up to the 300 limit and the block is just moving, swiching lanse up and down):
when i receive [ v]
show
go to x: () y: ()
repeat ()
create a clone of [myself v] :: events
change x by ()
end
set x to ()
change y by ()