This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1326 2012-09-08 11:09:29

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

when gf <not> clicked
repeat until <not <(timer) > [10]>>
  go <not> to [mouse-pointer v]
end
think [Scripts in your posts!] <not> for (3) secs
when <> gf <> clicked
repeat <> until <(timer <>) > [10] <>>
go <> to [mouse-pointer v] <>
end
think <> [Scripts in your posts!] <> for (3) secs <>


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#1327 2012-09-08 11:09:51

maxamillion321
Scratcher
Registered: 2011-06-17
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

The original script.

when gf clicked
move (10) steps
play sound [pop v]

Last edited by maxamillion321 (2012-09-08 11:10:23)

Offline

 

#1328 2012-09-08 15:13:47

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

boomhotel wrote:

Sprite 1:

when gf clicked
go to x: (-135) y: (-80)
set [scroll v] to [0]
say [This is my new and improved scroll demo] for (4) secs
say [Version 1.2] for (2) secs
set size to (50) %
when gf clicked
forever if <touching color [#E01B6A]?>
set [scroll v] to (0)
end
when gf clicked
forever if <key [left arrow v] pressed?>
switch to costume [left v]
change [scroll v] by (5)
end
when gf clicked
forever
if <not <touching color [#46E01B]?>>
change y by (-5)
end
if <touching color [#46E01B]?>
change y by (5)
end
end
when gf clicked
forever if <key [right arrow v] pressed?>
switch to costume [right v]
change [scroll v] by (5) //Is this comment too long?
end
when gf clicked
forever if <touching color [#3F11F7]?>
set [scroll v] to [-2205]
end
when gf clicked
forever if <key [up arrow v] pressed?>
repeat (10)
change y by (10)
end
end
Ground 1:
when gf clicked
forever
set y to (0)
end
when gf clicked
forever
set x to ((scroll) + (((480) * (0)))
end
Ground 2:
when gf clicked
forever
set y to (0)
end
when gf clicked
forever
set x to ((scroll) + ((480) * (1)))
end
Ground 3:
when gf clicked
forever
set y to (0)
end
when gf clicked
forever
set x to ((scroll) + ((480) * (2)))
end
Ground 4:
when gf clicked
forever
set y to (0)
end
when gf clicked
forever
set x to ((scroll) + ((480) * (3)))
end
Ground 5:
when gf clicked
forever
set y to (0)
end
when gf clicked
forever
set x to ((scroll) + ((480) * (4))) // Yep, my comment is too long
end

Fixed  smile


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#1329 2012-09-08 17:55:38

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

k


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#1330 2012-09-08 17:59:26

maxamillion321
Scratcher
Registered: 2011-06-17
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<scratchblocks rock!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Offline

 

#1331 2012-09-08 18:04:23

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

when gf clicked
broadcast [board v]
when I receive [board v]
change x by (10)
if <touching color [#088A4B]?>
say [Poker!] for (2) secs
broadcast [play game v]
end
broadcast [board v]
Anyone who knows how to play poker can extend this. The script must begin with the

when I receive [game v]
block, however. It must end with a broadcast that does not match any existing ones, and it must be made by quoting the last existing in-game post. Only two Scratchers can play, and they must compete. Keep doing this until the game ends. Put the

say [_____ wins!] for (5) secs
stop all
script at the end of that final script. The winner will get to add one tag to all his projects, and make a cool game! Write a post saying "Pick me!" if you want to play.

Last edited by 3sal2 (2012-09-08 21:25:25)


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#1332 2012-09-08 18:10:56

maxamillion321
Scratcher
Registered: 2011-06-17
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

when gf clicked
if <(lunch) = (ready)>
say (BLAH BLAH BLAH!!!)
end
eat [lunch v]
if <(my lunch) contains (a bomb)>
say (My stomach feels weird...)
end
if <(I) hear a (bomb) in my stomach>
before [bomb v] explodes
if <(timer) = [0.1]>
say (Tik tik tik, what the f-!)
explode into 1,000,000 pieces
end
end
say (Dang Nemotoads...)

Last edited by maxamillion321 (2012-09-08 18:14:17)

Offline

 

#1333 2012-09-08 19:54:41

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Official [Scratchblocks] Testing Play Area

say [#123400] [#123410] [#123420] [#123430] [#123440] [#123450] [#123460] [#123470] [#123480] [#123490] [#1234A0] [#1234B0] [#1234C0] [#1234D0] [#1234E0] [#1234F0]

Last edited by Molybdenum (2012-09-08 19:57:11)


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#1334 2012-09-09 16:51:14

MrFlash67
Scratcher
Registered: 2012-08-08
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

when gf clicked
repeat until <(tiredness) = [0]>
say [Yaaaaaaaaaaawn.]
end


Who would win, SOPA or PIPA?

Offline

 

#1335 2012-09-09 17:23:54

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Official [Scratchblocks] Testing Play Area

if <when <not> gf <not> clicked>

Last edited by Firedrake969 (2012-09-09 17:24:26)


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#1336 2012-09-09 18:15:29

powerpoint56
Scratcher
Registered: 2012-04-19
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

if [hello world]<<when gf clicked    [4555 v] [times?]>>


http://i48.tinypic.com/2072ctw.gif

Offline

 

#1337 2012-09-10 07:22:31

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Official [Scratchblocks] Testing Play Area

Paddle2See wrote:

However, please do not turn this into a spam area.  Post until you are comfortable with the Scratchblock syntax and then stop.  Don't make ongoing stories or conversations here.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#1338 2012-09-10 11:36:57

JakieMcCool
Scratcher
Registered: 2012-06-08
Posts: 27

Re: Official [Scratchblocks] Testing Play Area

[scratchblocks]
when gf clicked



point in direction 90


set "PlayerX" to "0"


set "PlayerY" to "0"


set "LevelNumber" to "1"


set "Dir" to "0"


set "Xvel" to "0"


set "Yvel" to "0"


forever



clear


go to x: 0 y: 0


switch to costume
(LevelNumber) + 1



stamp


switch to costume "Marble"


if
(Dir) = "0"
else


go to x:
(PlayerX) * 30
y:
(PlayerY) * 30



else


if
(Dir) = "1"
else


go to x:
(PlayerY) * 30
y:
(PlayerX) * -30



else


if
(Dir) = "2"
else


go to x:
(PlayerX) * -30
y:
(PlayerY) * -30



else


go to x:
(PlayerY) * -30
y:
(PlayerX) * 30



stamp


if
key "right arrow" pressed?




switch to costume
(LevelNumber) + 1



go to x: 0 y: 0


clear


set "Dir" to
((Dir) + 1) mod 4



set "PlayerX" to
round
PlayerX



set "PlayerY" to
round
PlayerY



repeat 10


turn 9 degrees


if
key "left arrow" pressed?




switch to costume
(LevelNumber) + 1



go to x: 0 y: 0


clear


set "Dir" to
((Dir) - 1) mod 4



set "PlayerX" to
round
PlayerX



set "PlayerY" to
round
PlayerY



repeat 10


turn -9 degrees


if
((Dir) = "0") and ("0" = (letter ((((round (PlayerX)) + 0) + 4) + ((((round ((PlayerY) + 0.5)) + -1) - 3) * -7)) of (item (LevelNumber) of "LevelData" )))




change "PlayerY" by -0.1


if
((Dir) = "1") and ("0" = (letter ((((round ((PlayerX) - 0.5)) + 1) + 4) + ((((round ((PlayerY) + 0.5)) + 0) - 3) * -7)) of (item (LevelNumber) of "LevelData" )))




change "PlayerX" by 0.1


if
((Dir) = "2") and ("0" = (letter ((((round (PlayerX)) + 0) + 4) + ((((round ((PlayerY) - 0.5)) + 1) - 3) * -7)) of (item (LevelNumber) of "LevelData" )))




change "PlayerY" by 0.1


if
((Dir) = "3") and ("0" = (letter ((((round ((PlayerX) + 0.5)) + -1) + 4) + ((((round ((PlayerY) - 0.5)) + 0) - 3) * -7)) of (item (LevelNumber) of "LevelData" )))




change "PlayerX" by -0.1
Say [Yea I tried copying his script lawl]
[scratchblocks]


http://jgametechnology.webs.com/

Offline

 

#1339 2012-09-10 12:17:01

firedrake969_test
Scratcher
Registered: 2012-08-08
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

JakieMcCool wrote:

when gf clicked



point in direction 90


set "PlayerX" to "0"


set "PlayerY" to "0"


set "LevelNumber" to "1"


set "Dir" to "0"


set "Xvel" to "0"


set "Yvel" to "0"


forever



clear


go to x: 0 y: 0


switch to costume 
(LevelNumber) + 1



stamp


switch to costume "Marble"


if 
(Dir) = "0"
 else


go to x: 
(PlayerX) * 30
 y: 
(PlayerY) * 30



else


if 
(Dir) = "1"
 else


go to x: 
(PlayerY) * 30
 y: 
(PlayerX) * -30



else


if 
(Dir) = "2"
 else


go to x: 
(PlayerX) * -30
 y: 
(PlayerY) * -30



else


go to x: 
(PlayerY) * -30
 y: 
(PlayerX) * 30



stamp


if 
key "right arrow" pressed?




switch to costume 
(LevelNumber) + 1



go to x: 0 y: 0


clear


set "Dir" to 
((Dir) + 1) mod 4



set "PlayerX" to 
round 
PlayerX



set "PlayerY" to 
round 
PlayerY



repeat 10


turn 9 degrees


if 
key "left arrow" pressed?




switch to costume 
(LevelNumber) + 1



go to x: 0 y: 0


clear


set "Dir" to 
((Dir) - 1) mod 4



set "PlayerX" to 
round 
PlayerX



set "PlayerY" to 
round 
PlayerY



repeat 10


turn -9 degrees


if 
((Dir) = "0") and ("0" = (letter ((((round (PlayerX)) + 0) + 4) + ((((round ((PlayerY) + 0.5)) + -1) - 3) * -7)) of (item (LevelNumber) of "LevelData" )))




change "PlayerY" by -0.1


if 
((Dir) = "1") and ("0" = (letter ((((round ((PlayerX) - 0.5)) + 1) + 4) + ((((round ((PlayerY) + 0.5)) + 0) - 3) * -7)) of (item (LevelNumber) of "LevelData" )))




change "PlayerX" by 0.1


if 
((Dir) = "2") and ("0" = (letter ((((round (PlayerX)) + 0) + 4) + ((((round ((PlayerY) - 0.5)) + 1) - 3) * -7)) of (item (LevelNumber) of "LevelData" )))




change "PlayerY" by 0.1


if 
((Dir) = "3") and ("0" = (letter ((((round ((PlayerX) + 0.5)) + -1) + 4) + ((((round ((PlayerY) - 0.5)) + 0) - 3) * -7)) of (item (LevelNumber) of "LevelData" )))




change "PlayerX" by -0.1
Say [Yea I tried copying his script lawl]

Fixed


Alt of Firedrake969.

Offline

 

#1340 2012-09-10 13:12:23

Nekrobat
Scratcher
Registered: 2012-07-17
Posts: 18

Re: Official [Scratchblocks] Testing Play Area

when gf clicked
if <[2+2] = [4]>
 say [Correct!] for (1) secs
else
 say [Incorrect!] for (1) secs
end
_meow_  well that doesnt work...

Last edited by Nekrobat (2012-09-10 13:19:59)


http://i46.tinypic.com/14w5d2v.jpg

Offline

 

#1341 2012-09-10 14:05:09

homeks
Scratcher
Registered: 2012-07-16
Posts: 24

Re: Official [Scratchblocks] Testing Play Area

when gf clicked
:d

Offline

 

#1342 2012-09-10 14:33:41

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: Official [Scratchblocks] Testing Play Area

if <when <when <forever> clicked> clicked><weird scratch blocks !>
end
:)

Last edited by dvd4 (2012-09-10 14:39:31)


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#1343 2012-09-10 14:50:42

EEKings
New Scratcher
Registered: 2012-08-18
Posts: 8

Re: Official [Scratchblocks] Testing Play Area

when gf is clicked
repeat is until <(timer) > [15]>
said [Hi!] for (6) secs

Offline

 

#1344 2012-09-10 14:53:40

pizza22
Scratcher
Registered: 2012-04-30
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

EEKings wrote:

when gf clicked
repeat until <(timer) > [15]>
     say [Hi!] for (6) secs
     end

Offline

 

#1345 2012-09-10 15:35:46

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: Official [Scratchblocks] Testing Play Area

firedrake969_test wrote:

JakieMcCool wrote:

when gf clicked
point in direction [90 v]
set [PlayerX v] to [0]
set [PlayerY v] to [0]
set [LevelNumber v] to [1]
set [Dir v] to [0]
set [Xvel v] to [0]
set [Yvel v] to [0]
forever
clear
go to x: [0] y: [0]
switch to costume ((LevelNumber) + 1)
stamp
switch to costume [Marble v]
if <(Dir) = [0]>
else
go to x: ((PlayerX) * 30) y: ((PlayerY) * 30)
end
if <(Dir) = [1]>
else
go to x: ((PlayerY) * 30) y: ((PlayerX) * -30)
end
if <(Dir) = [2]>
else
go to x: ((PlayerX) * -30) y: ((PlayerY) * -30)
end
go to x: ((PlayerY) * -30) y: ((PlayerX) * 30)
stamp
if <key [right arrow v] pressed?>
switch to costume ((LevelNumber) + [1])
go to x: [0] y: [0]
clear
set [Dir v] to (((Dir) + 1) mod [4])
set [PlayerX v] to (round (PlayerX))
set [PlayerY v] to (round (PlayerY))
repeat [10]
turn cw [9] degrees
if <key [left arrow v] pressed?>
switch to costume ((LevelNumber) + 1)
go to x: [0] y: [0]
clear
set [Dir v] to (((Dir) - 1) mod [4])
set [PlayerX v] to (round [PlayerX v])
set [PlayerY v] to (round [PlayerY v])
repeat [10]
turn cw [-9] degrees
if <<(Dir) = [0]> and <(letter ((((round (PlayerX)) + [0]) + [4]) + (((((round (PlayerY)) + [0.5]) + [-1]) - [3]) * [-7])) of (item (LevelNumber) of [LevelData v])) = [0]>>
change [PlayerY v] by [-0.1]
if <<(Dir) = [1]> and <(letter (((((round (PlayerX)) - [0.5]) + [1]) + [4]) + (((((round (PlayerY)) + [0.5]) + [0]) - [3]) * [-7])) of (item (LevelNumber) of [LevelData v])) = [0]>>
change [PlayerX v] by [0.1]
if <<(Dir) = [2]> and <(letter ((((round (PlayerX)) + [0]) + [4]) + (((((round (PlayerY)) - [0.5]) + [1]) - [3]) * [-7])) of (item (LevelNumber) of [LevelData v])) = [0]>>
change [PlayerY v] by [0.1]
if <<(Dir) = [3]> and <(letter (((((round (PlayerX)) + [0.5]) + [-1]) + [4]) + (((((round (PlayerY)) - [0.5]) + [0]) - [3]) * [-7])) of (item (LevelNumber) of [LevelData v] )) = [0]>>
change [PlayerX v] by [-0.1]
end
end
end
end
end
end
end
Say [Yea I tried copying his script lawl]

Fixed

Fixed for real this time.  smile

Last edited by sonicfan12p (2012-09-10 16:10:54)


Why are the secret organizations getting all the attention?  mad

Offline

 

#1346 2012-09-10 16:54:05

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

Someone removed my post again...


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#1347 2012-09-10 16:56:59

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

3sal2 wrote:

Molybdenum wrote:

maxamillion321 wrote:


Fixed. You need to add

Code:

[/scratchblocks]

to the end.

Umm, look what you did.

Fixed.

Fixed for real.


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#1348 2012-09-10 17:14:40

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

rdococ wrote:

Splodgey wrote:

CheeseMunchy wrote:

when i receive [lunch Time! v]
Set [Size of pickle v] to [100]
Open [oven v]
Grab [pickle v]
pull up [chair v]
wait [3] secs
repeat until <(Size of pickle) = [0]>
[Chew v] for [3] secs
Change [Size of pickle v] by [-1]
wait [1] secs
say [ew this is nasty] for [2] secs
end
broadcast [lunch eaten v]

when i receive [lunch eaten v]
say [LOLOLOLOLOLOLOL] for [a lot] secs

when I receive [next post v]
say [Hahaha, so funny in't it?] for (2) secs
say ([sqrt v] of (-1)) for ((5) / (0)) secs
broadcast [fail v]

when I receive [fail v]
set [size v] to (pick random (300) to (1000))
if <(size) > [800]>
[evacuate v] house
else
hide from [explosion v]
end
wait (5) secs
[enter v] house
get [pop-tart v]
put in [microwave v]
play sound [beep whirrr zap! v] until done
repeat until <(random planet) = [Mars]>
repeat until <is (random planet) a [planet v]?>
set [random planet v] to [some random destination v]
end
go to (random planet)
end
broadcast [fall down v]


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#1349 2012-09-10 17:26:47

3sal2
Scratcher
Registered: 2012-03-22
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

Splodgey wrote:

zammer990 wrote:

ask [can you imagine a world with hover] [bacon v] and wait
say [lalalalala]
ask [can you imagine if pork had] [levitation v] and wait
say [lalalalala]

Flying Pigs!  big_smile

when I receive [song v]
if <not (loudness) [10]>
  if on edge, bounce
end
go back [Scripts in your posts!] (3) layers


http://scratch.mit.edu/static/projects/3sal2/3120946_sm.png In 2012, scientists at the LHC discovered the Higgs boson, which explains the source of the masses of the W+, W-, and Z bosons, as well as fermions.

Offline

 

#1350 2012-09-10 22:24:03

Dragonzfang
Scratcher
Registered: 2012-04-30
Posts: 6

Re: Official [Scratchblocks] Testing Play Area

when gf clicked
set [ghost] effect to [-100]
change [size] by [30]
repeat until <(animal) = [234]
    change >(animal) by [30]
    repeat [10] times
        say [I love animals!!!!] for (45) secs
Hope this works! I've never tried it before!

Offline

 

Board footer