Discuss Scratch

e12435
Scratcher
21 posts

Official [scratchblocks] Testing Topic 9

move (10) steps

(10) 歩動かす//On the screen I'm posting, this block is blue

Last edited by e12435 (Nov. 7, 2024 02:26:54)

newSUPERMARIOTRASH
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 9

when @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput @greenFlag @stopSign @loopArrow @turnLeft @turnRight @delInput @addInput ::events hat
HOYOYOAYOOOOOOOOOOOOOOOOO
newSUPERMARIOTRASH
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 9

//can we use start sound in new forums?

start sound (ae v)

//OMG
newSUPERMARIOTRASH
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 9

if <> then {} else {} ::control
TheCreatorOfUnTV
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 9

Snap! code for if on edge bounce:
(if on edge, bounce :: motion stack) :: control hat
if <touching [edge v] ?> then
script variables ((get bounds) :: grey) ((bounds) :: grey) ((center) :: grey) ((stage bounds) :: grey) ((dir x) :: grey) ((dir y) :: grey) ((delta x) :: grey) ((delta y) :: grey) @delInput @addInput :: grey
set [get bounds v] to ((list (list (my [left v] :: sensing) (my [bottom v] :: sensing) @delInput @addInput :: list) (list (my [right v] :: sensing) (my [top v] :: sensing) @delInput @addInput :: list) @delInput @addInput :: list) @addInput)
set [bounds v] to (call (get bounds) @addInput :: control)
set [center v] to ((sum (bounds) :: operators) / (2))
set [stage bounds v] to (ask (my [stage v] :: sensing) for (list (list (my [left v] :: sensing) (my [bottom v] :: sensing) @delInput @addInput :: list) (list (my [right v] :: sensing) (my [top v] :: sensing) @delInput @addInput :: list) @delInput @addInput :: list) :: control)
set [dir x v] to ([sin v] of (direction))
set [dir y v] to ([cos v] of (direction))
if <(item (1 v) of (item (1 v) of (bounds))) < (item (1 v) of (item (1 v) of (stage bounds)))> then
set [dir x v] to ([abs v] of (dir x))
end
if <(item (1 v) of (item (2 v) of (bounds))) > (item (1 v) of (item (2 v) of (stage bounds)))> then
set [dir x v] to ([negative v] of ([abs v] of (dir x)) :: operators)
end
if <(item (2 v) of (item (2 v) of (bounds))) > (item (2 v) of (item (2 v) of (stage bounds)))> then
set [dir y v] to ([negative v] of ([abs v] of (dir y)) :: operators)
end
if <(item (2 v) of (item (1 v) of (bounds))) < (item (2 v) of (item (1 v) of (stage bounds)))> then
set [dir y v] to ([abs v] of (dir y))
end
point in direction (atan2 (dir x) / (dir y) :: operators)
set [bounds v] to (call (get bounds) @addInput :: control)
go to ((position :: motion) + ((center) - ((sum (bounds) :: operators) / (2))))
set [bounds v] to (call (get bounds) @addInput :: control)
if <(item (1 v) of (item (2 v) of (bounds))) > (item (1 v) of (item (2 v) of (stage bounds)))> then
set [delta x v] to ((item (1 v) of (item (2 v) of (stage bounds))) - (item (1 v) of (item (2 v) of (bounds))))
end
if <(item (2 v) of (item (1 v) of (bounds))) < (item (2 v) of (item (1 v) of (stage bounds)))> then
set [delta y v] to ((item (2 v) of (item (1 v) of (stage bounds))) - (item (2 v) of (item (1 v) of (bounds))))
end
if <(item (1 v) of (item (1 v) of (bounds))) < (item (1 v) of (item (1 v) of (stage bounds)))> then
set [delta x v] to ((item (1 v) of (item (1 v) of (stage bounds))) - (item (1 v) of (item (1 v) of (bounds))))
end
if <(item (2 v) of (item (2 v) of (bounds))) > (item (2 v) of (item (2 v) of (stage bounds)))> then
set [delta y v] to ((item (2 v) of (item (2 v) of (stage bounds))) - (item (2 v) of (item (2 v) of (bounds))))
end
go to ((position :: motion) + (list (delta x) (delta y) @delInput @addInput :: list))
end

(This isn't even the Scratch version. The Scratch version is much worse)

Last edited by TheCreatorOfUnTV (Nov. 7, 2024 02:41:24)

DifferentDance8
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 9

There will be a new scratcblocks update at the functio-

when green flag clicked :: cat
say [You don't need to say any more]
@stopSign what I'm doing right now :: control
make a [post v] [detailing v] [the update v] :: looks
yokiyunyan
Scratcher
93 posts

Official [scratchblocks] Testing Topic 9

when video motion > (10)
turn video [ v]
set video transparency to () %
interminableadhd5644
Scratcher
86 posts

Official [scratchblocks] Testing Topic 9

Motion :: motion
Looks :: looks
Sound :: sound
Music :: music
Events :: events
Control :: control
Sensing :: sensing
Operators :: operators
Variables :: variables
List :: list
Video :: video
Pen :: pen
EV3 :: ev3
Text To Speech :: tts
AxolotlBoo
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 9

mrsrec wrote:

yeah :: cat
Cat blocks?
Meow ::variables cat
AxolotlBoo
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 9

DifferentDance8 wrote:

There will be a new scratcblocks update at the functio-

when green flag clicked :: cat
say [You don't need to say any more]
@stopSign what I'm doing right now :: control
make a [post v] [detailing v] [the update v] :: looks
Stop button?

When @stopSign is clicked >:) ::hat
forever
wait (.0001) secs
play sound [Meow v] until done
end
AxolotlBoo
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 9

Testing

when green flag clicked
-go on explore page ::events
create a project ::events
abrakaidabra
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 9

[block {block {block}} v]
That didn’t work for some reason…

Last edited by abrakaidabra (Nov. 7, 2024 04:07:49)

Anay_Kis
Scratcher
33 posts

Official [scratchblocks] Testing Topic 9

When was this created? I mean, the forum! My most successful project! (which isn't featured lol)

Last edited by Anay_Kis (Nov. 7, 2024 04:11:59)

AxolotlBoo
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 9

More testing

when green flag clicked
play random scratch loops (5) times ::music
newSUPERMARIOTRASH
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 9

Boy: Mom, can we have 2.0 scratchblocks?
Mom: No, we have 2.0 scratchblocks at home.
2.0 scratchblocks at home:
when green flag clicked//3.0 scratchblocks
OH MA GAHHHHHHHHHHHHHH::motion
phat blocks yey::gdxfor
3.0 scratchblocks rule::custom
DifferentDance8
Scratcher
1000+ posts

Official [scratchblocks] Testing Topic 9

newSUPERMARIOTRASH wrote:

Since yall want 3.0 blocks…
Update your internal information bank, we no longer “want” 3.0 blocks as we already have them.
AxolotlBoo
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 9

Outline block test

+when green flag clicked
newSUPERMARIOTRASH
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 9

king of page (248)::events  hat
breakpoint::extension
log []::extension
warn []::extension
error []::extension

Last edited by newSUPERMARIOTRASH (Nov. 7, 2024 04:42:06)

AxolotlBoo
Scratcher
100+ posts

Official [scratchblocks] Testing Topic 9

when @stopSign clicked ::events hat
broadcast [I want to play a different game on scratch v]
wait until <found game ::events>
PLAY GAME ::#00ff00

Last edited by AxolotlBoo (Nov. 7, 2024 04:44:31)

newSUPERMARIOTRASH
Scratcher
500+ posts

Official [scratchblocks] Testing Topic 9

ฅ^•ﻌ•^ฅ::obsolete cat 
ฅ^•ﻌ•^ฅ//I'm a silly goober who likes cats, ok?
ฅ^•ﻌ•^ฅ::cap

Powered by DjangoBB