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

#1501 2012-09-26 11:23:56

bullelk12
Scratcher
Registered: 2012-05-26
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

This script is what I used even if I'm not great at generating the script on the forum.


when I receive [Play AI v]
forever 
if <[y position v] of [pong ball v] < (yposition)>
change y by (-2)
end
if <[y position v] of [pong ball v] > (yposition)>
change y by (2)
end

Last edited by bullelk12 (2012-09-26 11:32:40)


http://mag.racked.eu/cimage/i6000/Achievement++get%21/Scratcher+love+minecraft%21/mca.png

Offline

 

#1502 2012-09-26 11:42:50

tate88
Scratcher
Registered: 2012-05-02
Posts: 30

Re: Official [Scratchblocks] Testing Play Area

when gf clicked
forever
if <([y position v] of [pong ball v]) < (y position)>
change y by [-2]
end
if <([y position v] of [pong ball v]) > (y position)>
change y by [2]
end
fixed.

Last edited by tate88 (2012-09-26 11:43:26)

Offline

 

#1503 2012-09-26 11:50:34

tate88
Scratcher
Registered: 2012-05-02
Posts: 30

Re: Official [Scratchblocks] Testing Play Area

when gf clicked // oh look! oh look! oh look!

Last edited by tate88 (2012-09-26 11:51:23)

Offline

 

#1504 2012-09-26 15:06:45

legobob23o
Scratcher
Registered: 2012-06-22
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

[LOL]

I iz a Scratch block
[/LOL]

Offline

 

#1505 2012-09-26 23:57:36

dragonsmithing
Scratcher
Registered: 2012-07-28
Posts: 46

Re: Official [Scratchblocks] Testing Play Area

When gf Clicked
Start Party Rockin

Offline

 

#1506 2012-09-27 03:43:31

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: Official [Scratchblocks] Testing Play Area

To always round down:

when I receive [round v]
set [rounded v] to (((number) - ((number) mod (number))) / (number))


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#1507 2012-09-27 03:48:25

Gravitation
New Scratcher
Registered: 2012-09-26
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

jontmy00 wrote:

To always round down:

when I receive [round v]
set [rounded v] to (((number) - ((number) mod (number))) / (number))

Or,


when I receive [round v]
set [rounded v] to ((number) - ((number) mod (1)))

Offline

 

#1508 2012-09-27 07:00:59

derpyepicderpy
Scratcher
Registered: 2012-08-07
Posts: 10

Re: Official [Scratchblocks] Testing Play Area

when gf clicked
repeat until <(timer) > [60]>
  go to [Scratch v]
end
say [OMG YOU DROPPED MY LAPTOP! YOU BROKE IT! I WILL NEVAH PLAY SCRATCH ANYMOAR! WAAAAH!] for (3) secs

Offline

 

#1509 2012-09-27 07:03:59

derpyepicderpy
Scratcher
Registered: 2012-08-07
Posts: 10

Re: Official [Scratchblocks] Testing Play Area

repeat until <(burger) = [1]>
  ask [Can I have a burger?] and wait
end
say [Yum!] for (10) secs
if <(eaten) = [yes]>
  say [GIMME MORE!] for (10 secs)
end
Just testing.

Offline

 

#1510 2012-09-27 07:07:05

derpyepicderpy
Scratcher
Registered: 2012-08-07
Posts: 10

Re: Official [Scratchblocks] Testing Play Area

yell [HEY!] for (3) secs
yell [THAT'S MY BURGER!] for (3) secs
other yells [NO! IT'S MINE!] for (3) secs
yell [ROBBER!] for (3) secs
call police
police yells [FREEZE!] for (3) secs
robber yells [NO!] and runs away for (3) secs
THE END!
another test

Offline

 

#1511 2012-09-27 07:10:21

derpyepicderpy
Scratcher
Registered: 2012-08-07
Posts: 10

Re: Official [Scratchblocks] Testing Play Area

<eaten?>
Wow, I've gotten a lot of tests.

Offline

 

#1512 2012-09-27 07:13:54

derpyepicderpy
Scratcher
Registered: 2012-08-07
Posts: 10

Re: Official [Scratchblocks] Testing Play Area

obselete!
LAST TEST

Offline

 

#1513 2012-09-27 09:26:36

legoboy09
Scratcher
Registered: 2012-03-28
Posts: 43

Re: Official [Scratchblocks] Testing Play Area

lol---lol

Offline

 

#1514 2012-09-27 09:28:56

legoboy09
Scratcher
Registered: 2012-03-28
Posts: 43

Re: Official [Scratchblocks] Testing Play Area

derpyepicderpy wrote:

say [OMG YOU DROPPED MY LAPTOP! YOU BROKE IT! I WILL NEVAH PLAY SCRATCH ANYMOAR! WAAAAH!] for (3) secs

lol glitch

Offline

 

#1515 2012-09-27 09:30:56

legoboy09
Scratcher
Registered: 2012-03-28
Posts: 43

Re: Official [Scratchblocks] Testing Play Area

test

say[lol test glitch]
[lol test glitch] for (3) secs

Last edited by legoboy09 (2012-09-27 09:31:22)

Offline

 

#1516 2012-09-27 12:48:39

Tropic
Scratcher
Registered: 2012-09-13
Posts: 40

Re: Official [Scratchblocks] Testing Play Area

when gf clicked
forever if <(costume) = [10]
  add <Enemy_1=killed> to <Enemy_killed>
end
I tried doing like this, but it doesn't work, help?

Offline

 

#1517 2012-09-27 13:00:07

Tropic
Scratcher
Registered: 2012-09-13
Posts: 40

Re: Official [Scratchblocks] Testing Play Area

Tropic wrote:

Tropic wrote:

when gf clicked
forever if <(costume) = [10]
  add <Enemy_1=killed> to <Enemy_killed>
end

Ops... I mean:

when gf clicked
forever if <(costume) = [10]>
  add [Enemy_1=killed] to [Enemy_killed]
end

Any help?

Offline

 

#1518 2012-09-27 15:06:13

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Official [Scratchblocks] Testing Play Area

Tropic wrote:

Tropic wrote:

Tropic wrote:

when gf clicked
forever if <(costume) = [10]
  add <Enemy_1=killed> to <Enemy_killed>
end

Ops... I mean:

when gf clicked
forever if <(costume) = [10]>
  add [Enemy_1=killed v] to [Enemy_killed v]
end

Any help?

Fixed.


http://i46.tinypic.com/35ismmc.png

Offline

 

#1519 2012-09-27 17:25:16

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

Re: Official [Scratchblocks] Testing Play Area

replace (1 v) of [list v] with [thing]
will be in 2.0.


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

Offline

 

#1520 2012-09-27 19:04:37

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

Re: Official [Scratchblocks] Testing Play Area

Firedrake969 wrote:

3sal2 wrote:

when gf clicked
say 
say [googol] for (33) secs
say [a myriad myriad units of a myriad myriad numbers of the myriad myriadth period] for ((OVER 9000!) * (31,557,600)) secs
say [googolplex] for <(2) ^ (1000)> secs
say [Skewes' number] for <(108000) ^ (108000)> secs
say [meameamealokkapoowa oompa] for <(2) ^ <(2) ^ (1000)>> secs
say [Graham's number] for <(2) [↑↑↑↑ v] (1000)> secs
say [TREE(3)] for <(3){(3)}(3)> secs

Fixed.

No need to do that, Firedrake.  tongue


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

 

#1521 2012-09-27 19:22:46

awesomeness321
Scratcher
Registered: 2012-08-10
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

when tbg forums link clicked
go to [scratch.mit.edu/tbgforums v]
Well? You heard the script!

Last edited by awesomeness321 (2012-09-27 19:31:16)


My newest project:http://blocks.scratchr.org/API.php?user=awesomeness321&amp;action=projects&amp;type=newest&amp;return=image&amp;num=1Color:#30F9A5 I am currently http://blocks.scratchr.org/API.php?user=awesomeness321&amp;action=onlineStatus&amp;type=text

Offline

 

#1522 2012-09-27 20:26:13

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

// This is weird!


http://i50.tinypic.com/dopbtw.png

Offline

 

#1523 2012-09-28 07:32:18

PikachuXionLover
Scratcher
Registered: 2012-09-02
Posts: 52

Re: Official [Scratchblocks] Testing Play Area

[scratchblocks]
forever
think [pikapika pikachu]
end


http://www.minecraftanonymous.com/assets/banners/banner_45.png

Offline

 

#1524 2012-09-28 07:34:39

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: Official [Scratchblocks] Testing Play Area

Remember to end with "[/scratchblocks]".


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#1525 2012-09-28 10:50:58

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

Re: Official [Scratchblocks] Testing Play Area

PikachuXionLover wrote:

forever
think [pikapika pikachu]
end

Fixed

Offline

 

Board footer