Discuss Scratch
- Discussion Forums
- » Announcements
- » New [scratchblocks] tag
- jrbc1
- Scratcher
11 posts
New [scratchblocks] tag
when gf clicked
run (say (advanced: [Power Level v] of (user (username)::extension)::extension) for (2) secs::stack looks cap)::control
stop [all v] :: cap
//λSnap!
run ((create clone :: control) ▶ :: grey) :: control
say (http:// (join [snap. ] [berkeley] [.edu] ◀ ▶ :: operators) :: sensing)
script variables ((foo) :: grey) ((bar) :: grey) ▶ :: grey
warp :: grey cstart
move (10) steps
end
report [Done!] :: control cap
<{}▶::grey ring>
<<>▶::grey ring>
<(:: reporter)▶::grey ring>
when gf clicked
run (say (advanced: [Power Level v] of (user (username)::extension)::extension) for (2) secs::stack looks cap)::control
stop [all v] :: cap
//λSnap!
run ((create clone :: control) ▶ :: grey) :: control
say (http:// (join [snap. ] [berkeley] [.edu] ◀ ▶ :: operators) :: sensing)
script variables ((foo) :: grey) ((bar) :: grey) ▶ :: grey
warp :: grey cstart
move (10) steps
end
report [Done!] :: control cap
<{}▶::grey ring>
<<>▶::grey ring>
<(:: reporter)▶::grey ring>
Categories: motion looks sound pen variables list events control sensing operators custom custom-arg extension grey obsolete
Flags: cstart celse cend ring ring-inner(λSnap! Use <{}▶::grey ring> <<>▶::grey ring> <(::reporter)▶::grey ring>)
Shapes: hat cap stack embedded boolean reporter
Example:
run (say (advanced: [Power Level v] of (user (username)::extension)::extension) for (2) secs::stack looks cap)::control
run (say (advanced: [Power Level v] of (user (username)::extension)::extension) for (2) secs::stack looks cap)::controlGot the :: names from scratchblocks2 src
You can make a more custom blocks with ::
Last edited by jrbc1 (Feb. 16, 2014 17:42:19)
- blob8108
- Scratcher
1000+ posts
New [scratchblocks] tag
You don't need “ring-inner”.<<:: ring-inner stack>▶::grey ring>
<<:: ring-inner boolean>▶::grey ring>
<<:: ring-inner reporter>▶::grey ring>
<{ } ▶::grey ring>
<{ } ▶::grey ring>There's some (slightly outdated) documentation on the wiki: Block_Plugin/Syntax#Hacks
- jrbc1
- Scratcher
11 posts
New [scratchblocks] tag
OhYou don't need “ring-inner”.<<:: ring-inner stack>▶::grey ring>
<<:: ring-inner boolean>▶::grey ring>
<<:: ring-inner reporter>▶::grey ring><{ } ▶::grey ring><{ } ▶::grey ring>There's some (slightly outdated) documentation on the wiki: Block_Plugin/Syntax#Hacks
- dima365
- Scratcher
36 posts
New [scratchblocks] tag
define hacking scratchblocks [dropdown impossible v]
if (hey is this possible) then
set [hey another dropdown v] to ( can variables dropdown? v)
end
stop [Double dropdown? v v]
- k9lego
- Scratcher
1000+ posts
New [scratchblocks] tag
(Awesome!! This is really helpful!!! :D) // category=sensingThanks again scratch team for creating this! k9lego.
Last edited by k9lego (Feb. 25, 2014 23:23:32)
- Let's Eat Grandma! This is a hidden advertisement for the Collab Hyper Cloud Inc. :)
- Let's Eat, Grandma!
Commas Save Lives!
Nothing Much here…
If you want to reply to me, please comment with the link to the topic “On my profile page”. thanks. k9lego
- DJDerpy
- Scratcher
100+ posts
New [scratchblocks] tag
when I receive [DJDerpy]
say [WOW!] for (1) secs
forever
change [WOAH by (1)
end
That was a test
- TimothyLawyer
- Scratcher
1000+ posts
New [scratchblocks] tag
The 'when [] > ()' scratchblock is correct in the scratchblocks menu but becomes ‘<’ when put in a comment.
So
Also
So
when [ v] < (20)instead of
when [ v] > (20)shows up.
Also
when this sprite clickedis fine, but
when Stage clickedis not
when Stage clicked :: events hatwithout specifying that it is an :: events hat.
BeetleBlocks, WatercolorBot, and Turtle Art
Hover over a name or label to translate into current language
When Earth was… Purple?
☂️
- blob8108
- Scratcher
1000+ posts
New [scratchblocks] tag
Yeah. I've fixed that, but the ST haven't merged my pull request yet… The 'when [] > ()' scratchblock is correct in the scratchblocks menu but becomes ‘<’ when put in a comment.
when Stage clickedGood point! (That block was added recently, I believe.) I should fix that…
- mobluse
- Scratcher
100+ posts
New [scratchblocks] tag
Bug-report: On http://blob8108.github.io/scratchblocks2/generator/ I get “Error: Not Found” for all projects I tried, e.g. http://blob8108.github.io/scratchblocks2/generator/#project=16099330
- blob8108
- Scratcher
1000+ posts
New [scratchblocks] tag
http://blob8108.github.io/scratchblocks2/generator/ I get “Error: Not Found” for all projects I triedYeah, they changed the project API recently and I haven't fixed it. Raise an issue! Bug-report: On
- Swampert11
- Scratcher
1000+ posts
New [scratchblocks] tag
Okay.
Do you know a good project that doesn't have a lot of attention? Suggest a project to be put in this studio that is unpopular.
___________________________________________________________________________________
Only a Scratcher <——– Please look at it!
___________________________________________________________________________________
;
- PanicPandaAlarm
- Scratcher
45 posts
New [scratchblocks] tag
define Be awesome
say Just do what i do.
end