Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Official [scratchblocks] Testing Topic 9
- Coolsandbox
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
{Start sound [Dubstep] :: soundDubstep is beautiful
Last edited by Coolsandbox (March 27, 2024 18:44:22)
this is ‘letter U’
U
This letter protects me from kumquats
- BeaverTrail
- Scratcher
13 posts
Official [scratchblocks] Testing Topic 9
say [Does this work?] for (infinite) secs
if <not <(x position) = [infinity]>> then
set x to (infinity)
end
I wonder if that worked…
- Windows63829
- Scratcher
7 posts
Official [scratchblocks] Testing Topic 9
add [this [quote]My browser / operating system: Linux, Chrome 120.0.0.0, No Flash version detected[/quote]fine today] to [list v]
when green flag clicked
- ElliottTheScratcher
- Scratcher
4 posts
Official [scratchblocks] Testing Topic 9
test [1]
stop all sounds
- ElliottTheScratcher
- Scratcher
4 posts
Official [scratchblocks] Testing Topic 9
when green flag clicked
say [test]
- ElliottTheScratcher
- Scratcher
4 posts
Official [scratchblocks] Testing Topic 9
ask [1] [wow there is 2?] and wait
- missbird2024
- New Scratcher
5 posts
Official [scratchblocks] Testing Topic 9
when green flag clicked
say [theres a new topic]
broadcast [60 sec rule why v]
when green flag clicked
dig :: grey
forever
forever
forever
forever
forever
forever
broadcast [120 sec rule why v]
end
end
end
end
end
end
hi
when green flag clicked
repeat (3)
say [preppy] for (2) secs
end
- gamer_pro_864
- Scratcher
79 posts
Official [scratchblocks] Testing Topic 9
Platformer - PT1
Bye!
when green flag clicked
set [GRAVITY v] to [-1.5]
set [JUMP FORCE v] to [12]
set [ACCELERATION v] to [1.5]
set [RESISTANCE v] to [0.8]
set [Speed Y v] to [0]
forever
if <<key [up arrow v] pressed?> or <key [w v] pressed?>> then
if <(Falling) < [3]> then
set [Speed Y v] to (JUMP FORCE)
end
end
if <<key [left arrow v] pressed?> or <key [a v] pressed?>> then
set [Speed X v] to ((0) - (ACELERATION))
end
if <<key [right arrow v] pressed?> or <key [d v] pressed?>> then
set [Speed X v] to (ACELERATION)
end
set [Speed X v] to ((Speed X) * (RESISTANCE))
change [Speed Y v] by (GRAVITY)
Move - In Steps (([abs v] of (Speed X)) + ([abs v] of (Speed Y)))
end
define Fix Overlap
repeat until <not <touching [Level v] ?>>
change y by (1)
end
define Move - In Steps (Steps)
change [Falling v] by (1)
repeat (Steps)
set [Last Value v] to (x position)
change x by ((Speed X) / (Steps))
if <touching [Level v] ?> then
set x to (Last Value)
set [Speed X v] to [0]
end
set [Last Value v] to (y position)
change y by ((Speed Y) / (Steps)
if <touching [Level v] ?> then
set y to (Last Value)
if <(Speed Y) < [0]> then
set [Falling v] to [0]
end
set [Speed Y v] to [0]
end
end
Bye!
Last edited by gamer_pro_864 (March 29, 2024 03:02:36)
- 4601167
- Scratcher
59 posts
Official [scratchblocks] Testing Topic 9
when pen becomes [down v] :: pen hatwhat if this was a thing
when this sprite's [color v] changes :: looks hat
when [pop v] sound is played :: sound hat
stop [all but this script v]
<sprite's [color v] changes :: looks>
<sound [pop v] plays :: sound>
repeat for (10) seconds{} :: control
type out [hello] :: looks
(join [apple] [banana] [grapes] :: operators)
(join [apple] [banana] [grapes] [razberry] :: operators)
so {this :: sensing} [signature v] :: hat controlVR^gogles
is (made) <out [of] :: operators> :: looks
(s :: looks)[c]<r :: motion>(a v)[t v]c[h] (<b :: custom> l <o :: sound> :: #BFD276) < c :: cap list>[ks v] :: pen
< and :: operators> i ([t]<h :: #000000>(i ::events)[n v](k v) :: #BBDD00) [thats v] :: variables
cool :: cap sound
((h:: #FFFFFF)(h :: #FFFFFF) :: #000000)
(:] :: #000000)this is carl and he thinks custom scratchblocks are cool… in fact he has made some of his own
stop sound [pop v] :: sound
stop[all v] if <> :: control
point towards x:() y:() :: motion
- theapplesguy2-1
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
ok guys move the discussion into scratch.mit.edu/users/theapplesguy2-tests its for NOT CLOGGING THE FORUMS GOD
feel [guilty v] :: looks
if <e:: sensing> then{
ask for [$ v] (5) and wait:: #59c059
}else{
when gf clicked
}:: control
>o\( :: motion boolean // border control
ocular: https://ocular.jeffalo.net/user/theapplesguy2-1
fandom: https://adventures-of.fandom.com/wiki/Adventures_Of_Wiki
- Aarmesh
- Scratcher
100+ posts
Official [scratchblocks] Testing Topic 9
That’sif <(post # :: sensing) = [1024]> then
say [YES A POWER OF TWO]
end
([2^ v] of (10) :: operators
Last edited by Aarmesh (March 28, 2024 21:00:15)
XD:: #0080FF
- horizontal_shading
- Scratcher
1000+ posts
Official [scratchblocks] Testing Topic 9
(long unnecessary quote removed by scratcher - please don't spam)
Why are we talking about currency. This is about scratch blocks
Why are we talking about currency. This is about scratch blocks
We have to stop climate change before it's too late. Help us spread the word to big companies. Also, ignore every post of mine posted before the year 2023. Those posts are cringe and outdated. I hate seeing them.
;
- -Sodium_Test-
- Scratcher
42 posts
Official [scratchblocks] Testing Topic 9
Stop spamming Quotes! :: sound boolean // listen to this block
Last edited by -Sodium_Test- (March 29, 2024 00:07:39)
Filler
(._. ::motion)
- champion_ofcloud-var
- Scratcher
500+ posts
Official [scratchblocks] Testing Topic 9
STOP:coin: PLEASE stop quote spamming!!!
([#ffff00]::#ffff00)
when green flag clicked
save FSR (Fat Sand Rat)
destroy (baby nova)
switch costume to [happy :) v]
define save FSR (fsr)
point towards [fat sand rat v]
go to [fat sand rat v]
go to [safe spot/ship v]
define destroy (enemy)
switch costume to (join [destroying ] [(enemy)
- gamer_pro_864
- Scratcher
79 posts
Official [scratchblocks] Testing Topic 9
<STOP SPAMMING QUOTES>
(._.)
Last edited by gamer_pro_864 (March 29, 2024 03:11:17)
- TheCabb
- Scratcher
6 posts
Official [scratchblocks] Testing Topic 9
when green flag clicked
say [Does this even work?]
add [memory] to [list brain]
forever
play sound until done
end
- AzfarPogko
- Scratcher
74 posts
Official [scratchblocks] Testing Topic 9
pen draw[big]([i]italic[/i])[/big]