Explore - Platformer

Instructions: Find some amazing level codes you can try to load: https://scratch.mit.edu/discuss/topic/398503/?page=2\n\nThe forum thread is closed because there has been a new version released, you can find it here:\nhttps://scratch.mit.edu/projects/394572893/\n\nUSE THE ARROW KEYS TO SCROLL IN THE EDITOR\ngray blocks are ground, red and saws kill you, yellow is bouncy, blue is water, blue flags are checkpoints, once your done put down a green flag flag to mark the end\nto delete a block, click on "eraser" and tap on the blocks u want to delete\n\nif it looks pixellated, it's because the blocks are using stamp (pen), there are no clones and all collisions are done by calculating\n\nnot moblie friendly, sorry

@Stage\n\nwhen flag clicked\nforever\n    play sound [マリオ v] until done\nend\n\n@A.私\n\nwhen flag clicked\nset size to (80) %\ngo to x: (-220) y: (-30)\ngo to [back v] layer\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nchange [ghost v] effect by (100)\n\nwhen [z v] key pressed\n\nwhen flag clicked\n\nwait (0.1) seconds\n\nwhen flag clicked\nforever\n    if <(判定) = [生きてる]> then\nend\n\n\nwait until <not <key (space v) pressed?>>\n\nchange size by (10)\n\nwhen flag clicked\nforever\n\nif <key (space v) pressed?> then\n    change size by (10)\nend\nwait until <not <key (space v) pressed?>>\n\nwait (0.1) seconds\ncreate clone of (_myself_ v)\n\nwhen I receive [next v]\nset [敵生存? v] to [はい]\nset [敵生存? v] to [はい]\n\nif <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n    start sound [壁 v]\n    if <(xのやつ) > [0]> then\n        set [xのやつ v] to [-7]\n    else\n        set [xのやつ v] to [7]\n    end\n    set [ｙだー v] to [15]\nelse\n    set [xのやつ v] to [0]\nend\n\nwhen flag clicked\nset [ステージ v] to [1]\nset [判定 v] to [生きてる]\nset rotation style [left-right v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<(y position) < [-160]> or <touching (敵 v)?>> then\n        if <not <touching (判定1 v)?>> then\n            set [判定 v] to [死]\n            start sound [しんじった v]\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            broadcast (お亡くなり v)\n            wait (2) seconds\n            set [判定 v] to [生きてる]\n            clear graphic effects\n            go to x: (-210) y: (0)\n        end\n    end\n    if <<<(x position) > (mouse x)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        change [xのやつ v] by (-0.7)\n        point in direction (-90)\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        change [xのやつ v] by (0.7)\n        point in direction (90)\n    end\n    set [xのやつ v] to ((xのやつ) * (0.9))\n    change x by (xのやつ)\n    if <<touching (道 v)?> or <touching (?ブロック v)?>> then\n        change y by (1)\n        if <<touching (道 v)?> or <touching (?ブロック v)?>> then\n            change y by (1)\n            if <<touching (道 v)?> or <touching (?ブロック v)?>> then\n                change y by (1)\n                if <<touching (道 v)?> or <touching (?ブロック v)?>> then\n                    change y by (1)\n                    if <<touching (道 v)?> or <touching (?ブロック v)?>> then\n                        change y by (1)\n                        if <<touching (道 v)?> or <touching (?ブロック v)?>> then\n                            change x by ((xのやつ) * (-1))\n                            change y by (-5)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<touching (道 v)?> or <touching (?ブロック v)?>> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            set [ｙだー v] to [12]\n            start sound [じゃんぷ v]\n        end\n    end\n    change y by (1)\n    change [ｙだー v] by (-1)\n    change y by (ｙだー)\n    if <<touching (道 v)?> or <touching (?ブロック v)?>> then\n        change y by ((ｙだー) * (-1))\n        set [ｙだー v] to [0]\n    end\n    if <(x position) > [230]> then\n        change [ステージ v] by (1)\n        broadcast (next v)\n        start sound [Rip v]\n        wait (0.5) seconds\n        go to x: (-216) y: (50)\n    end\n    if <touching (ばね v)?> then\n        set [ｙだー v] to [22]\n    end\nend\n\n@道\n\nwhen flag clicked\nforever\n    switch costume to (ステージ)\nend\n\nwhen flag clicked\nset [time v] to [0]\nhide variable [time v]\nhide variable [☁ world record v]\n\nwhen I receive [next v]\nnext costume\n\n@敵\n\nif <touching (道 v)?> then\n    if <[0] < ([y position v] of [a.私 v])> then\n        set [敵y v] to [16.3]\n        start sound [smb_jump-small v]\n    end\nend\n\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen I receive [お亡くなり v]\nif <not <(敵生存?) = [はい]>> then\n    clear graphic effects\n    hide\n    broadcast (判定も隠れrp v)\n    wait (2) seconds\n    go to x: (230) y: (0)\n    broadcast (無 v)\n    show\nend\n\nwhen I receive [さよなら的 v]\nset [敵生存? v] to [はい]\nhide\n\nwhen flag clicked\nset [敵生存? v] to [そうだね]\n\nwhen flag clicked\nshow\ngo to x: (230) y: (0)\nset rotation style [left-right v]\npoint in direction (90)\nset [敵x v] to [0]\nset [敵y v] to [0]\nforever\n    if <(y position) < [-160]> then\n    if <<([x position v] of [a.私 v]) < (x position)> and <not <(判定) = [死]>>> then\n        change [敵x v] by (-0.25)\n        point in direction (-90)\n    end\n    if <<(x position) < ([x position v] of [a.私 v])> and <not <(判定) = [死]>>> then\n        change [敵x v] by (0.25)\n        point in direction (90)\n    end\n    set [敵x v] to ((敵x) * (0.9))\n    change x by (敵x)\n    if <touching (道 v)?> then\n        change y by (1)\n        if <touching (道 v)?> then\n            change y by (1)\n            if <touching (道 v)?> then\n                change y by (1)\n                if <touching (道 v)?> then\n                    change y by (1)\n                    if <touching (道 v)?> then\n                        change y by (1)\n                        if <touching (道 v)?> then\n                            change x by ((敵x) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n                                start sound [壁 v]\n                                if <(敵x) > [0]> then\n                                    set [敵x v] to [-7]\n                                else\n                                    set [敵x v] to [7]\n                                end\n                                set [敵y v] to [15]\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 (-1)\n    change y by (1)\n    change [敵y v] by (-1)\n    change y by (敵y)\n    if <touching (道 v)?> then\n        change y by ((敵y) * (-1))\n        set [敵y v] to [0]\n    end\nend\n\nwhen I receive [next v]\nhide\n\n@判定1\n\nwhen flag clicked\nshow\nforever\n    go to (敵 v)\nend\n\nwhen flag clicked\nset [ghost v] effect to (99)\nforever\n    if <touching (a.私 v)?> then\n        if <not <(判定) = [死]>> then\n            broadcast (さよなら的 v)\n            start sound [Squish v]\n            hide\n        end\n    end\nend\n\nwhen I receive [判定も隠れrp v]\nhide\n\nwhen I receive [無 v]\nshow\n\n@判定2\n\nwhen flag clicked\nforever\n    if <(ステージ) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nset [ghost v] effect to (99)\nforever\n    if <(ステージ) = [3]> then\n        if <touching (a.私 v)?> then\n            broadcast (j v)\n            hide\n            \n        end\n    end\nend\n\n@?ブロック\n\nwhen I receive [j v]\nstart sound [Coin v]\nswitch costume to (block2 v)\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nforever\n    if <(ステージ) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\n@コイン\n\nwhen I receive [j v]\nset [ghost v] effect to (0)\nshow\nglide (0.1) secs to x: (0) y: (75)\nwait (0.5) seconds\nrepeat (10)\n    change [ghost v] effect by (25)\nend\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\ngo to [back v] layer\n\n@コイン2\n\nwhen flag clicked\nhide\ngo to x: (-70) y: (-80)\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    if <(ステージ) = [5]> then\n        show\n        go to x: (-70) y: (-80)\n        if <touching (a.私 v)?> then\n            start sound [Coin v]\n            glide (0.1) secs to x: (-70) y: (-30)\n            wait (0.5) seconds\n            repeat (10)\n                change [ghost v] effect by (25)\n            end\n            \n        end\n    end\nend\n\nset [ghost v] effect to (0)\n\n@コイン3\n\nwhen flag clicked\nhide\ngo to x: (20) y: (-80)\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    if <(ステージ) = [5]> then\n        show\n        go to x: (20) y: (-80)\n        if <touching (a.私 v)?> then\n            start sound [Coin v]\n            glide (0.1) secs to x: (20) y: (-30)\n            wait (0.5) seconds\n            repeat (10)\n                change [ghost v] effect by (25)\n            end\n            \n        end\n    end\nend\n\nset [ghost v] effect to (0)\n\n@コイン4\n\nwhen flag clicked\nhide\ngo to x: (110) y: (-80)\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    if <(ステージ) = [5]> then\n        show\n        go to x: (110) y: (-80)\n        if <touching (a.私 v)?> then\n            start sound [Coin v]\n            glide (0.1) secs to x: (110) y: (-30)\n            wait (0.5) seconds\n            repeat (10)\n                change [ghost v] effect by (25)\n            end\n            \n        end\n    end\nend\n\nset [ghost v] effect to (0)\n\n@スプライト1\n\nwhen flag clicked\nforever\n    set rotation style [left-right v]\n    go to (a.私 v)\n    point in direction ([direction v] of [a.私 v])\nend\n\nwhen flag clicked\nforever\n    if <(判定) = [生きてる]> then\n        show\n    else\n        hide\n    end\nend\n\n@おさむね\n\nwhen flag clicked\nhide\n\n