【傾向1位】【初見殺し】☁いじわるPlatformer(プラットフォーマー)
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景 v)\nforever\n    play sound [Nebula v] until done\nend\n\nwhen flag clicked\nwait (1) seconds\nforever\n    broadcast (❤と★ v) and wait\n    wait (7) seconds\nend\n\n@軽量化\n\nset [☁ 世界記録 v] to [8]\n\n@目ん玉\n\nwhen flag clicked\ngo to x: (-210) y: (-80)\nset [操作 v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nset [ステージ v] to [1]\nset [ステージ初期位置 v] to [左]\nset size to (95) %\nshow\npoint in direction (90)\nswitch costume to (黒 v)\nforever\n    if <(操作) = [0]> then\n        if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n            point in direction (-90)\n            change [x v] by (-1)\n        end\n        if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n            point in direction (90)\n            change [x v] by (1)\n        end\n        change x by (x)\n        if <touching color (#2fff00)?> then\n            change y by (1)\n            if <touching color (#2fff00)?> then\n                change y by (1)\n                if <touching color (#2fff00)?> then\n                    change y by (1)\n                    if <touching color (#2fff00)?> then\n                        change y by (1)\n                        if <touching color (#2fff00)?> then\n                            change y by (1)\n                            if <touching color (#2fff00)?> then\n                                change y by (1)\n                                if <touching color (#2fff00)?> then\n                                    change x by ((0) - (x))\n                                    change y by (-5)\n                                    if <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>> then\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        set [x v] to ((x) * (0.92))\n         Wall kick\n    end\nend\n\nwhen flag clicked\nforever\n    if <(操作) = [0]> then\n        if <not <(ステージ) = [-4]>> then\n            if <key (r v) pressed?> then\n                set [操作 v] to [1]\n                start sound [Collect v]\n                broadcast (ゲームオーバー v) and wait\n                switch costume to (黒 v)\n                broadcast (セッティング v) and wait\n                set [操作 v] to [0]\n                set [x v] to [0]\n                set [y v] to [0]\n            end\n            if <<(y position) < [-180]> or <<touching color (#ff0000)?> or <<touching color (#808080)?> or <touching color (#b3b3b3)?>>>> then\n                set [操作 v] to [1]\n                broadcast (ゲームオーバー v) and wait\n                switch costume to (黒 v)\n                broadcast (セッティング v) and wait\n                set [操作 v] to [0]\n                set [x v] to [0]\n                set [y v] to [0]\n            end\n            if <[0] < (ステージ)> then\n                if <[240] < (x position)> then\n                    start sound [Rip v]\n                    set [x v] to [0]\n                    set [y v] to [0]\n                    change [ステージ v] by (1)\n                    set [ステージ初期位置 v] to [左]\n                    set [操作 v] to [1]\n                    broadcast (セッティング v) and wait\n                    set [操作 v] to [0]\n                end\n            end\n            if <(x position) < [-240]> then\n                start sound [Connect v]\n                set [x v] to [0]\n                set [y v] to [0]\n                change [ステージ v] by (-1)\n                set [ステージ初期位置 v] to [右]\n                set [操作 v] to [1]\n                broadcast (セッティング v) and wait\n                set [操作 v] to [0]\n            end\n        end\n    end\nend\n\ndefine  Wall kick\nif <(操作) = [0]> then\n    change [y v] by (-1)\nend\nchange y by (y)\nif <touching color (#2fff00)?> then\n    change y by ((0) - (y))\n    set [y v] to [0]\nend\nchange y by (-2)\nif <<<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<[0] < (mouse y)> and <mouse down?>>> and <touching color (#2fff00)?>> then\n    start sound [Jump v]\n    set [y v] to [13]\nend\nchange y by (1)\n\nwhen I receive [セッティング v]\nif <(ステージ初期位置) = [左]> then\n    go to x: (-210) y: (-81)\nend\nif <(ステージ初期位置) = [右]> then\n    go to x: (210) y: (-81)\nend\nif <(ステージ初期位置) = [右2]> then\n    go to x: (170) y: (-81)\nend\nshow\n\nwhen I receive [ゲームオーバー v]\nswitch costume to (黒2 v)\nrepeat (5)\n    change y by (16)\nend\nrepeat (2)\n    change y by (8)\nend\nrepeat (2)\n    change y by (4)\nend\nrepeat (2)\n    change y by (2)\nend\nrepeat (2)\n    change y by (1)\nend\nrepeat (2)\n    change y by (-1)\nend\nrepeat (2)\n    change y by (-2)\nend\nrepeat (2)\n    change y by (-4)\nend\nrepeat (2)\n    change y by (-8)\nend\nrepeat (2)\n    change y by (-16)\nend\nrepeat until <(y position) < [-180]>\n    change y by (-32)\nend\nhide\n\nwhen flag clicked\nreset timer\nforever\n    repeat until <(ステージ) = [-4]>\n        set [time v] to (timer)\n    end\nend\n\nwhen I receive [ゲームオーバー v]\nplay sound [Lose v] until done\nbroadcast (音楽 v)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen [timer v] > ((TIME2) + (0.1))\nbroadcast (停止 v)\n\nwhen flag clicked\nhide variable [time v]\nhide variable [☁ 世界記録 v]\nforever\n    if <(ステージ) = [-4]> then\n        set [time v] to (round (TIME))\n        show variable [time v]\n        show variable [☁ 世界記録 v]\n        if <(TIME) < (☁ 世界記録)> then\n            switch backdrop to (世界記録 v)\n            set [☁ 世界記録 v] to (TIME)\n        end\n    end\nend\n\nset [ステージ v] to [-4]\n\nwhen flag clicked\nforever\n    set [time2 v] to (timer)\nend\n\n@地面\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\nforever\n    switch costume to (join [ステージ] (ステージ))\nend\n\n@罠\n\nwhen flag clicked\ndelete all of [罠番号 v]\nhide\nforever\n    if <(操作) = [0]> then\n        if <(ステージ) = [1]> then\n            if <not <[罠番号 v] contains [1]?>> then\n                if <([x position v] of [目ん玉 v]) > [-80]> then\n                    set [罠番号 v] to [1]\n                    create clone of (_myself_ v)\n                    add [1] to [罠番号 v]\n                end\n            end\n        end\n        if <(ステージ) = [2]> then\n            if <not <[罠番号 v] contains [3]?>> then\n                set [罠番号 v] to [3]\n                create clone of (_myself_ v)\n                add [3] to [罠番号 v]\n            end\n            if <not <[罠番号 v] contains [2]?>> then\n                if <([x position v] of [目ん玉 v]) > [160]> then\n                    set [罠番号 v] to [2]\n                    create clone of (_myself_ v)\n                    add [2] to [罠番号 v]\n                end\n            end\n        end\n        if <(ステージ) = [0]> then\n            if <not <[罠番号 v] contains [6]?>> then\n                set [罠番号 v] to [6]\n                create clone of (_myself_ v)\n                add [6] to [罠番号 v]\n            end\n            if <not <[罠番号 v] contains [4]?>> then\n                if <<<[130] > ([x position v] of [目ん玉 v])> and <([x position v] of [目ん玉 v]) > [40]>> and <([y position v] of [目ん玉 v]) > [-60]>> then\n                    set [罠番号 v] to [4]\n                    create clone of (_myself_ v)\n                    add [4] to [罠番号 v]\n                end\n            end\n            if <not <[罠番号 v] contains [5]?>> then\n                if <<[130] > ([x position v] of [目ん玉 v])> and <[-85] > ([y position v] of [目ん玉 v])>> then\n                    set [罠番号 v] to [5]\n                    create clone of (_myself_ v)\n                    add [5] to [罠番号 v]\n                end\n            end\n            if <not <[罠番号 v] contains [7]?>> then\n                if <[-10] > ([x position v] of [目ん玉 v])> then\n                    set [罠番号 v] to [7]\n                    create clone of (_myself_ v)\n                    add [7] to [罠番号 v]\n                end\n            end\n        end\n        if <(ステージ) = [-1]> then\n            if <not <[罠番号 v] contains [8]?>> then\n                if <[80] > ([x position v] of [目ん玉 v])> then\n                    set [罠番号 v] to [8]\n                    create clone of (_myself_ v)\n                    add [8] to [罠番号 v]\n                end\n            end\n            if <not <[罠番号 v] contains [9]?>> then\n                if <[-135] > ([x position v] of [目ん玉 v])> then\n                    set [罠番号 v] to [9]\n                    create clone of (_myself_ v)\n                    add [9] to [罠番号 v]\n                end\n            end\n        end\n        if <(ステージ) = [-2]> then\n            if <not <[罠番号 v] contains [10]?>> then\n                if <[80] > ([x position v] of [目ん玉 v])> then\n                    set [罠番号 v] to [10]\n                    create clone of (_myself_ v)\n                    add [10] to [罠番号 v]\n                end\n            end\n            if <not <[罠番号 v] contains [11]?>> then\n                if <[-150] > ([x position v] of [目ん玉 v])> then\n                    set [罠番号 v] to [11]\n                    create clone of (_myself_ v)\n                    add [11] to [罠番号 v]\n                end\n            end\n        end\n        if <(ステージ) = [-3]> then\n            if <not <[罠番号 v] contains [12]?>> then\n                set [罠番号 v] to [12]\n                create clone of (_myself_ v)\n                add [12] to [罠番号 v]\n            end\n        end\n    end\nend\n\nwhen I start as a clone\npoint in direction (90)\nset size to (100) %\nif <(罠番号) = [1]> then\n    switch costume to (コスチューム2 v)\n    go to x: (0) y: (0)\n    show\n    go to [back v] layer\n    start sound [Zoop v]\n    glide (0.1) secs to x: (0) y: (65)\nend\nif <(罠番号) = [2]> then\n    switch costume to (コスチューム1 v)\n    go to x: (240) y: (0)\n    show\n    go to [back v] layer\n    start sound [Machine v]\n    glide (0.2) secs to x: (220) y: (0)\n    set [ステージ初期位置 v] to [右2]\nend\nif <(罠番号) = [3]> then\n    switch costume to (コスチューム3 v)\n    go to x: (0) y: (0)\n    show\n    wait until <([x position v] of [目ん玉 v]) > [-65]>\n    start sound [Oops v]\n    glide (0.1) secs to x: (0) y: (-10000)\n    delete this clone\nend\nif <(罠番号) = [4]> then\n    switch costume to (コスチューム4 v)\n    go to [front v] layer\n    go to x: (0) y: (0)\n    show\n    start sound [Whiz v]\nend\nif <(罠番号) = [5]> then\n    switch costume to (コスチューム5 v)\n    go to [front v] layer\n    go to x: (0) y: (0)\n    show\nend\nif <(罠番号) = [6]> then\n    switch costume to (コスチューム6 v)\n    go to [front v] layer\n    go to x: (0) y: (0)\n    show\n    wait until <<[110] > ([x position v] of [目ん玉 v])> and <[-85] > ([y position v] of [目ん玉 v])>>\n    if <(操作) = [0]> then\n        start sound [Oops v]\n        glide (0.1) secs to x: (0) y: (-10000)\n        delete this clone\n    end\nend\nif <(罠番号) = [7]> then\n    switch costume to (コスチューム7 v)\n    go to x: (0) y: (0)\n    show\n    go to [back v] layer\n    start sound [Low Whoosh v]\n    glide (0.1) secs to x: (0) y: (60)\nend\nif <(罠番号) = [8]> then\n    switch costume to (コスチューム8 v)\n    go to x: (-240) y: (25)\n    show\n    go to [back v] layer\n    start sound [Whiz v]\n    glide (1) secs to x: (221) y: (-140)\n    delete this clone\nend\nif <(罠番号) = [9]> then\n    switch costume to (コスチューム9 v)\n    go to x: (-240) y: (-180)\n    show\n    go to [back v] layer\n    start sound [Machine v]\n    glide (0.1) secs to x: (0) y: (0)\nend\nif <(罠番号) = [10]> then\n    switch costume to (コスチューム10 v)\n    go to x: (0) y: (0)\n    show\n    go to [back v] layer\n    start sound [Ya v]\n    glide (0.5) secs to x: (500) y: (0)\n    delete this clone\nend\nif <(罠番号) = [11]> then\n    switch costume to (コスチューム11 v)\n    go to x: (0) y: (0)\n    show\n    go to [back v] layer\n    start sound [Low Whoosh v]\n    glide (0.1) secs to x: (0) y: (60)\nend\nif <(罠番号) = [12]> then\n    switch costume to (コスチューム12 v)\n    go to x: (0) y: (0)\n    show\n    go to [back v] layer\n    forever\n        if <<[60] > ([x position v] of [目ん玉 v])> and <[60] > ([y position v] of [目ん玉 v])>> then\n            start sound [Magic Spell v]\n            switch costume to (コスチューム13 v)\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [セッティング v]\nhide\ndelete all of [罠番号 v]\ndelete this clone\n\nwhen flag clicked\ndelete this clone\n\n@ハートと星\n\ndefine x: (x1) y: (y1) から X: (x2) Y: (y2) DIV: (d)\ngo to x: (x1) y: (y1)\nrepeat until <<(round (x position)) = (x2)> and <(round (y position)) = (y2)>>\n    change x by (((x2) - (x position)) / (d))\n    change y by (((y2) - (y position)) / (d))\nend\n\nwhen I receive [❤と★ v]\ngo to [front v] layer\nset [❤と★ v] to [0]\nswitch costume to (マウス v)\ncreate clone of (_myself_ v)\ngo to x: (110) y: (143)\nswitch costume to (灰 v)\nset size to (70) %\nset [ghost v] effect to (100)\nchange size by (40)\nshow\nset [❤と★2 v] to [1]\nrepeat (23)\n    if <(❤と★2) < [6]> then\n        change [ghost v] effect by (-20)\n    end\n    change size by (((70) - (size)) / (5))\n    change [❤と★2 v] by (1)\nend\nset [ghost v] effect to (0)\nset size to (70) %\nwait until <(❤と★) = [1]>\nswitch costume to (ハート v)\nwait until <(❤と★) = [2]>\nswitch costume to (星 v)\nwait until <(❤と★) = [3]>\nswitch costume to (フォロー v)\nwait until <(❤と★) = [4]>\nrepeat (23)\n    change [ghost v] effect by (20)\n    change size by ((-1) * (((70) - (size)) / (5)))\nend\nhide\n\nwhen I start as a clone\nhide\nwait (0.8) seconds\nset size to (50) %\ngo to [front v] layer\nset [ghost v] effect to (0)\nshow\nx: [64] y: [96] から X: [46] Y: [130] DIV: [8]\nset [❤と★ v] to [1]\nwait (0.5) seconds\nx: [46] y: [130] から X: [95] Y: [130] DIV: [8]\nset [❤と★ v] to [2]\nwait (0.5) seconds\nx: [95] y: [130] から X: [163] Y: [130] DIV: [8]\nset [❤と★ v] to [3]\nwait (0.7) seconds\nset [❤と★ v] to [4]\nrepeat (23)\n    change [ghost v] effect by (20)\n    change size by ((-1) * (((70) - (size)) / (5)))\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\n@ターボ防止\n\nwhen flag clicked\nswitch costume to (点 v)\ncreate clone of (_myself_ v)\nset [ターボ検知 v] to [ON]\nset [ターボ？ v] to [0]\nhide\nwait (0.01) seconds\nforever\n    if <(ターボ検知) = [ON]> then\n        if <[200] < (ターボ検知用)> then\n            show\n            switch costume to (ターボ検知 v)\n            go to [front v] layer\n            set [ターボ？ v] to [1]\n            stop [all v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    change [ターボ検知用 v] by (1)\n    change [fps計測用 v] by (1)\nend\n\nwhen flag clicked\nforever\n    set [fps v] to (FPS計測用)\n    set [fps計測用 v] to [0]\n    set [ターボ検知用 v] to [100]\n    wait (1) seconds\nend\n\nset [ターボ検知 v] to [ON]\n\nwhen I start as a clone\nshow\nset size to (1) %\nforever\n    move (10) steps\n    if on edge, bounce\nend\n\nset [ターボ検知 v] to [OFF]\n\nhide variable [ターボ検知 v]\n\n@サムネ\n\nwhen flag clicked\nshow\ngo to [front v] layer\nhide\n\nbroadcast (サムネ v)\n\nwhen I receive [サムネ v]\nforever\n    go to x: (0) y: (0)\n    show\n    switch costume to (ベクター v)\n    go to [front v] layer\nend\n\nwhen I receive [停止 v]\nif <(ターボ？) = [0]> then\n    forever\n        go to x: (0) y: (0)\n        switch costume to (ベクター v)\n        show\n        go to [front v] layer\n    end\nelse\n    stop [all v]\nend\n\n
✨✨✨新作です！ハート星よろしく！✨✨✨\nhttps://scratch.mit.edu/projects/995554649\n✨✨✨新作です！是非見てね！✨✨✨\nhttps://scratch.mit.edu/projects/995554649\n\n■傾向1位,ゲーム1p！参照数60k！コミュ好き、リミ！\n■初傾向で1位とコミュ好きコミュリミまでいくとは...\n■難易度：★★★★☆（ステージ数はかなり少なめ）\n\n■HOW TO PLAY（日本語は下）\nMove with arrow keys or tap\nRestart with R key\nPlease be careful because there are a lot of trap.\nFurthermore, the author has already test-played it.\n\nPlease give me a heart and a star!!!!!!!!!!!!\n\n*The author does not take any responsibility even if the keyboard breaks due to the keyboard or any other unforeseen circumstances occur.\n\n■遊び方（English ↑ ）\n矢印キーまたはタップで移動、Rでリスタート\nたくさんの罠がありますので気を付けてください\n\nなおしっかりと作者がテストプレイ済です\n作者の最高記録：9秒\n\n※台パンしてキーボードぶっ壊したり、その他不測の事態が起こっても作者は一切責任を取りません\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n❤と★とフォローの催促の色に注目()\n\n\n\nヒント↓（ネタバレ注意）\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n＜ヒント＞\n1.とりあえず注意\n2.とりあえず注意2\n～～～～～～～～～～\n3.最後まで油断するな！\n4.ジャンプしてから戻ると回避しやすい\n5.少し滑ってからジャンプすると回避しやすい\n6.足場に惑わされずにただ飛ぶだけ