Clicker Platformer
@Stage\n\n@Player\n\nwhen flag clicked\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-200) y: (-75)\nshow\nforever\n    switch costume to (hitbox v)\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (Speed)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by ((Speed) * (-1))\n    end\n    set [xv v] to ((xV) * (0.9))\n    change x by (xV)\n    if <touching (levels v)?> then\n        change y by (2)\n        if <touching (levels v)?> then\n            change y by (2)\n            if <touching (levels v)?> then\n                change y by (2)\n                if <touching (levels v)?> then\n                    change y by (-6)\n                    change x by ((xV) * (-1))\n                    set [xv v] to [0]\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (yV)\n    if <touching (levels v)?> then\n        change y by ((yV) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching (levels v)?> and <key (up arrow v) pressed?>> then\n        set [yv v] to (Jump Height)\n    end\n    change y by (1)\n    switch costume to (cat v)\n    if <(x position) > [239]> then\n        broadcast (Next level v)\n        go to x: (-200) y: (-75)\n    end\n    if <(y position) < [-175]> then\n        go to x: (-200) y: (-75)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    end\nend\n\n@Levels\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [level v] to [1]\nswitch costume to (level 1 v)\nshow\n\nwhen I receive [next level v]\nchange [level v] by (1)\nnext costume\n\n@Speed Upgrade\n\nwhen flag clicked\nset [speed v] to [0]\ngo to x: (-30) y: (145)\nset [brightness v] effect to (0)\nshow\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        set [brightness v] effect to (10)\n        set size to (110) %\n        change [speed v] by (0.01)\n        wait until <not <mouse down?>>\n        set size to (100) %\n        set [brightness v] effect to (0)\n    end\nend\n\n@Jump Upgrade\n\nwhen flag clicked\nset [jump height v] to [0]\ngo to x: (90) y: (145)\nset [brightness v] effect to (0)\nshow\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        set [brightness v] effect to (10)\n        set size to (110) %\n        change [jump height v] by (0.1)\n        wait until <not <mouse down?>>\n        set size to (100) %\n        set [brightness v] effect to (0)\n    end\nend\n\nset [speed v] to [2]\n\n
Instructions are in the game.\n\nOnly 4 levels. I could add more levels but they would just be walls getting higher and higher and you'll have to up your jump height more and more and it would just be boring.