Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » ITopic: Everything you never knew about [scratchblocks]!
- dude341
- Scratcher
1000+ posts
ITopic: Everything you never knew about [scratchblocks]!
Whoops, accidentally quoted
Last edited by dude341 (March 6, 2015 20:08:05)
Placeholder
- NNNPPPBBB
- Scratcher
100+ posts
ITopic: Everything you never knew about [scratchblocks]!
weird {eat::events}{sleep::control}{drink::sound}{think::sensing}{stink::pen}{link[]::looks}{kink::operators}{rink::lists}{sink::hat variables}{bink::custom}{mink::motion}{I::grey}{don't::custom-arg}{have::obsolete}{any::events}{more!::control}?::boolean extension
Last edited by NNNPPPBBB (March 16, 2015 16:12:58)
does your word mind want a challenge? click here.
black link
Hello I am NNNPPAAAAAAAAUUUGGGHHHH MY SIGNATURE'S BEING EATEN BY A KUMQ—
{the sound of silence}
;
- GiorgosKarvelas365
- Scratcher
100+ posts
ITopic: Everything you never knew about [scratchblocks]!
run ( {move (#1) steps} input names ((#1) :: grey) :: grey ring) [with inputs v] ◀ ▶ [14] ::control
say ({stop all} :: grey ring) for (2) secs
Can you do an example with rings and modifications?
I will create a tutorial for this hack.
Send a comment if you like this
run ( {move (#1) steps} input names ((#1) :: grey) :: grey ring) ◀ ▶ ::control
say ({stop all} :: grey ring) for (2) secs
My browser / operating system: Windows 7, Chrome 41.0.2272.89, Flash 17.0 (release 0)
when green flag clicked::#18bbc5
forever if <is Scratch Revenge opened?::#18bbc5>{
imagine::#18bbc5
program::#18bbc5
share::#18bbc5
}::#18bbc5 cap
- GiorgosKarvelas365
- Scratcher
100+ posts
ITopic: Everything you never knew about [scratchblocks]!
Blue ‘set var to’ block. I will give you the dark red version. I can't wait to see ifset [var v] to (1) // normalworks!
set [var v] to (1) :: motion // as a motion block
Here it is:
set [var v] to (1) :: list// the block as in the Lists category.
Can you give me the block as an Operators block?
when green flag clicked::#18bbc5
forever if <is Scratch Revenge opened?::#18bbc5>{
imagine::#18bbc5
program::#18bbc5
share::#18bbc5
}::#18bbc5 cap
- NNNPPPBBB
- Scratcher
100+ posts
ITopic: Everything you never knew about [scratchblocks]!
Blue ‘set var to’ block. I will give you the dark red version. I can't wait to see ifset [var v] to (1) // normalworks!
set [var v] to (1) :: motion // as a motion block
Here it is:set [var v] to (1) :: list// the block as in the Lists category.
Can you give me the block as an Operators block?
set [var v] to (1)::operators //maybe as a custom reporter?
does your word mind want a challenge? click here.
black link
Hello I am NNNPPAAAAAAAAUUUGGGHHHH MY SIGNATURE'S BEING EATEN BY A KUMQ—
{the sound of silence}
;
- NNNPPPBBB
- Scratcher
100+ posts
ITopic: Everything you never knew about [scratchblocks]!
Blue ‘set var to’ block. I will give you the dark red version. I can't wait to see ifset [var v] to (1) // normalworks!
set [var v] to (1) :: motion // as a motion block
Here it is:set [var v] to (1) :: list// the block as in the Lists category.
Can you give me the block as an Operators block?set [var v] to (1)::operators //maybe as a custom reporter?
set [var v] to (1)::custom reporter
does your word mind want a challenge? click here.
black link
Hello I am NNNPPAAAAAAAAUUUGGGHHHH MY SIGNATURE'S BEING EATEN BY A KUMQ—
{the sound of silence}
;
- blazingames
- Scratcher
22 posts
ITopic: Everything you never knew about [scratchblocks]!
i am :: control cstart
awesome :: control cend
- ultimateboy144
- Scratcher
100+ posts
ITopic: Everything you never knew about [scratchblocks]!
If you wanted a custom script in the forums heres an example of one
when this sprite clicked
if <{turn motor on :: extention stack} = <true? :: sensing>> then :: control cstart
report [a block in the sprite and make it undefined v] :: control stack
repeat (3)
move (10) steps
end
stop [other scripts in sprite v]
end
turn motor on:: extention stack
move (tilt :: extention reporter) steps
wait until <key [4 v] pressed?>
stop [other scripts in stage v]
run {meme (huh :: custom-arg stack) :: grey} :: control
say ((3)+(6)) for (3) secs
stop [this script v]
Last edited by ultimateboy144 (April 2, 2015 12:54:56)
Us, as a community, can{
imagine :: looks
program :: operators
share :: sensing} for all eternity! :: control loop cap
and so can you. :: operators
Fake Detector
- ultimateboy144
- Scratcher
100+ posts
ITopic: Everything you never knew about [scratchblocks]!
right, the experimental blocks
when green flag clicked
start movie :: sound
say [Hi everyone] for (5) secs
go to [laptop v]
say [lets do some rec-] for (0.0999) secs
mum calls [sprite1 v] down for lunch :: sound stack
go to [table v]
stop movie :: sound
show variable [times been called downstairs v]
set [times been called downstairs v] to [1]
stop [all v]
Us, as a community, can{
imagine :: looks
program :: operators
share :: sensing} for all eternity! :: control loop cap
and so can you. :: operators
Fake Detector
- ultimateboy144
- Scratcher
100+ posts
ITopic: Everything you never knew about [scratchblocks]!
grey ring test
say {(var :: grey ring) :: looks} for {(var :: grey ring) :: motion} secs
Last edited by ultimateboy144 (April 2, 2015 12:54:23)
Us, as a community, can{
imagine :: looks
program :: operators
share :: sensing} for all eternity! :: control loop cap
and so can you. :: operators
Fake Detector
- ultimateboy144
- Scratcher
100+ posts
ITopic: Everything you never knew about [scratchblocks]!
If you want to find out more go to the Scratch Wiki and read what it says
Last edited by ultimateboy144 (April 2, 2015 12:57:00)
Us, as a community, can{
imagine :: looks
program :: operators
share :: sensing} for all eternity! :: control loop cap
and so can you. :: operators
Fake Detector
- dude341
- Scratcher
1000+ posts
ITopic: Everything you never knew about [scratchblocks]!
Hmm… Beta Scratch.
when [go v] shouted ::operators hat //old 0.x broadcast with green flag clicked combined
start movie ::sound
stop movie::sound
shout [go v] ::operators //You know what this does
look like [a v] ::operators //0.x switch to costume
move background () ::motion //Still exists in 2.0 code.
note ::sound reporter
Placeholder
- ultimateboy144
- Scratcher
100+ posts
ITopic: Everything you never knew about [scratchblocks]!
the 2nd thing is SO funny I was laughing until I was out of breath! Thats how finny it was.Now, I know I'm probably missing some block categories, or just something, so leave your suggestions for improvements
What about ‘ring’Makes:hide :: extension ring
when gf clicked :: ring // LOL
What will happen if I do --->{... :: ring} :: custom ringhide :: extension ringCool, eh?
when gf clicked :: ring // LOL
What will happen if I do --->{... :: ring} :: custom ring
Us, as a community, can{
imagine :: looks
program :: operators
share :: sensing} for all eternity! :: control loop cap
and so can you. :: operators
Fake Detector
- ultimateboy144
- Scratcher
100+ posts
ITopic: Everything you never knew about [scratchblocks]!
I think I've cracked the secret of making circles in the middle of booleans
I think thats it
<<<(mabey:: control ring):: sensing ring>:: pen boolean>:: motion ring>
I think thats it
Last edited by ultimateboy144 (April 5, 2015 18:53:21)
Us, as a community, can{
imagine :: looks
program :: operators
share :: sensing} for all eternity! :: control loop cap
and so can you. :: operators
Fake Detector
- NNNPPPBBB
- Scratcher
100+ posts
ITopic: Everything you never knew about [scratchblocks]!
funny… I think I've cracked the secret of making circles in the middle of booleans<<<(mabey:: control ring):: sensing ring>:: pen boolean>:: motion ring>
I think thats it
does your word mind want a challenge? click here.
black link
Hello I am NNNPPAAAAAAAAUUUGGGHHHH MY SIGNATURE'S BEING EATEN BY A KUMQ—
{the sound of silence}
;
- adityapanchal
- Scratcher
6 posts
ITopic: Everything you never knew about [scratchblocks]!
when gf clicked :: operators hat
wait until {this block :: looks} turns purple :: extension cstart
say hi! :: sound stack
and then :: extension celse
use the colors :: custom-arg cstart
to make life :: motion stack
end
finally :: extension cend
stop :: oranange cap
trying it out
- dude341
- Scratcher
1000+ posts
ITopic: Everything you never knew about [scratchblocks]!
Hmm…
[scratchblocks]
if <> then ::control cstart
else ::control celse
else ::control celse
else ::control celse
else ::control celse
[/scratchblocks]
if <> then ::control cstart
else ::control celse
else ::control celse
else ::control celse
else ::control celse
Placeholder
- Tropic
- Scratcher
1000+ posts
ITopic: Everything you never knew about [scratchblocks]!
Hmm…[scratchblocks]
if <> then ::control cstart
else ::control celse
else ::control celse
else ::control celse
else ::control celse
[/scratchblocks]if <> then ::control cstart
else ::control celse
else ::control celse
else ::control celse
else ::control celse
end
This works better though :: control cstart
if <> then ::control cstart
else if <> ::control celse
else if <> ::control celse
else if <> ::control celse
else ::control celse
end
because else :: control celse
it doesn't know what it should do :) :: sensing
end
Last edited by Tropic (April 11, 2015 11:32:00)
- dude341
- Scratcher
1000+ posts
ITopic: Everything you never knew about [scratchblocks]!
Can people give me the workarounds to the non-existent blocks:
if touching [Sprite1 v], bounce ::motion
set rotation center to x: (10) y: (10) ::motion
toggle draggable ::motion
snap to grid x: (10) y: (10) ::motion
draggable::motion boolean
rotation style ::motion reporter
when < > is true ::control hat
while < > ::control cstart
:: control cend
launch ::control cstart
:: cend
stop all and press green flag ::control cap
stop scripts of [ v] ::control
stop broadcast [ v] ::control
ignore result of [ ] ::control
number of costumes ::looks reporter
name of costume (1) ::looks reporter
delete costume (10) ::looks
add costume from [ paint new v] ::looks
Last edited by dude341 (April 11, 2015 12:02:50)
Placeholder
- avivstru
- Scratcher
31 posts
ITopic: Everything you never knew about [scratchblocks]!
sorry for asking, but what is the use of the ring form?
please tell me if you know::ring
Support the split block and make cloud games easier to make for us all! (by tymewalk)
Visit my remake of Google's Dinosaur runner Easter Egg when disconnected from the internet!
Visit the project of my signature social experiment - The Hot Potato!
And visit the profiles of the Scratchers I follow:
TheAmazinRobot , jackkohav, maormosheker, idodyle and yynn!
/ ◔\::variables cstart
//Nooo! Evil nasty scratchblocks-style kumquat had ate my signature!