Test Platformer  Part 6
@Stage\n\n@Sprite2\n\n@Tutorial  || Player\n\nwhen I receive [next level v]\ngo to x: (-200) y: (101)\n\nwhen flag clicked\nhide\n\nwhen I receive [message 1 v]\ngo to x: (-200) y: (101)\nshow\n\nwhen I receive [message 1 v]\npoint in direction (90)\nset [xvel v] to [0]\nset [yvel v] to [0]\nforever\n    set rotation style [left-right v]\n    if <<<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n        switch costume to (costume1 v)\n    end\n    if <<<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n        switch costume to (costum2 v)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#2a2e45)?> then\n        change y by (1)\n        if <touching color (#2a2e45)?> then\n            change y by (1)\n            if <touching color (#2a2e45)?> then\n                change y by (1)\n                if <touching color (#2a2e45)?> then\n                    change y by (1)\n                    if <touching color (#2a2e45)?> then\n                        change y by (1)\n                        if <touching color (#2a2e45)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> or <key (w v) pressed?>> then\n                                set [yv v] to [13]\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-7]\n                                else\n                                    set [xv v] to [7]\n                                end\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching color (#2a2e45)?> then\n        if <<<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> or <key (w v) pressed?>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#2a2e45)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    hide variable [xv v]\n    if <(x position) > [230]> then\n        broadcast (next level v)\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [yv v] to [0]\n        set [xv v] to [0]\n        go to x: (-200) y: (101)\n        set [ghost v] effect to (0)\n    end\n    if <(y position) < [-170]> then\n        go to x: (-200) y: (101)\n    end\n    if <touching color (#ff0000)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [yv v] to [0]\n        set [xv v] to [0]\n        go to x: (-200) y: (-10)\n        set [ghost v] effect to (0)\n        start sound [Oopsy.. v]\n    end\n    if <touching color (#ff0000)?> then\n        set [yv v] to [20]\n    end\n    if <touching color (#2d5c5c)?> then\n        set [xv v] to [21]\n    end\n    if <<<touching color (#f7ff00)?> or <touching color (#fff600)?>> or <<touching color (#faff00)?> or <<touching color (#fff600)?> or <<touching color (#faff00)?> or <<touching color (#fff600)?> or <<touching color (#fff600)?> or <touching color (#fff600)?>>>>>>> then\n        set [yv v] to [20]\n    end\nend\n\nstart sound [Jump v]\n\nwhen flag clicked\nrepeat (100)\n    start sound [Xylo3 v]\nend\n\n@ Tutorial || Levels\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen I receive [message 1 v]\nswitch costume to (costume1 v)\nshow\n\n@Title2\n\nwhen I start as a clone\nswitch costume to (costume2 v)\ngo to x: (0) y: (-100)\nforever\n    set [brightness v] effect to (0)\n    change y by ([cos v] of (title y2) )\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-15)\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        switch costume to (costume3 v)\n        broadcast (Message 1 v)\n        delete this clone\n    end\nend\n\nwhen I receive [message 1 v]\ngo to [front v] layer\nhide\n\nwhen I receive [menu v]\nshow\nwait (.3) seconds\ncreate clone of (_myself_ v)\ngo to [front v] layer\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\ngo to x: (0) y: (100)\ncreate clone of (_myself_ v)\nforever\n    change [title y2 v] by (6.5)\n    change y by ([cos v] of (title y2) )\nend\n\nwhen flag clicked\nshow\n\n@Sprite1\n\nwhen flag clicked\nhide\n\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\n\n
Arrow keys or W, A, S, D or mouse pointer or if you're on mobile you can do it too by putting your finger on the ground for walking and jumping is putting your finger above the ground. (Any wrong grammar tell me in comments please)\n\n\nDon't RUSH! (Take your time!)\nFullscreen Recommended.\n\nEnjoy!