Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Official [scratchblocks] testing topic 2
- italylan
-
Scratcher
6 posts
Official [scratchblocks] testing topic 2
define rect w h(w)(h) x y(x)(y)
pen up
go to x: ((x) - ((h) / (2))) y: ((y) + ((w) / (2)))
pen down
repeat (2)
move (h) steps
turn cw (90) degrees
move (w) steps
turn cw (90) degrees
end
- MoneyProject
-
Scratcher
11 posts
Official [scratchblocks] testing topic 2
Testing Lua scripting. 

<{local ::motion} (var) = (script::operators)::operators>
<(var).(LocalScript::control):Destroy()::control>- MoneyProject
-
Scratcher
11 posts
Official [scratchblocks] testing topic 2
Also trying to remake hacked blocks.
@turnRight @turnLeftThat last one also has to be in Scratch 4.0.
function {create variable(name) (value)::operators}::hat motion
set (name) to (value)
- Morimop
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic 2
WOAH A SCRATCHBLOCKS TOPIC WITH 27 REPLIES
WHAT A RARE COINCIDENCE
-overacting
WHAT A RARE COINCIDENCE
-overacting
- WindOctahedron
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic 2
Roll! @turnRight @turnRight @turnRight ◀ ▶:: motion
[monster v] encountered :: events
AAA! Roll back! @turnLeft @turnLeft @turnLeft ◀ ▶:: motion
action 1{
}action 2{
}action 3{
} return to action () ▲▼ . :: loop control
[#ff0000]+[#00ff00]+[#0000ff]=[#ffffff] :: hat #3c3c3c
[#00ffff]+[#ff00ff]+[#ffff00]=[#000000] :: cap #c3c3c3
r(e(c(u(r(s(i(o(n:: stack sound):: stack looks):: stack custom):: stack motion):: stack sensing):: stack operators) :: stack control):: stack variables)
- EDGE_X
-
Scratcher
100+ posts
Official [scratchblocks] testing topic 2
E (D (G (E (_ (X (i (s (c (o (o (l :: stack sound) :: stack looks) :: stack custom) :: stack motion) :: stack sensing) :: stack pen) :: stack operators) :: stack control) :: stack list) :: stack variables) :: stack events
- EDGE_X
-
Scratcher
100+ posts
Official [scratchblocks] testing topic 2
when sombody toucha my spaghett :: events hat
if <not <touching [my spaghett v]>> then {
dont kill :: looks
} else if touching [My Spaghett1 v] {
kill :: looks
} else if touching [My Spaghett2 v] {
kill :: looks
} else{
don't kill :: looks
} :: loop cap sensing
- coder2045
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic 2
when topic opened :: events hat block
say [Wow, Nambaseking01 has the second post!] for (2) secs
say [Cool, new topic!]
also say [Also, congrats!]::looks
define making a new project
think about what to make for [48 v] days::sensing
try making it::motion
spend [a long time v] fixing the bugs::looks
rage
- coder2045
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic 2
when [this topic is opened v]::events hat
wait, what?::operators
<when [message1 v] recieved::events>
wait, that's rejected
Last edited by coder2045 (Nov. 10, 2019 18:09:06)
- coder2045
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic 2
define super crashing recursion
forever
super crashing recursion:: custom
super crashing recursion:: custom
super crashing recursion:: custom
super crashing recursion:: custom
super crashing recursion:: custom
super crashing recursion:: custom
super crashing recursion:: custom
super crashing recursion:: custom
super crashing recursion:: custom
super crashing recursion:: custom
super crashing recursion:: custom
super crashing recursion:: custom
super crashing recursion:: custom
super crashing recursion:: custom
end
- coder2045
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic 2
Also trying to remake hacked blocks.@turnRight @turnLeftThat last one also has to be in Scratch 4.0.
function {create variable(name) (value)::operators}::hat motion
set (name) to (value)
for each [i v] in (){
}::controlA popular suggestion.- oscarfinley
-
Scratcher
100+ posts
Official [scratchblocks] testing topic 2
another missing block
<I receive message 1>
- 8243874
-
Scratcher
100+ posts
Official [scratchblocks] testing topic 2
another missing block<I receive message [1 v]? :: events>
At first, fixed :: operators
At second, this block was rejected in the [Suggestions v] forum :: control
- danex33
-
Scratcher
42 posts
Official [scratchblocks] testing topic 2
how do you make the side of ground “solid” on platformers without using hitboxes?
- coder2045
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic 2
another missing block<I receive message [1 v]? :: events>At first, fixed :: operators
At second, this block was rejected in the [Suggestions v] forum :: control
That's not a suggestion
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
[ v]
- coder2045
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic 2
test
i
ii
iii
iiii
iiiii
iiiiiiii
iiiiiiiiiiiiiii
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
- coder2045
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic 2
//I'm intentionally trying to make these sentences as long as I possibly can. Anyway, 4337113+1532209=5869322. I did that in my head. 999999999999999999999999999999999999999999999999 is a big number. This is a sentence. 3.1415926535897932384626433832795028841971693993751058209986280348253421170679
- coder2045
-
Scratcher
1000+ posts
Official [scratchblocks] testing topic 2
what is this?::reporter control
it doesn't exist::pen hat
- animate1735
-
Scratcher
43 posts
Official [scratchblocks] testing topic 2
define Definition
forever
Crash :: events
play sound [Clang v] until done
end
when green flag clicked
forever
definition
end
- Discussion Forums
- » Help with Scripts
-
» Official [scratchblocks] testing topic 2