Try this.
Offline
Try this. It may be kind of advanced (it uses x and y velocity), but, on the bright side, all of it fits into one script in one sprite, and doesn't require extra costumes.
Last edited by MoreGamesNow (2012-02-20 07:28:34)
Offline
when green flag clicked set [y velocity v] to [0] forever if <touching color [#36E813]?> if <key [up arrow v] pressed?> set [y velocity v] to (10) else set [y velocity v] to (1) end else change [y velocity v] by (-1) end change y by (y velocity) endChange the bit in the "Touching colour [ ]?" block to the colour of the platforms though.
Last edited by RedRocker227 (2012-02-20 10:49:56)
Offline
just use this.
http://www.google.com/url?q=http://scratch.mit.edu/projects/Chronicle/1239285&sa=U&ei=W2xCT6eEL8a_0QHI4JTDBw&ved=0CAQQFjAA&client=internal-uds-cse&usg=AFQjCNHSsSU0Fo5KI7IS7GaYlnRBtbBUWQ
Offline
With sensor sprites and scrolling you can make a platform game.
For scrolling, make an "object" sprite become the background and have the platforms and stuff on it. Then you can add movement (jumping, etc) and check for floors with the sensor sprite.
Offline
here's a really simple way!
when gf clicked forever if <touching color [#00FF00] ?> change y by (1) else change y by (-1) when gf clicked forever if <key [right arrow v] pressed?> change x by (5) end if <key [left arrow v] pressed?> change x by (-5) end if <touching color [#00FF00] ?> if <key [up arrow v] pressed?> change y by (10)
Offline