Discuss Scratch

Zixxy
Scratcher
45 posts

[scratchblocks] OFFICIAL testing topic

when green flag clicked
ask [Does This Work?] and wait
VMan_2002
Scratcher
61 posts

[scratchblocks] OFFICIAL testing topic

Zixxy wrote:

when green flag clicked
ask [Does This Work?] and wait
when asked a question :: hat sensing
if <(question :: sensing) = [Does This Work?]>
say [Yes.]
end
// This isn't a normal one
cs277227
Scratcher
38 posts

[scratchblocks] OFFICIAL testing topic

Time for the workarounds!
Give me a workaround for this block:
Ninkancho
Scratcher
500+ posts

[scratchblocks] OFFICIAL testing topic

when I receive [something v]
set [variable v] to [1]

...::hat
forever
wait until <(variable) = [1]>
set [variable v] to [0]
...
end

Not perfect, but yeah. For <[something v] received ever?>, take out the {set [variable v] to [0]}. For <[something v] received since @greenFlag clicked?> set the variable to 0 under a flag hat.
cs277227
Scratcher
38 posts

[scratchblocks] OFFICIAL testing topic

if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then

end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end
flutehamster
Scratcher
500+ posts

[scratchblocks] OFFICIAL testing topic

define ninjabob
Worm06
Scratcher
40 posts

[scratchblocks] OFFICIAL testing topic

pokegirl06
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

lol spam
forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

forever

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end

end
cs277227
Scratcher
38 posts

[scratchblocks] OFFICIAL testing topic

if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then

end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end


end
MClovers
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

forever

end
FrenchFries8854
Scratcher
37 posts

[scratchblocks] OFFICIAL testing topic

repeat for() secs::cstart control

end

Last edited by FrenchFries8854 (March 12, 2016 01:28:35)

FrenchFries8854
Scratcher
37 posts

[scratchblocks] OFFICIAL testing topic

(()^()::operators)
(sound name::sound)
(z position::motion)
(password::sensing)
<key[backspace v]::sensing>
<key[shift v]::sensing>
<key[tab v]::sensing>
<key[caps lock v]::sensing>
<key[enter v]::sensing>
<Variable[ v] touching [ v]::variables>
<List[ v] touching [ v]::list>
<When I Revive [ v]::events>
Record Sound::sound
Stop Recording Sound::sound
Take Photo::sensing
Start Taking Video::sensing
Stop Taking Video::sensing
Create backdrop from [ v]::looks
Create costume from [ v]::looks
go to x:()y:()z:()::motion
change z by()::motion
set z to ()::motion
Write [] at x:()y:() Size()::looks
send [List v] to x:()y:()::list
send [variable v] to x:()y:()::variables
Custom Cloops::cstart custom

end
prigtrip
Scratcher
12 posts

[scratchblocks] OFFICIAL testing topic

BigBlueBlock 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!]


Correction

when green flag clicked
ask [Does scratchblocks work?] and wait
if <(answer) = [yes ]> then
say [Hooray!]
end
else
say [What is there to say? Scratchblocks are there in 2.0!!!! Woohoo!]
end
Ninkancho
Scratcher
500+ posts

[scratchblocks] OFFICIAL testing topic

prigtrip wrote:

BigBlueBlock 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!]


Correction

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

Correction

when green flag clicked
ask [Does scratchblocks work?] and wait
if <(answer) = [yes]> then
say [Hooray!]
else
say [What is there to say? Scratchblocks are there in 2.0!!!! Woohoo!]
end
onlyNones
Scratcher
61 posts

[scratchblocks] OFFICIAL testing topic

(testing)
testing

Last edited by onlyNones (March 12, 2016 11:40:50)

onlyNones
Scratcher
61 posts

[scratchblocks] OFFICIAL testing topic

<key (pick random letter (a) to (z)) pressed?>
Owengren
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

cs277227 wrote:

Time for the workarounds!
Give me a workaround for this block:
when gf clicked
broadcast [event v]

when I receive [event v]
set [event received? v] to [true]
. . .
set [event received? v] to [false]

define [event] received
if <((join (event) (join [ ] [received?]))) = [true]> then
say True
else
say False
end

define say True
say [T] for (0.1) secs
say [Tr] for (0.1) secs
say [Tru] for (0.1) secs
say [True] for ((length of [true]) / (3)) secs

define say False
say [F] for (0.1) secs
say [Fa] for (0.1) secs
say [Fal] for (0.1) secs
say [Fals] for (0.1) secs
say [False] for ((length of [false]) / (3)) secs
Denciethepenguin
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

cs277227 wrote:

if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
if <> then
((([snip v]) ::grey Boolean) :: list Boolean) :: motion ring
Too many If then blocks.
TheBoys4
Scratcher
57 posts

[scratchblocks] OFFICIAL testing topic

Can Some Body Give Me a work around for this?


<if [ v] is touching [ v]::sensing>
TheBoys4
Scratcher
57 posts

[scratchblocks] OFFICIAL testing topic

iScratch!

Powered by DjangoBB