Discuss Scratch

cs277227
Scratcher
38 posts

[scratchblocks] OFFICIAL testing topic

Time for the workarounds!
Give me a workaround for this block:

say [Hello!] for (2) secs
broadcast [go v]
The normal user.
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.

Ninkancho STUDIO☁️ Cloud Clicker DEMO
Let's Play TogetherAnother Rather Unremarkable PlatformerSinewarper
public class Scrape{public static void main(String[] args){Scrape myScrape=new Scrape();myScrape.eternally{myScrape.picture();myScrape.write();myScrape.tell();}}}
Windows NT 10.0, Chrome 51.0.2704.79, Flash 23.0 (release 0)), Flash 23.0 (release 0)
kajquats;
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

say [Hello!] for (2) secs
broadcast [go v]
The normal user.
flutehamster
Scratcher
500+ posts

[scratchblocks] OFFICIAL testing topic

define ninjabob

JOIN SPAM!
This is how many messages Comp09 has:
Clicky.
Worm06
Scratcher
40 posts

[scratchblocks] OFFICIAL testing topic


(::(::Ok lol::)::)
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

say [Hello!] for (2) secs
broadcast [go v]
The normal user.
MClovers
Scratcher
1000+ posts

[scratchblocks] OFFICIAL testing topic

forever

end

President of Scratch ShopBux
FrenchFries8854
Scratcher
37 posts

[scratchblocks] OFFICIAL testing topic

repeat for() secs::cstart control

end

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


when green flag clicked
if <(username) = [FrenchFries8854]> then
broadcast [ FrenchFries8854 ]
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

when green flag clicked
if <(username) = [FrenchFries8854]> then
broadcast [ FrenchFries8854 ]
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

Ninkancho STUDIO☁️ Cloud Clicker DEMO
Let's Play TogetherAnother Rather Unremarkable PlatformerSinewarper
public class Scrape{public static void main(String[] args){Scrape myScrape=new Scrape();myScrape.eternally{myScrape.picture();myScrape.write();myScrape.tell();}}}
Windows NT 10.0, Chrome 51.0.2704.79, Flash 23.0 (release 0)), Flash 23.0 (release 0)
kajquats;
onlyNones
Scratcher
61 posts

[scratchblocks] OFFICIAL testing topic

(testing)
testing

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


########################## E ^ ^       ^               
| | v v |v| |||v | N | | ^ | ^
v | | | | v ||v v C | ^ | ^ | |
| | | | || v O ^ | | | | ^ |
| | v | || D | | | ^| | | |
| v v || E | | ^ || | | |
v vv D ##########################
onlyNones
Scratcher
61 posts

[scratchblocks] OFFICIAL testing topic

<key (pick random letter (a) to (z)) pressed?>

########################## E ^ ^       ^               
| | v v |v| |||v | N | | ^ | ^
v | | | | v ||v v C | ^ | ^ | |
| | | | || v O ^ | | | | ^ |
| | v | || D | | | ^| | | |
| v v || E | | ^ || | | |
v vv D ##########################
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

Go check out Cosmic Chasers - my new 2.5D game!

https://scratch.mit.edu/projects/414358692/

Cosmic Chasers might move to a new account. Here's why:

https://scratch.mit.edu/projects/415189579/
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.

Don't you hate that moment when you have no ideas for a signature?
TheBoys4
Scratcher
57 posts

[scratchblocks] OFFICIAL testing topic

Can Some Body Give Me a work around for this?


<if [ v] is touching [ v]::sensing>

FrenchFries8854
Ollieo3
catman97
CodingTornado
have you ever wanted to create an account and play with friends? CLICK ME!
TheBoys4
Scratcher
57 posts

[scratchblocks] OFFICIAL testing topic

iScratch!

FrenchFries8854
Ollieo3
catman97
CodingTornado
have you ever wanted to create an account and play with friends? CLICK ME!
coc4tm
Scratcher
39 posts

[scratchblocks] OFFICIAL testing topic

define test
(test)
Nice_Flame
Scratcher
100+ posts

[scratchblocks] OFFICIAL testing topic

Ninkancho wrote:

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
REAL CORRECTION:
when green flag clicked
ask [Does scratchblocks work?] and wait
if <(answer) = [yes ]> then
say [Hooray!]
else::celse
say [What is there to say? Scratchblocks are there in 2.0!!!! Woohoo!]
::cend

Nice_Flame:
Programmer
Artist
Girl
Creative
_____________________________________________
I learned that courage was not the absence of fear, but the triumph over it. The brave man is not he who does not feel afraid, but he who conquers that fear. ~Nelson Mandela

Education is the most powerful weapon which you can use to change the world. ~Nelson Mandela

Powered by DjangoBB