Basic Platformer
@Stage\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    switch backdrop to (Level)\nend\n\n@Sprite1\n\nwhen flag clicked\npoint in direction (90)\nset [x spawn v] to [-175]\nset [y spawn v] to [-122]\ngo to x: (X spawn) y: (Y spawn)\nshow\nset size to (80) %\nset [x v] to [0]\nset [y v] to [0]\nforever\n    Tutorial\nend\n\ndefine Tutorial\nforever\n    change [y v] by (-0.5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (-0.8)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (0.8)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <touching color (#00ff12)?> then\n        change y by (1)\n        if <touching color (#00ff12)?> then\n            change y by (1)\n            if <touching color (#00ff12)?> then\n                change y by (1)\n                if <touching color (#00ff12)?> then\n                    change y by (1)\n                    if <touching color (#00ff12)?> then\n                        change y by (1)\n                        if <touching color (#00ff12)?> then\n                            change y by (-6)\n                            change x by ((X) * (-1))\n                            if <<key (up arrow v) pressed?> or <key (w 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                    end\n                end\n            end\n        end\n    end\n    change y by (Y)\n    if <touching color (#00ff12)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching color (#00ff12)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y v] to [9]\n    end\n    change y by (0.5)\n    if <(x position) > [217]> then\n        change [level v] by (1)\n        go to x: (X spawn) y: (Y spawn)\n    end\n    if <touching (obstacles v)?> then\n        go to x: (X spawn) y: (Y spawn)\n    end\n    if <touching (tramppoline v)?> then\n        set [y v] to [13]\n    end\nend\n\n@Obstacles\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\n@Tramppoline\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\nforever\n    go to [front v] layer\n    show\nend\n\n
-AWSD or Arrow Keys to move and jump.\n-You can make more new level base on this Platformer.\n-This is one of the most basic platformer that you can find in scratch.\n-You can make more obstacles as much as you want, like: Lava, water,..\n-Feel free to remix.