/ -------------\ / o o \ / \ \ b / \ \___/ / \__________/ Hello scratchblockman!
Last edited by pinnipediator (2012-07-20 01:40:53)
Offline
when gf clicked Forever if (game space) < (50) End stop allWay to reduce lag.
Last edited by Keesicool (2012-07-21 00:37:07)
Offline
(+)(_'.'_)(+)
(___)
(+) (+)
Koala. <couldn't> <scratchblock> <the> <Koala> <because> <it> <was> <all> <brackets> <and> <it> <came> <out> <in> <variables> <blocks> <like> <this> <did> <.>
Last edited by pinnipediator (2012-07-21 02:35:03)
Offline
WeElites wrote:
? [i make sooooo many mistakes] ?
there is something called teh edit link
Last edited by hunter6690 (2012-07-22 03:36:33)
Offline
WeElites wrote:
oops i posted that twice
you could delete the unnecessary posts.
Offline
Sweet!
when I receive [Start Game v] go to x: (-46) y: (-20) set [l/r v] to [0] set [gravity v] to [-0.3] set [Xvel v] to [0] set [velocity v] to [0] set [Bounce Count v] to [0] forever if <touching color [#00CE42]?> if <(Bounce Count) < [4]> set [velocity v] to ((velocity) * (-2)) set y to ((velocity) + (y position)) set [velocity v] to ((velocity) / (5)) change [Bounce Count v] by (1) else set [velocity v] to [0] set [Bounce Count v] to [0] end else set [velocity v] to ((velocity) + (gravity)) set y to ((y position) + (velocity)) end if <key [up arrow v] pressed?> if <touching color [#00CE42]?> set [Bounce Count v] to [0] set [velocity v] to [9] set y to ((y position) + (velocity)) end end if <key [left arrow v] pressed?> set [Xvel v] to [-4] turn cw (15) degrees set [l/r v] to [L] set [stop v] to [0] end if <key [right arrow v] pressed?> set [Xvel v] to [4] turn ccw (15) degrees set [l/r v] to [R] set [stop v] to [0] end if <not <<key [space v] pressed?> and <key [left arrow v] pressed?>>> set [Xvel v] to ((Xvel) * (0.95)) end change x by (Xvel) end
Last edited by daniel_j (2012-07-23 07:26:17)
Offline
when gf clicked clear go to x:[-230] y:(pick random[-169]to [169]) repeat [25] change x by[18] set y to (pick random [-169] to [169]) change [color v] effect by (pick random [1] to[100]) repeat until <touching[edge v]? stamp change y by [-10] end if < <touching [edge v]?> and <([y position v] of [sprite 1 v]) < [18]>> stamp change y by ([18] - ([y position v] of [sprite 1 v])) end wait [1] secs endhow do you do < on there? it messes it up
Last edited by gfchll (2012-07-26 13:59:42)
Offline
when I receive [Start Game! v] if <(real or fake) = [real]> set [friction v] to [0.9] set [CurrentDirection v] to [0] set [Velocity.R v] to [0] set [Velocity.max v] to [50] set [Acceleration.R v] to [0] set [Speed_2 v] to [0.9] forever set [Acceleration.R v] to [0] if <key [up arrow v] pressed?> change [Acceleration.R v] by ((-1) * (Speed_2)) end if <key [4 v] pressed?> change [Acceleration.R v] by ((1) * (Speed_2)) end if <not <<key [up arrow v] pressed?> or <key [4 v] pressed?>>> set [Velocity.R v] to ((friction) * (Velocity.R)) end change [Velocity.R v] by (Acceleration.R) if <( [abs v] of (Velocity.R)) > (Velocity.max)> set [Velocity.R v] to ((Velocity.max) * (( [abs v] of (Velocity.R)) / (Velocity.R))) end change [CurrentDirection v] by (Velocity.R) set [CurrentDirection v] to ((CurrentDirection) mod (360)) point in direction ((90) - (CurrentDirection)) end else forever set [Acceleration.R v] to [0] if <key [up arrow v] pressed?> change [Acceleration.R v] by ((-1) * (Speed_2)) end if <key [4 v] pressed?> change [Acceleration.R v] by ((1) * (Speed_2)) end if <not <<key [up arrow v] pressed?> or <key [4 v] pressed?>>> set [Velocity.R v] to [-5] end change [Velocity.R v] by (Acceleration.R) if <( [abs v] of (Velocity.R)) > (Velocity.max)> set [Velocity.R v] to ((Velocity.max) * (( [abs v] of (Velocity.R)) / (Velocity.R))) end change [CurrentDirection v] by (Velocity.R) set [CurrentDirection v] to ((CurrentDirection) mod (360)) point in direction ((90) - (CurrentDirection)) end end
Offline
Project: stickman and cat party
Author: legoboy09
Scratch: 1.4 of 30-Jun-09
Notes:
i wanna celabrate and live my life lol
History:
2012-7-21 12:38:09 share stickman and cat party legoboy09
2012-7-21 15:00:51 save stickman and cat party legoboy09 legoboy09
Totals:
Sprites: 6
Stacks: 10
Unique costumes: 7
Unique sounds: 1
--------
Sprite: Stage
Costumes (1):
background1 (480x360)
Sounds (1):
Dynamite (0:03:19)
Stacks (1):
when green flag clicked
forever
play sound "Dynamite" until done
end
--------
Sprite: Sprite6
Costumes (1):
costume1 (107x100)
Sounds (0):
Stacks (1):
when green flag clicked
say "meow"
end
--------
Sprite: Sprite5
Costumes (1):
costume1 (40x84)
Sounds (0):
Stacks (1):
when green flag clicked
say "sorry mum"
end
--------
Sprite: Sprite4
Costumes (1):
costume1 (65x151)
Sounds (0):
Stacks (1):
when green flag clicked
say "i told you once now i told you twice"
end
--------
Sprite: Sprite3
Costumes (1):
costume1 (45x98)
Sounds (0):
Stacks (1):
when green flag clicked
say "i throw my hands up in the air sometimes"
end
--------
Sprite: Sprite2
Costumes (1):
costume1 (140x95)
Sounds (0):
Stacks (2):
when green flag clicked
say "lol"
end
when green flag clicked
set size to 100%
forever
change size by 10
wait 0.3 secs
change size by -10
wait 0.3 secs
end
--------
Sprite: Sprite1
Costumes (1):
costume1 (55x116)
Sounds (0):
Stacks (3):
when green flag clicked
say "weeee"
end
when green flag clicked
forever
turn 5 degrees
end
when green flag clicked
go to x: -167 y: -122
forever
glide 0.3 secs to x: -162 y: -63
glide 0.3 secs to x: -167 y: -122
end
--------
Offline
Project: stickman and cat party Author: legoboy09 Scratch: 1.4 of 30-Jun-09 Notes: i wanna celabrate and live my life lol History: 2012-7-21 12:38:09 share stickman and cat party legoboy09 2012-7-21 15:00:51 save stickman and cat party legoboy09 legoboy09 Totals: Sprites: 6 Stacks: 10 Unique costumes: 7 Unique sounds: 1 -------- Sprite: Stage Costumes (1): background1 (480x360) Sounds (1): Dynamite (0:03:19) Stacks (1): when green flag clicked forever play sound "Dynamite" until done end -------- Sprite: Sprite6 Costumes (1): costume1 (107x100) Sounds (0): Stacks (1): when green flag clicked say "meow" end -------- Sprite: Sprite5 Costumes (1): costume1 (40x84) Sounds (0): Stacks (1): when green flag clicked say "sorry mum" end -------- Sprite: Sprite4 Costumes (1): costume1 (65x151) Sounds (0): Stacks (1): when green flag clicked say "i told you once now i told you twice" end -------- Sprite: Sprite3 Costumes (1): costume1 (45x98) Sounds (0): Stacks (1): when green flag clicked say "i throw my hands up in the air sometimes" end -------- Sprite: Sprite2 Costumes (1): costume1 (140x95) Sounds (0): Stacks (2): when green flag clicked say "lol" end when green flag clicked set size to 100% forever change size by 10 wait 0.3 secs change size by -10 wait 0.3 secs end -------- Sprite: Sprite1 Costumes (1): costume1 (55x116) Sounds (0): Stacks (3): when green flag clicked say "weeee" end when green flag clicked forever turn 5 degrees end when green flag clicked go to x: -167 y: -122 forever glide 0.3 secs to x: -162 y: -63 glide 0.3 secs to x: -167 y: -122 end --------
Offline
legoboy09 wrote:
Project: stickman and cat party Author: legoboy09 Scratch: 1.4 of 30-Jun-09 Notes: i wanna celabrate and live my life lol History: 2012-7-21 12:38:09 share stickman and cat party legoboy09 2012-7-21 15:00:51 save stickman and cat party legoboy09 legoboy09 Totals: Sprites: 6 Stacks: 10 Unique costumes: 7 Unique sounds: 1 -------- Sprite: Stage Costumes (1): background1 (480x360) Sounds (1): Dynamite (0:03:19) Stacks (1): when green flag clicked forever play sound "Dynamite" until done end -------- Sprite: Sprite6 Costumes (1): costume1 (107x100) Sounds (0): Stacks (1): when green flag clicked say "meow" end -------- Sprite: Sprite5 Costumes (1): costume1 (40x84) Sounds (0): Stacks (1): when green flag clicked say "sorry mum" end -------- Sprite: Sprite4 Costumes (1): costume1 (65x151) Sounds (0): Stacks (1): when green flag clicked say "i told you once now i told you twice" end -------- Sprite: Sprite3 Costumes (1): costume1 (45x98) Sounds (0): Stacks (1): when green flag clicked say "i throw my hands up in the air sometimes" end -------- Sprite: Sprite2 Costumes (1): costume1 (140x95) Sounds (0): Stacks (2): when green flag clicked say "lol" end when green flag clicked set size to 100% forever change size by 10 wait 0.3 secs change size by -10 wait 0.3 secs end -------- Sprite: Sprite1 Costumes (1): costume1 (55x116) Sounds (0): Stacks (3): when green flag clicked say "weeee" end when green flag clicked forever turn (cc) 5 degrees end when green flag clicked go to x: -(167) y: -(122) forever glide (0.3) secs to x: -(162) y: -(63) glide (0.3) secs to x: -(167) y: -(122) end --------
play it
Offline
legoboy09 wrote:
ideas for scratch 2.0
when gf clicked broadcast [lol v] when i receive [lol v] wait until <riecived [lol2 v]> say [win] for (2) secs when gf clicked wait (3) secs broadcast [lol2 v]
*AHEM*
when gf clicked set [lol2 v] to [0] wait (3) secs set [lol2 v] to [1]
when i receive [lol v] wait until <(lol2) = [1]> say [win] for (2) secs
Offline