Discuss Scratch

unknownhydra
Scratcher
35 posts

[scratchblocks] OFFICIAL testing topic

when [#0012FA] clicked
say [The blue square was clicked!] for (3) secs
BigBlueBlock
Scratcher
500+ posts

[scratchblocks] OFFICIAL testing topic

When gf clicked
say [#ff8800]

Last edited by BigBlueBlock (Aug. 31, 2013 14:38:05)

turkey3
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

blob8108 wrote:

turkey3 wrote:

ProdigyZeta7 wrote:

dracae wrote:

(EDIT: How do you make the boolean more prettiery?)
Can't.
I think they're going to do that. It's on the list of bugs.
It's actually really really difficult. If some CSS ninja can make angular booleans with borders and automatic vertical sizing using pure CSS (and JS, if you must), be my guest.
Didn't the old plugin have it? Or am I mistaken? And no thanks, I won't be your guest

Last edited by turkey3 (Aug. 31, 2013 14:43:21)

jvvg
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

turkey3 wrote:

blob8108 wrote:

turkey3 wrote:

ProdigyZeta7 wrote:

dracae wrote:

(EDIT: How do you make the boolean more prettiery?)
Can't.
I think they're going to do that. It's on the list of bugs.
It's actually really really difficult. If some CSS ninja can make angular booleans with borders and automatic vertical sizing using pure CSS (and JS, if you must), be my guest.
Didn't the old plugin have it? Or am I mistaken? And no thanks, I won't be your guest
No, it didn't, sadly.
clubpenguin552222
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

dsaztur wrote:

when gf clicked
ask [Does scratchblocks work?]
if
(answer) = [yes]
say [Hooray!]
else
say [What is there to say? Scratchblocks are there in 2.0!!!! Woohoo!]
Correction:
when gf clicked
ask [Does scratchblocks work?] and wait
if <(answer) = [yes]>
say [Hooray!]
else
say [What is there to say? Scratchblocks are there in 2.0!!!! Woohoo!]

Last edited by clubpenguin552222 (Aug. 31, 2013 15:30:44)

clubpenguin552222
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

if <> then say else say
define if <bolean> then say [True] else say [False]
if <bolean>
say [True]
else
Say [False]
end

if <> then say [Hi!] else say [Bye]
Firedrake969
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

define testing [dropdown v]
stuff

if ([dropdown v])

huh

Forgot how to do dropdowns xD

Last edited by Firedrake969 (Aug. 31, 2013 16:13:22)

blob8108
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

Firedrake969 wrote:

Forgot how to do dropdowns xD
[option v] is the correct syntax for a dropdown. Just neither of those were valid uses of a dropdown (they're not valid in define hats, and you can't have a reporter block with no text).
scratchisthebest
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

It still happens
set [e v] to (9001) //define a variable
e // e on a line by itself (should be red, not a block)
<e> // <e> (should be green because angle brackets)
(e) // (e) (should not be green because it's a variable)

set [qqq v] to (9001) //define a variable
qqq // qqq on a line by itself (should be red, not a block)
<qqq> // <qqq> (should be green because angle brackets)
(qqq) // (qqq) (should not be green because it's a variable)

Last edited by scratchisthebest (Aug. 31, 2013 16:46:59)

BigBlueBlock
Scratcher
500+ posts

[scratchblocks] OFFICIAL testing topic

clubpenguin552222 wrote:

dsaztur wrote:

when gf clicked
ask [Does scratchblocks work?]
if
(answer) = [yes]
say [Hooray!]
else
say [What is there to say? Scratchblocks are there in 2.0!!!! Woohoo!]
Correction:
when gf clicked
ask [Does scratchblocks work?] and wait
if <(answer) = [yes]>
say [Hooray!]
else
say [What is there to say? Scratchblocks are there in 2.0!!!! Woohoo!]
Ninja'd
Zaneki
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

when gf clicked // the mom
if <not <<(kid) + (clean room?)> = [true]>>
say [Go clean your room. v]
broadcast [I'm-watching-you vibes v]
end
wait until <(distance to [kid v]) < [20 feet]>
ask [Is your room clean yet?] and wait
if <not <(answer) = [yes]>> then
turn video [off v]
say [Then get off YouTube and go clean your room!]
end


define "clean" // the kid
dr3w8
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic


when gf clicked
stop [this script v]
EDIT: Links and blocks don't work together.

Last edited by dr3w8 (Aug. 31, 2013 18:30:30)

mathfreak231
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

Why did you have to enable this while I was away on vacation ;n;

If anyone is curious, the bug list for those who are too lazy to look on github is here. You will also see short wiki discussions.
BigBlueBlock
Scratcher
500+ posts

[scratchblocks] OFFICIAL testing topic

Error ()()()()<><><><>[][][][]

Last edited by BigBlueBlock (Aug. 31, 2013 19:24:38)

clubpenguin552222
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

( This is [false v] )
<This is [false too v] >

Last edited by clubpenguin552222 (Aug. 31, 2013 19:23:18)

blob8108
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

dr3w8 wrote:

EDIT: Links and blocks don't work together.
True. I was thinking of changing that for the wiki, but I'm not sure about the forums.

Would it be useful to be able to add blocks like {stamp} inline in your posts? It would have to be a different tag – I'm thinking maybe [sb].
blob8108
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

mathfreak231 wrote:

Why did you have to enable this while I was away on vacation ;n;
Oh, mf, I'm so sorry! If you would email me all your vacation plans in future so that I can work with the ST to schedule updates to your liking, I would be much obliged. Tnx.
meowflash
Scratcher
500+ posts

[scratchblocks] OFFICIAL testing topic

when [Sprite1 v] clicked // Before spaz attack
wait until <not <mouse down?>>
SPAZ ATTACK!!!

define SPAZ ATTACK!!!
forever
go to x: (pick random (-240) to (240)) y: (pick random (-180) to (180))
say [OMG!!!]
end

ask [U MAD BRO???] and wait
if <(answer) = [yes]
say [I'm glad that you're mad!]
else
say [Meh...]
end

define broadcast [message1] then [message2]
broadcast (message1) and wait
broadcast (message2)

broadcast [Scratchblocks are out!] then [Scratch 2.0 is still being worked on.]
technoboy10
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

@blob I know I've seen how to make CSS hexagons somewhere. I'll take a look in a few days.

define this (var)
say (join (var) [this])
blob8108
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

technoboy10 wrote:

I know I've seen how to make CSS hexagons somewhere.
The problem isn't just hexagons: you have to make a triangle shape that resizes with the height of it's parent. You want an element where it's width is a percentage of the parent's height.

…you can always use JS for that part, of course. (But then you get flickering.)

Powered by DjangoBB