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)
Offline
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] endfixed.
Last edited by tate88 (2012-09-26 11:43:26)
Offline
[LOL]
I iz a Scratch block[/LOL]
Offline
When gf Clicked Start Party Rockin
Offline
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
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
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) endJust testing.
Offline
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
<eaten?>Wow, I've gotten a lot of tests.
Offline
obselete!LAST TEST
Offline
Tropic wrote:
Tropic wrote:
when gf clicked forever if <(costume) = [10] add <Enemy_1=killed> to <Enemy_killed> endOps... I mean:
when gf clicked forever if <(costume) = [10]> add [Enemy_1=killed] to [Enemy_killed] end
Any help?
Offline
Tropic wrote:
Tropic wrote:
Tropic wrote:
when gf clicked forever if <(costume) = [10] add <Enemy_1=killed> to <Enemy_killed> endOps... I mean:
when gf clicked forever if <(costume) = [10]> add [Enemy_1=killed v] to [Enemy_killed v] endAny help?
Fixed.
Offline
replace (1 v) of [list v] with [thing]will be in 2.0.
Offline
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)> secsFixed.
No need to do that, Firedrake.
Offline
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)
Offline
PikachuXionLover wrote:
forever think [pikapika pikachu] end
Fixed
Offline