Platformer Engine!
@Stage\n\n@Player\n\nwhen flag clicked\nswitch costume to (costume1 v)\nswitch backdrop to (backdrop1 v)\ngo to x: (-207) y: (-5)\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <(y position) = [-176]> then\n        go to x: (-207) y: (-5)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (.9))\n    change x by (x)\n    if <touching color (#000000)?> then\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [10]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change [y v] by (-.5)\n    change y by (y)\n    if <touching color (#000000)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#000000)?> and <key (up arrow v) pressed?>> then\n        set [y v] to [10]\n    end\n    change y by (1)\n    if <touching color (#ff1818)?> then\n        go to x: (-207) y: (-5)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <touching color (#ff922c)?> then\n        set [y v] to [13]\n    end\nend\n\ngo to x: (128) y: (-180)\n\nset [x v] to [5]\n\n\n\n@Splash Screen!\n\nwhen flag clicked\nshow\nclear graphic effects\nwait (.1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n
Welcome to my platformer engine!  You can use this code in your projects.  Just throw the code in your backpack and you're ready to go!