G‌R‌E‌E‌E‌N /  platformer

Instructions: 日本語は下です！\n\n\n★☆ I am using google translation.☆★\n\nClick here for my studios !\nhttps://scratch.mit.edu/studios/26923073/\n\nDifficulty level★★★☆☆\nIt may be quite difficult...\n\n~~~ How to use ~~~~~~~~~~~~~~~~~~~~~~~~~\nPC==> Operate with arrow keys\n\nSmartphone ==> Operate with mouse\n\n\n\n　Click here for my work\nhttps://scratch.mit.edu/studios/26923073/\n\n\n=~=~日本語~=~=~=~=~=~=~=~=~=~=~=~=\n\n難易度　★★★☆☆\n結構難しいかもしれないかも...\n\n~~~使い方~~~~~~~~~~~~~~~~~~~~~~~~~\nPC==>矢印キーで操作\n\nスマホ==>マウスで操作\n\n\n＜＜＜色の説明＞＞＞＞＞＞＞＞＞＞＞\n\n緑色　　　　　→ふつうの地面\n濃い緑　　　　→ﾀﾋぬ、そのステージの最初へ\n水色っぽい緑　→大ジャンプ

@Stage\n\nwhen flag clicked\nswitch backdrop to (最初 v)\n\nwhen I receive [スタート v]\nswitch backdrop to (ステージ v)\n\nwhen I receive [隠し v]\nswitch backdrop to (隠し v)\n\nwhen I receive [skip v]\nif <not <(ステージ) = [10]>> then\n    next backdrop\nend\n\nwhen backdrop switches to [ステージ v]\nplay sound [hinatabokko v] until done\nbroadcast (るーぷ v)\n\nwhen I receive [るーぷ v]\nplay sound [hinatabokko v] until done\nbroadcast (るーぷ v)\n\n@主人公2\n\nwhen backdrop switches to [最後 v]\nshow variable [死んだ回数 v]\nshow variable [スキップした回数 v]\nshow variable [☁ 死んだ回数のwr v]\nshow variable [みんなが死んだ回数 v]\nset [たいむすとっぷ v] to [1]\nset [☁ 死んだ回数 v] to (死んだ回数)\nif <(スキップした回数) = [0]> then\n    if <(☁ WorldRecord) > (タイム)> then\n        set [☁ worldrecord v] to (タイム)\n    else\n        set [タイム v] to (タイム)\n    end\n    if <(☁ 死んだ回数のWR) > (死んだ回数)> then\n        set [☁ 死んだ回数のwr v] to (死んだ回数)\n    else\n        set [死んだ回数 v] to (死んだ回数)\n    end\nelse\n    set [タイム v] to (タイム)\nend\n\nwhen backdrop switches to [ステージ v]\nforever\n    if <not <(たいむすとっぷ) = [1]>> then\n        wait (1) seconds\n        change [タイム v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (space v) pressed?> then\n        broadcast (スタート v)\n    end\nend\n\nwhen I receive [スタート v]\nshow variable [タイム v]\nshow variable [☁ worldrecord v]\nset [たいむすとっぷ v] to [0]\n\nwhen flag clicked\nhide\nhide variable [タイム v]\nhide variable [ステージ v]\nhide variable [死んだ回数 v]\nhide variable [☁ 死んだ回数 v]\nhide variable [☁ worldrecord v]\nset [タイム v] to [0]\nhide variable [スキップした回数 v]\nset [ステージ v] to [0]\nhide variable [☁ 死んだ回数のwr v]\nhide variable [みんなが死んだ回数 v]\nset [死んだ回数 v] to [0]\nset [スキップした回数 v] to [0]\nset [みんなが死んだ回数 v] to (みんなが死んだ回数)\n\nwhen I receive [スタート v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset [ghost v] effect to (7)\nrepeat (11)\n    change size by (-3.5)\n    change [ghost v] effect by (11)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(x position) > [222]> then\n        next backdrop\n        broadcast (つぎ！ v)\n        go to x: (-200) y: (0)\n        change [ステージ v] by (1)\n    end\nend\n\nwhen I receive [スタート v]\nshow\npoint in direction (90)\nset size to (33) %\ngo to [front v] layer\nset [ステージ v] to [1]\nset [ghost v] effect to (0)\ngo to x: (-200) y: (0)\nset [速度 v] to [0]\nset [重力 v] to [0]\nset rotation style [left-right v]\nforever\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        change [速度 v] by (1)\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [速度 v] by (-1)\n        point in direction (-90)\n    end\n    change y by (-1)\n    if <touching color (#00ac01)?> then\n        set [速度 v] to ((速度) * (0.9))\n    else\n        set [速度 v] to ((速度) * (0.89))\n    end\n    change y by (1)\n    change x by (速度)\n    if <touching color (#00ac01)?> then\n        change y by (1)\n        if <touching color (#00ac01)?> then\n            change y by (1)\n            if <touching color (#00ac01)?> then\n                change y by (1)\n                if <touching color (#00ac01)?> then\n                    change y by (1)\n                    if <touching color (#00ac01)?> then\n                        change y by (1)\n                        if <touching color (#00ac01)?> then\n                            change x by ((速度) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n                                if <(速度) > [0]> then\n                                    set [速度 v] to [-5]\n                                else\n                                    set [速度 v] to [5]\n                                end\n                                set [重力 v] to [10]\n                            else\n                                set [速度 v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n        if <touching color (#00ac01)?> then\n            set [重力 v] to [15]\n        end\n    end\n    change y by (重力)\n    change [重力 v] by (-1)\n    if <touching color (#00ac01)?> then\n        change y by ((重力) * (-1))\n        set [重力 v] to [0]\n    end\n    if <touching color (#007100)?> then\n        start sound [ﾀﾋ v]\n        go to x: (-201) y: (-50)\n        change [死んだ回数 v] by (1)\n        change [みんなが死んだ回数 v] by (1)\n    end\n    if <touching color (#00ffcf)?> then\n        start sound [ばねぇ〜！ v]\n        set [重力 v] to [22]\n    end\nend\n\nwhen I receive [skip v]\ngo to x: (-200) y: (0)\n\n@START\n\nwhen flag clicked\nshow\nset [whirl v] effect to (0)\ngo to x: (100) y: (-87)\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [100]>\n            change size by (1)\n        end\n    else\n        set size to (77) %\n    end\n    if <key (space v) pressed?> then\n        hide\n    end\nend\n\nwhen this sprite clicked\nrepeat (10)\n    change size by (-7)\n    change [ghost v] effect by (11)\nend\nbroadcast (スタート v) and wait\nhide\n\n@skipボタン\n\nwhen flag clicked\nhide\npoint in direction (90)\n\nwhen backdrop switches to [ステージ v]\nshow\ngo to x: (200) y: (-177)\nrepeat (1000000000000000000000000000000000000000000000000000000000000000)\n    go to [front v] layer\n    turn right (1) degrees\n    wait (0.01) seconds\n    turn right (1) degrees\n    wait (0.01) seconds\n    turn right (1) degrees\n    wait (0.01) seconds\n    turn right (1) degrees\n    wait (0.01) seconds\n    turn right (1) degrees\n    wait (0.01) seconds\n    turn right (1) degrees\n    wait (0.01) seconds\n    turn right (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn left (1) degrees\n    wait (0.01) seconds\n    turn right (1) degrees\n    wait (0.01) seconds\n    turn right (1) degrees\n    wait (0.01) seconds\n    turn right (1) degrees\n    wait (0.01) seconds\n    turn right (1) degrees\n    wait (0.01) seconds\n    turn right (1) degrees\n    wait (0.01) seconds\n    turn right (1) degrees\n    wait (0.01) seconds\n    turn right (1) degrees\n    wait (0.01) seconds\nend\n\nwhen this sprite clicked\nchange [スキップした回数 v] by (1)\nbroadcast (skip v)\n\nwhen backdrop switches to [最後 v]\nhide\n\nwhen backdrop switches to [隠し v]\nshow\n\n@www\n\nwhen flag clicked\nhide\nforever\n    if <(ステージ) = [9]> then\n        show\n        repeat (1000000000000000000000000000000000000)\n            go to x: (0) y: (0)\n            wait (2) seconds\n            glide (1.5) secs to x: (0) y: (-100)\n            wait (2) seconds\n            glide (1.5) secs to x: (0) y: (0)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(ステージ) = [10]> then\n        hide\n    end\nend\n\n@ステージ番号\n\nwhen flag clicked\nhide\nswitch costume to (stage 1 v)\n\nwhen backdrop switches to [ステージ v]\nshow\nforever\n    go to [front v] layer\n    go to x: (-187) y: (-167)\nend\n\nwhen I receive [つぎ！ v]\nnext costume\n\nwhen I receive [skip v]\nnext costume\nchange [ステージ v] by (1)\n\n@サムネイル\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\n    go to [front v] layer\n    reset timer\nend\n\nwhen [timer v] > (0)\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\nshow\n\n