Scratch: A Platformer (Mobile Friendly)                            #Games #All
@Stage\n\nwhen flag clicked\nforever\n    play sound [We Are Together2 v] until done\nend\n\n@Sprite1\n\ndefine up <now>\nchange [smash head v] by (1)\nrepeat until <not <touching (sprite2 v)?>>\n    set [yv v] to [0]\n    if <not <now>> then\n        change y by (1)\n        set [smash head v] to [0]\n    else\n        change y by (-1)\n    end\nend\n\nwhen flag clicked\nbroadcast (start v)\n\nwhen I receive [start v]\ngo to x: (-160) y: (140)\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        broadcast (start v)\n        erase all\n    end\n    if <touching (report v)?> then\n        broadcast (start v)\n    end\n    if <(y position) < [-170]> then\n        broadcast (start v)\n    end\n    switch costume to (2 v)\n    if <<<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n        point in direction (90)\n    end\n    if <<<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n        point in direction (-90)\n    end\n    change [yv v] by (-0.6)\n    change x by (xv)\n    if <touching (sprite2 v)?> then\n        change x by ((xv) * (-1))\n    end\n    set [xv v] to ((xv) * (0.8))\n    change y by (Yv)\n    up <(Yv) > [0]>\n    if <<(smash head) < [4]> and <<key (up arrow v) pressed?> or <<<mouse down?> and <(mouse y) > (y position)>> or <key (w v) pressed?>>>> then\n        set [yv v] to [10]\n    end\n    switch costume to (1 v)\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (-5)\nend\n\npoint in direction (90)\n\n@Sprite2\n\nwhen I receive [start v]\nswitch costume to (level)\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Sprite3\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    set [ghost v] effect to (57)\nend\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (22) y: (-202)\nforever\n    go to [front v] layer\n    set size to (60) %\nend\n\n@Report\n\nwhen I receive [start v]\nswitch costume to (level)\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Text\n\nwhen I receive [start v]\nswitch costume to (level)\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Sprite6\n\nwhen flag clicked\nhide\n\nwhen [timer v] > (0.3)\nswitch costume to (costume1 v)\nset [ghost v] effect to (100)\nshow\ngo to [front v] layer\nrepeat (10)\n    go to [front v] layer\n    change [ghost v] effect by (-10)\nend\n\nwhen flag clicked\ngo to x: (3) y: (19)\ngo to [front v] layer\nhide\nforever\n    reset timer\nend\n\n
 love fave and look at this instead\nhttps://scratch.mit.edu/projects/515895890\n\nNo lag: https://experiments.turbowarp.org/interpolation/462840689\n\nScratch: A platformer\n==============================\nWelcome to Scratch: A platformer. Arrow keys, wasd or mobile to move. You are a blue scratch cube which has to avoid red report buttons. It may be hard, but you have to continue, to make it to the end...\n\n\nWoah, this is getting popular fast XD, Thankyou for all the loves and favs!!