Platformer
@Stage\n\n@Player\n\ndefine handle ground <moving up>\nrepeat until <not <touching color (#000000)?>>\n    if <moving up> then\n        change y by (-5)\n    else\n        change y by (1)\n        set [in air? v] to [0]\n    end\n    set [y val v] to [0]\nend\n\ndefine walk (steps)\nchange x by (steps)\nset [ground lift v] to [0]\nrepeat until <<not <touching color (#000000)?>> or <(Ground lift) = [8]>>\n    change y by (1)\n    change [ground lift v] by (1)\nend\nif <(Ground lift) = [8]> then\n    change x by ((-1) * (steps))\n    change y by (-8)\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nshow\ngo to x: (-224) y: (-114)\nset rotation style [left-right v]\nset [y val v] to [0]\nforever\n    change [y val v] by (-2)\n    change y by (Y val)\n    change [in air? v] by (1)\n    handle ground <[0] < (Y val)>\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    if <key (a v) pressed?> then\n        walk [-5]\n    end\n    if <key (d v) pressed?> then\n        walk [5]\n    end\n    if <<key (w v) pressed?> and <(In Air?) < [8]>> then\n        set [y val v] to [14]\n    end\nend\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (0)\nset size to (100) %\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\nhide\ndelete this clone\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    if <key (left arrow v) pressed?> then\n        walk [-5]\n    end\n    if <key (right arrow v) pressed?> then\n        walk [5]\n    end\n    if <<key (up arrow v) pressed?> and <(In Air?) < [8]>> then\n        set [y val v] to [14]\n    end\n    if <<[235] < (x position)> or <(x position) = [235]>> then\n        go to x: (-224) y: (-108)\n        next backdrop\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-209) y: (-114)\n    end\n    if <touching color (#9c9c9c)?> then\n        go to x: (-209) y: (-114)\n    end\nend\n\n
Hello :D\n**CURRENTLY MAKING THE SECOND**\nI made this little game to try it (tell me if you like it or not)\n\n*Instructions*\n\n-Either clicking or holding the "up arrow" or "w" makes you jump. \n-"a", "d", "left arrow",and "right arrow" will make you move\n