【拡散希望】立場が逆！？Platformer

Instructions: 新作公開！！！！\n↓「【コラボ作品】Flash Platformer」\nhttps://scratch.mit.edu/projects/945121189\nよかったら見て下さい！！！\n\n傾向1p！ありがとうございます！\n\n\n\n(English is below↓)\n\n《日本語》\n皆さんこんにちは！@-Mwinter-です！\n今回は「立場が逆！？Platformer」というプラットフォーマーを作ってみました！\nこのプラットフォーマーは針が動いていつものキャラクターが障害物になるという設定です。\n今回も傾向1pのれるよう頑張ります！\n\n《操作方法》\n矢印キーで操作します。\n【モバイル対応】\nモバイルはあまりオススメしません。\n\nよければ❤と⭐お願いします！\n\n前回の作品も見てください！\n↓「上にのぼる！？Platformer」\nhttps://scratch.mit.edu/projects/945090689/\n\n友達の作品も見て下さい！\n↓「時を止める！？時間停止プラットフォーマー」\nhttps://scratch.mit.edu/projects/901564985\n\n《English》\n"Method of operation"\nOperate with arrow keys.\n[Mobile compatible]\nMobile is not recommended.\n\nPlease give ❤ and ⭐ if you like!\n\n#platformer #PLATFORMER #GAME #game #games\n #all #ALL #jump \n

@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\n\nwhen flag clicked\nswitch backdrop to (平地 v)\nwait (3.5) seconds\nforever\n    set volume to (20) %\n    play sound [Popsicle v] until done\nend\n\nswitch backdrop to (地獄 v)\n\nwhen I receive [背景変更 v]\nnext backdrop\n\n@platformer\n\nwhen I receive [メッセージ1 v]\nswitch costume to (前 v)\ngo to x: (-210) y: (-90)\nshow\nset size to (80) %\ngo to [front v] layer\nshow\nset [x v] to [0]\nset [y v] to [0]\npoint in direction (90)\ngo to x: (-190) y: (152)\ngo to x: (-190) y: (-34)\nforever\n    set rotation style [left-right v]\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        switch costume to (コスチューム1 v)\n        change [x2 v] by (-0.8)\n    end\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        switch costume to (cat-a v)\n        change [x2 v] by (0.8)\n    end\n    if <not <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>>> then\n        switch costume to (前 v)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\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.0)\n                        if <touching (地面 v)?> then\n                            change x by ((X2) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>> then\n                                start sound [ジャンプ2 v]\n                                if <(X2) > [0]> then\n                                    set [x2 v] to [-7]\n                                else\n                                    set [x2 v] to [7]\n                                end\n                                set [y2 v] to [15]\n                            else\n                                set [x2 v] to [0.0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (地面 v)?> then\n        if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n            start sound [ジャンプ v]\n            set [y2 v] to [15]\n        end\n    end\n    change y by (1)\n    change [y2 v] by (-1)\n    change y by (Y2)\n    if <touching (地面 v)?> then\n        change y by ((Y2) * (-1))\n        set [y2 v] to [0]\n    end\n    if <(x position) > [228]> then\n        broadcast (次 v)\n        change [ステージ v] by (1)\n        hide\n        set [x2 v] to [0]\n        wait (2.5) seconds\n        go to x: (-190) y: (-60)\n        show\n    end\n    if <<touching (針 v)?> or <(y position) < [-174]>> then\n        set [x2 v] to [0]\n        set [y2 v] to [0]\n        start sound [crashed oof v]\n        repeat (20)\n            change [ghost v] effect by (20)\n        end\n        go to x: (-190) y: (-60)\n        repeat (20)\n            change [ghost v] effect by (-8)\n        end\n    end\n    if <touching (バネ v)?> then\n        set [y2 v] to [20]\n    end\nend\n\nturn left (10) degrees\n\nrepeat (5)\n\nwait (0.1) seconds\n\nwhen flag clicked\nhide\n\n@地面\n\nwhen I receive [メッセージ1 v]\nshow\nset [ステージ v] to [1]\nforever\n    if <(ステージ) = [1]> then\n        switch costume to (コスチューム1 v)\n    end\n    if <(ステージ) = [2]> then\n        switch costume to (コスチューム2 v)\n    end\n    if <(ステージ) = [3]> then\n        switch costume to (コスチューム3 v)\n    end\n    if <(ステージ) = [4]> then\n        switch costume to (コスチューム4 v)\n    end\n    if <(ステージ) = [5]> then\n        switch costume to (コスチューム5 v)\n    end\n    if <(ステージ) = [6]> then\n        switch costume to (コスチューム6 v)\n    end\n    if <(ステージ) = [7]> then\n        switch costume to (コスチューム7 v)\n    end\n    if <(ステージ) = [8]> then\n        switch costume to (コスチューム8 v)\n    end\n    if <(ステージ) = [9]> then\n        switch costume to (コスチューム9 v)\n    end\n    if <(ステージ) = [10]> then\n        switch costume to (コスチューム10 v)\n    end\n    if <(ステージ) = [11]> then\n        switch costume to (コスチューム11 v)\n    end\n    if <(ステージ) = [12]> then\n        switch costume to (コスチューム12 v)\n    end\n    if <(ステージ) = [13]> then\n        switch costume to (コスチューム13 v)\n    end\n    if <(ステージ) = [14]> then\n        switch costume to (コスチューム14 v)\n    end\n    if <(ステージ) = [15]> then\n        switch costume to (コスチューム15 v)\n    end\n    if <(ステージ) = [16]> then\n        switch costume to (コスチューム16 v)\n    end\n    if <(ステージ) = [17]> then\n        switch costume to (コスチューム17 v)\n    end\n    if <(ステージ) = [18]> then\n        switch costume to (コスチューム18 v)\n    end\n    if <(ステージ) = [19]> then\n        switch costume to (コスチューム19 v)\n    end\n    if <(ステージ) = [20]> then\n        switch costume to (コスチューム20 v)\n    end\nend\n\nwhen flag clicked\nset [タイム v] to [0]\nhide variable [タイム v]\nforever\n    repeat until <(costume [number v]) = [15]>\n        wait (1) seconds\n        change [タイム v] by (1)\n    end\n    show variable [タイム v]\nend\n\nwhen flag clicked\nhide\n\n@針\n\nwhen I receive [メッセージ1 v]\nshow\nset [ステージ v] to [1]\nforever\n    if <(ステージ) = [1]> then\n        switch costume to (コスチューム1 v)\n    end\n    if <(ステージ) = [2]> then\n        switch costume to (コスチューム2 v)\n    end\n    if <(ステージ) = [3]> then\n        switch costume to (コスチューム3 v)\n    end\n    if <(ステージ) = [4]> then\n        switch costume to (コスチューム4 v)\n    end\n    if <(ステージ) = [5]> then\n        switch costume to (コスチューム5 v)\n    end\n    if <(ステージ) = [6]> then\n        switch costume to (コスチューム6 v)\n    end\n    if <(ステージ) = [7]> then\n        switch costume to (コスチューム7 v)\n    end\n    if <(ステージ) = [8]> then\n        switch costume to (コスチューム8 v)\n    end\n    if <(ステージ) = [9]> then\n        switch costume to (コスチューム9 v)\n    end\n    if <(ステージ) = [10]> then\n        switch costume to (コスチューム10 v)\n    end\n    if <(ステージ) = [11]> then\n        switch costume to (コスチューム11 v)\n    end\n    if <(ステージ) = [12]> then\n        switch costume to (コスチューム12 v)\n    end\n    if <(ステージ) = [13]> then\n        switch costume to (コスチューム13 v)\n    end\n    if <(ステージ) = [14]> then\n        switch costume to (コスチューム14 v)\n    end\n    if <(ステージ) = [15]> then\n        switch costume to (コスチューム15 v)\n    end\n    if <(ステージ) = [16]> then\n        switch costume to (コスチューム16 v)\n    end\n    if <(ステージ) = [17]> then\n        switch costume to (コスチューム17 v)\n    end\n    if <(ステージ) = [18]> then\n        switch costume to (コスチューム18 v)\n    end\n    if <(ステージ) = [19]> then\n        switch costume to (コスチューム19 v)\n    end\n    if <(ステージ) = [20]> then\n        switch costume to (コスチューム20 v)\n    end\nend\n\nwhen flag clicked\nhide\n\n@サムネ\n\nwhen flag clicked\nswitch costume to (サムネ v)\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nbroadcast (メッセージ1 v)\n\ngo to x: (-10) y: (0)\n\ngo to [front v] layer\n\n@素材\n\nwhen I receive [次 v]\nstart sound [Rip v]\nset [next色 v] to (pick random (1) to (200))\nreset timer\nrepeat (3)\n    クローン：ID [なんか変な動き]\n    wait (0.075) seconds\n    クローン：ID [なんか変な動き2]\n    wait (0.075) seconds\nend\n\nwhen I receive [次 v]\npoint in direction (90)\nset [brightness v] effect to (0)\nwait (0.0001) seconds\nrepeat (3)\n    クローン：ID [◎]\n    wait (0.15) seconds\n    クローン：ID [◎2]\n    wait (0.075) seconds\nend\nクローン：ID [◎3]\nクローン：ID [next]\n\nwhen I start as a clone\nshow\nif < (ID) contains [なんか変な動き]?> then\n    set [ghost v] effect to (50)\n    point in direction (180)\n    if <(ID) = [なんか変な動き2]> then\n        set [brightness v] effect to (100)\n    else\n        set [brightness v] effect to (0)\n    end\n    set [クローン用ローカル変数 v] to [67.5]\n    switch costume to (サイズハック v)\n    set size to (100) %\n    go to x: (0) y: (0)\n    repeat (50)\n        switch costume to (半透明のあれ v)\n        set [クローン用ローカル変数 v] to ((クローン用ローカル変数) * (0.8))\n        turn left (クローン用ローカル変数) degrees\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif < (ID) contains [◎]?> then\n    go to x: (0) y: (0)\n    point in direction (90)\n    if <(ID) = [◎2]> then\n        set [brightness v] effect to (100)\n    else\n        if <(ID) = [◎3]> then\n            set [brightness v] effect to (-100)\n        else\n            set [brightness v] effect to (0)\n        end\n    end\n    set [クローン用ローカル変数 v] to [10]\n    switch costume to (◎ v)\n    set size to (0) %\n    if < (ID) contains [3]?> then\n        repeat (25)\n            if <[350] < (size)> then\n                switch costume to (サイズハック v)\n            end\n            set [クローン用ローカル変数 v] to ((クローン用ローカル変数) * (1.2))\n            change size by (クローン用ローカル変数)\n            switch costume to (◎ v)\n        end\n        switch costume to (コスチューム1 v)\n        clear graphic effects\n        set [brightness v] effect to (10)\n        start sound [Finger Snap v]\n        wait (0.15) seconds\n        go to [front v] layer\n        set size to (100) %\n        repeat (20)\n            switch costume to (コスチューム2 v)\n            change y by ((-1) + ((y position) / (3.05)))\n            switch costume to (コスチューム1 v)\n        end\n        delete this clone\n    else\n        repeat (40)\n            if <[350] < (size)> then\n                switch costume to (サイズハック v)\n            end\n            set [クローン用ローカル変数 v] to ((クローン用ローカル変数) * (1.2))\n            change size by (クローン用ローカル変数)\n            switch costume to (◎ v)\n        end\n        delete this clone\n    end\nend\n\ndefine クローン：ID (id)\nset [id v] to (id)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(ID) = [next]> then\n    set [brightness v] effect to (100)\n    switch costume to (ねｘｔ v)\n    set size to (0) %\n    go to x: (0) y: (0)\n    repeat (25)\n        change size by (((100) - (size)) / (3.8))\n        go to [front v] layer\n    end\n    set [brightness v] effect to (-100)\n    wait (0.15) seconds\n    クローン：ID [q]\n    クローン：ID [p]\n    repeat (20)\n        go to [front v] layer\n        クローン：ID [残像]\n        switch costume to (コスチューム2 v)\n        change y by ((-1) + ((y position) / (3.05)))\n        switch costume to (ねｘｔ v)\n    end\n    delete this clone\nend\nif <(ID) = [残像]> then\n    change [ghost v] effect by (-10)\n    switch costume to (ねｘｔ2 v)\n    repeat (5)\n        change size by (-2)\n        change [ghost v] effect by (18.5)\n    end\n    delete this clone\nend\nif <(ID) = [q]> then\n    go [backward v] (2) layers\n    wait (0.05) seconds\n    set [brightness v] effect to (50)\n    set size to (100) %\n    switch costume to (コスチューム1 v)\n    repeat (20)\n        switch costume to (コスチューム2 v)\n        change y by ((-1) + ((y position) / (3.05)))\n        switch costume to (コスチューム1 v)\n    end\n    delete this clone\nend\nif <(ID) = [p]> then\n    go [backward v] (3) layers\n    wait (0.1) seconds\n    set [brightness v] effect to (100)\n    set size to (100) %\n    switch costume to (コスチューム1 v)\n    repeat (20)\n        switch costume to (コスチューム2 v)\n        change y by ((-1) + ((y position) / (3.05)))\n        switch costume to (コスチューム1 v)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    set [color v] effect to (next色)\nend\n\n