mathfreak231 wrote:
30-1 wrote:
ErnieParke wrote:
Fixed even more.
Fixed more than that.◌̂
c-c-c-combo breaker
jontmy00 wrote:
Please stop making quite trains that are unnecessary.
Offline
I made this script and when I tried to activate Mesh offline by doing the stuff on the wiki and changing true to false, but nothing happened. The project is Mesh Racing Game. I used the script:
Sprite 1 Car
when gf clicked point in direction [90 v] go to x: [-183] y: [-131] if <(1/2)=[1]> set [1/2 v] to [0] stop script end change [1/2 v] by [1] wait until <(p2)=[here]> set [p1 v] to [here] say [Ready!] for [1] secs say [Go!] for [1] secs forever if <key [up arrow v] pressed?> move [1] steps end if <key [left arrow v] pressed?> turn ccw [1] degrees end if <key [right arrow v] pressed?> turn cw [1] degrees end if <key [down arrow v] pressed?> move [-1] steps end endSprite 2 Car
when gf clicked point in direction [90 v] go to x: [-185] y: [-162] if <not<(1/2)=[1]>> set [p2 v] to [missing] stop script end set [p2 v] to [here] wait until <(p1)=[here]> say [Ready!] for [1] secs say [Go!] for [1] secs forever if <key [w v] pressed?> move [1] steps end if <key [d v] pressed?> turn cw [1] degrees end if <key [a v] pressed?> turn ccw [1] degrees end if <key [s v] pressed?> move [-1] steps end endIf anyone knows what's going on please help.
Offline
add [list apparently works in scratchblocks form] to [list v]
Offline
curiouscrab wrote:
I made this script and when I tried to activate Mesh offline by doing the stuff on the wiki and changing true to false, but nothing happened. The project is Mesh Racing Game. I used the script:
Sprite 1 Carwhen gf clicked point in direction [90 v] go to x: [-183] y: [-131] if <(1/2)=[1]> set [1/2 v] to [0] stop script end change [1/2 v] by [1] wait until <(p2)=[here]> set [p1 v] to [here] say [Ready!] for [1] secs say [Go!] for [1] secs forever if <key [up arrow v] pressed?> move [1] steps end if <key [left arrow v] pressed?> turn ccw [1] degrees end if <key [right arrow v] pressed?> turn cw [1] degrees end if <key [down arrow v] pressed?> move [-1] steps end endSprite 2 Carwhen gf clicked point in direction [90 v] go to x: [-185] y: [-162] if <not<(1/2)=[1]>> set [p2 v] to [missing] stop script end set [p2 v] to [here] wait until <(p1)=[here]> say [Ready!] for [1] secs say [Go!] for [1] secs forever if <key [w v] pressed?> move [1] steps end if <key [d v] pressed?> turn cw [1] degrees end if <key [a v] pressed?> turn ccw [1] degrees end if <key [s v] pressed?> move [-1] steps end endIf anyone knows what's going on please help.
This is a play area! Anyways why post it again? You already did it in help with scripts...
Offline
[scratchblocks]when gf clicked
repeat until your sane
clicked say hello your crazy
Last edited by johnaveryhanson (2012-11-26 15:30:32)
Offline
johnaveryhanson wrote:
when gf clicked repeat until (your sane clicked?) say [hello your crazy] end
Fixed.
Offline
when gf clicked forever eat go to [School v] eat go to [Home v] eat sleep end
Last edited by otnayupidstay (2012-11-26 19:51:23)
Offline
when green flag clicked point in direction (90) 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)> go to x: ((PlayerX)*(30)) y: ((PlayerY)*(30)) else if <(Dir)=(1)> go to x: ((PlayerY)*(30)) y: ((PlayerX)*(-30)) else if <(Dir)=(2)> go to x: ((PlayerX)*(-30)) y: ((PlayerY)*(-30)) else 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 ccw (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)) set [PlayerY v] to (round (PlayerY)) repeat (10) turn ccw (-9) degrees if <<(Dir)=(0)> and <(0)=(letter((((round (PlayerX))+(0))+(4))+((((round ((PlayerY)+(0.5)))+ (-1))-(3))*(-7))) of (item (LevelNumber) of [LevelData v]))>> change [PlayerY v] 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 v]))>> change [PlayerX v] 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 v]))>> change [PlayerY v] 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 v]))>> change [PlayerX v] by (-0.1) end
Offline
when gf clicked say [Just Testing Scratchblocks...] for (9) secs
Offline
To all of the spamers above, please don't spam here.
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.
Last edited by ErnieParke (2012-11-29 16:05:21)
Offline
ErnieParke wrote:
To all of the spamers above, please don't spam here.
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.
Yay someone agrees this is spam!
Offline
[scatchblocks]
when gf clicked
say pickles
think r
yummy
[/scratchblocks]
Offline