long platformer!ロングプラットフォーマー #game  #platformer

Instructions: ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●\n      Please see it! It's my new game!\nhttps://scratch.mit.edu/projects/270561235/\n●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●\n\nINSTRUCTIONS ARE ALSO IN GAME!\n\n - WASD or arrow keys to move and jump\n - R to restart the level (if you get stuck in a wall)\n - You can climb walls and do walljumps!!!

@Stage\n\nwhen flag clicked\nforever\n    play sound [C418 - Wet Hands - Minecraft Volume Alpha v] until done\nend\n\n@プレイヤー\n\nwhen flag clicked\nforever\n    set [pan left/right v] effect to (((200) * (((x position) + (240)) / (480))) - (100))\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nset [ステージ v] to [1]\ngo to x: (-210) y: (13)\nset size to (75) %\ngo to [front v] layer\nshow\nhide variable [x v]\nhide variable [y v]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<<key (right arrow v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>> or <key (d v) pressed?>> then\n        point in direction (90)\n        change [x v] by (0.8)\n    end\n    if <<<key (left arrow v) pressed?> or <<(x position) > (mouse x)> and <mouse down?>>> or <key (a v) pressed?>> then\n        point in direction (-90)\n        change [x v] by (-0.8)\n    end\n    set [x v] to ((X) * (0.92))\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 y by (1)\n                            if <touching (地面 v)?> then\n                                change x by ((0) - (X))\n                                change y by (-5)\n                                if <<<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> or <key (w v) pressed?>> then\n                                    start sound [壁キック v]\n                                    if <[0] < (X)> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\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    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (地面 v)?> then\n        change y by ((0) - (Y))\n        set [y v] to [0]\n    end\n    change y by (-2)\n    if <<<<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> or <key (w v) pressed?>> and <touching (地面 v)?>> then\n        start sound [ジャンプ音 v]\n        set [y v] to [17]\n    end\n    change y by (1)\n    if <<<<[-160] > (y position)> or <touching (障害物 v)?>> or <touching (ウィザー v)?>> and <not <<(♥) = [1]> and <(★) = [1]>>>> then\n        set [x v] to [0]\n        set [y v] to [0]\n        start sound [やられる v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-186) y: (13)\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\n    if <(x position) > [235]> then\n        change [ステージ v] by (1)\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-186) y: (13)\n        show\n    end\nend\n\nwhen flag clicked\nset [ステージ v] to [1]\n\nwhen flag clicked\nforever\n    if <touching (ジャンプ台 v)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen flag clicked\nforever\n    wait until <key (k v) pressed?>\n    wait until <not <key (k v) pressed?>>\n    change [ステージ v] by (1)\nend\n\nwhen flag clicked\nset [ステージ v] to [1]\n\nwhen flag clicked\nclear graphic effects\nforever\n    if <<(♥) = [1]> and <(★) = [1]>> then\n        change [color v] effect by (10)\n    end\nend\n\nwhen flag clicked\nset [time v] to [0]\nwait (0.001) seconds\nrepeat until <([costume # v] of [地面 v]) = [20]>\n    wait (1) seconds\n    change [time v] by (1)\nend\n\n@地面\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\nend\n\n@障害物\n\nwhen flag clicked\nshow\nforever\n    switch costume to (ステージ)\nend\n\n@太陽\n\nwhen flag clicked\nshow\ngo to x: (216) y: (151)\nset size to (100) %\nforever\n    change [a v] by (5)\n    change size by ([cos v] of (A) )\nend\n\n@雲\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    wait (pick random (1.5) to (2)) seconds\nend\n\nwhen I start as a clone\nset [必需品 v] to (pick random (50) to (120))\ngo to x: (280) y: ((170) - (必需品))\nswitch costume to (pick random (1) to (6))\nset [ghost v] effect to (pick random (0) to (50))\ngo to [back v] layer\ngo [forward v] (5) layers\nset rotation style [left-right v]\npoint in direction (pick random (-90) to (90))\nset size to ((85) + ((必需品) / (2))) %\nshow\nrepeat until <(x position) < [-260]>\n    change x by ((0) - (round ((必需品) / (15))))\nend\nrepeat (5)\n    change [ghost v] effect by (20)\n    change x by ((0) - (round ((必需品) / (15))))\nend\ndelete this clone\n\n@ウィザー\n\nwhen flag clicked\nwait (0.05) seconds\nset rotation style [left-right v]\npoint in direction (-90)\ngo to x: (150) y: (-60)\nforever\n    hide\n    if <([costume # v] of [地面 v]) = [19]> then\n        show\n        repeat until <not <([costume # v] of [地面 v]) = [19]>>\n            point in direction (-90)\n            glide (1) secs to x: (-150) y: (-60)\n            point in direction (90)\n            glide (1) secs to x: (150) y: (-60)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <([costume # v] of [地面 v]) = [19]>> then\n        hide\n    end\nend\n\n@サムネ\n\nwhen flag clicked\nhide\n\n