when I receive [game start] if touching <sprite 1> say [hello]
Offline
when I receive [game start] if <touching sprite 1> say [hello]
Offline
when I receive [game start] if <touching [sprite 1]> point towards [sprite 1] say [hello]
Offline
when I receive [game start] if <touching (sprite 1)> point towards [sprite 1] say [hello]
Offline
when I receive [FUN!v] repeat until <dead>> PLAY!!! end
Offline
When I try to use blocks in post
Fail[badly v]
Offline
how to make this script work the way i want to. keep looping vertically (up motion from bottom of stage). or after it touches a sprite at the top of the stage or edge of stage then loop in a split of a second. also send a score to a score box
when flag click
forever
move 4 step
Offline
Guys.
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.
This is to test out your own scripts, not do silly spamming stuff like
when gf clicked say [I LOVE PIE!!!:D:D:D:D:D:D] for [2] seconds repeat [<until pie is gone>] eat pie end
Offline
Fail Xd!
Offline
When I try to use blocks in post Fail [badly v]
Offline
when I receive [FAIL!] Fail [some more v]
Offline
when I receive [NO spam] switch to costume [Watch more spam come in :| v]
Last edited by mythbusteranimator (2012-10-24 12:07:16)
Offline
mythbusteranimator wrote:
Guys.
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.
This is to test out your own scripts, not do silly spamming stuff like
when gf clicked say [I LOVE PIE!!!:D:D:D:D:D:D] for [2] seconds repeat [<until pie is gone>] eat pie end
when I receive [That ^ up there v] [you guys v] should [listen v] cuz <I'm just practising>
Offline
The wrong guy wrote:
lol
The right guy wrote:
LOL
Offline
AppsRus wrote:
when gf clicked hide when [purple] clicked broadcast [purple] when i receive [purple] show go to x: [0] y: [0]
Fixed- you forgot /scratchblocks
Last edited by Willpower (2012-10-24 16:32:01)
Offline
Willpower wrote:
AppsRus wrote:
when gf clicked hide when [purple v] clicked broadcast [purple v] when i receive [purple v] show go to x: (0) y: (0)Fixed- you forgot /scratchblocks
Fixed again.
Offline
This script is a stepping stone to making a full FPS game/simulation.
when gf clicked forever set x to <(mouse x) * [-1]> set y to <(mouse y) * [-1]> endUse this on a sprite as big as the whole screen.
when gf clicked forever set x to <<(mouse x) * [-1]> + [360]> set y to <(mouse y) * [-1]> endThis will place the sprite to the left...or right....whatever, this will be put on one of those side.
when gf clicked forever set x to <<(mouse x) * [-1]> + [-360]> set y to <(mouse y) * [-1]> endIts just the same as the other sprite but 360 is now -360.
set y to <(mouse y ) * [-1]>To this...
set y to <<(mouse y ) * [-1]> + [480]>If you do that then you will also have a bottom row of sprites that will move as well.
Last edited by Xion777 (2012-10-24 17:41:20)
Offline
mythbusteranimator wrote:
Guys.
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.
This is to test out your own scripts, not do silly spamming stuff like
when gf clicked say [I LOVE PIE!!!:D:D:D:D:D:D] for [2] seconds repeat [<until pie is gone>] eat pie end
you can do that only if you do not keep doing that. It is testing area, right?
Offline
Xion777 wrote:
This script is a stepping stone to making a full FPS game/simulation.
when gf clicked forever set x to <(mouse x) * [-1]> set y to <(mouse y) * [-1]> endUse this on a sprite as big as the whole screen.
Then on another sprite as big as the screen, place this script.when gf clicked forever set x to <<(mouse x) * [-1]> + [360]> set y to <(mouse y) * [-1]> endThis will place the sprite to the left...or right....whatever, this will be put on one of those side.
Make another sprite (as big as the whole screen) place this script in.when gf clicked forever set x to <<(mouse x) * [-1]> + [-360]> set y to <(mouse y) * [-1]> endIts just the same as the other sprite but 360 is now -360.
Then, duplicate all those sprites and on each one replace...set y to <(mouse y ) * [-1]>To this...set y to <<(mouse y ) * [-1]> + [480]>If you do that then you will also have a bottom row of sprites that will move as well.
You do not need a top row if you have a blue sky, you can just make the background blue and that would work.(Just saves you some extra work!)
Sincerely, Xion777
Cool scripts!
Offline
empathyart wrote:
when I receive [game start v] if <touching [sprite 1 v]?> say [hello]
Offline
[scratchblocks]
when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked
when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked
when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked
when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked
when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked
when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked
when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked
when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked
say
think
[/scratchbocks]
Offline
scripttutorials wrote:
when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked say think
fixed
Offline
wonder if text sizes and font styles work...
|
V
[size=big]Test[/size
[style=cambria]Test[/style]
Offline