GREEN PLATFORMER/新緑のプラットフォーマー

Instructions: ※絶対にこの作品を見てください。\nhttps://scratch.mit.edu/projects/958187776/\n⬆例の作品⬆\n\n⚠日本語は下の方にあります⚠\nThis time, since the "Spring Platformer" of all works did not grow well, here is the second part!\n⬇By the way, this is the first one⬇\nhttps://scratch.mit.edu/projects/968303687/\n\nThis time you can collect coins! 41 photos in total! ?\n\nDifficulty: ★★☆☆☆\n\nTime: Average 1 minute\n\nIf anyone knows “Quest Hunt” in the comments, please post and say “Yaafuu”! I'm sure something good will happen!\n\n◆Soliloquy◆\nWell, I want to write about trends this time. Really, I'm looking forward to it. Press the heart and star (((press. God's work will be released on August 20th! Don't wait.\n\n\n今回は全作品の「春のプラットフォーマー」が伸びなかったので、第二弾！\n⬇ちなみに第一弾はこれ⬇\nhttps://scratch.mit.edu/projects/968303687/\n\n今回はコインを集められるよ！全部で41枚！？\n\n難易度：★★☆☆☆\n\n時間：平均1分\n\nコメントで「クエスト・ハント」を知っている人がいれば「いやっふー」とうって投稿しよう！きっといいことがあるよ！\n\n◆独り言◆\nいやぁ、今回は傾向載りたいなぁ。ほんと、たのむよ。ハートと星を押してね(((圧。神作は8/20配信だよ！待っててねぇ。

@Stage\n\nwhen flag clicked\nforever\n    play sound [Unlimited v] until done\nend\n\nwhen flag clicked\nwait (0.01) seconds\nswitch backdrop to (背景1 v)\n\n@スプライト1\n\n@player\n\nwhen I receive [suta-to  v]\nset volume to (100) %\n\nwhen I start as a clone\nswitch costume to (player3 v)\nrepeat (9)\n    change [ghost v] effect by (7)\n    change size by (-5.2)\nend\ndelete this clone\n\nwhen [z v] key pressed\n\nwhen flag clicked\ngo to x: (-210) y: (0)\nswitch costume to (player v)\nswitch backdrop to (background v)\nshow\nset size to (45) %\nshow\nset rotation style [left-right v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    go to [front v] layer\n    if <<touching (とげ v)?> or <(y position) < [-164]>> then\n        go to x: (-220) y: (-50)\n        start sound [Rip v]\n    end\n    if <<<(x position) > (mouse x)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (-1)\n        point in direction (-90)\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        create clone of (_myself_ v)\n        change [xのやつ v] by (1)\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 [ｙだー 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    if <touching (地面 v)?> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            set [ｙだー v] to [13]\n            start sound [ニュッ v]\n            if <(君に力を与えるっ\(｡◕ˇдˇ​◕｡\)/) = [与える！]> then\n                if <key (space v) pressed?> then\n                    set [ｙだー v] to [25]\n                end\n            end\n        end\n    end\n    change y by (1)\n    change [ｙだー v] by (-1)\n    change y by (ｙだー)\n    if <touching (地面 v)?> then\n        change y by ((ｙだー) * (-1))\n        set [ｙだー v] to [0]\n    end\n    if <(x position) > [230]> then\n        hide\n        go to x: (-220) y: (-50)\n        start sound [Rip v]\n        wait (0) seconds\n        show\n        broadcast (NEXT v)\n    end\n    if <touching (ばね v)?> then\n        if <key (up arrow v) pressed?> then\n            set [ｙだー v] to [25]\n            start sound [ワピチ v]\n        else\n            set [ｙだー v] to [17]\n            start sound [ワピチ v]\n        end\n    end\n    if <touching (敵！ v)?> then\n        if <([y position v] of [敵！ v]) < (y position)> then\n            set [敵 v] to [あっ]\n            set [ｙだー v] to [10]\n        else\n            go to x: (-220) y: (-50)\n        end\n    end\nend\n\nwait (0.5) seconds\ngo to x: (-216) y: (50)\n\nwhen I receive [outro v]\nhide\n\n@スプライト2\n\nwhen flag clicked\nwait (0) seconds\nhide\ngo to x: (-121) y: (-61)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (-61)\ncreate clone of (_myself_ v)\ngo to x: (121) y: (-61)\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [2]>\ngo to x: (-62) y: (-34)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (-11)\ncreate clone of (_myself_ v)\ngo to x: (62) y: (-34)\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [3]>\ngo to x: (0) y: (152)\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [4]>\ngo to x: (-78) y: (-46)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (6)\ncreate clone of (_myself_ v)\ngo to x: (78) y: (-46)\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [5]>\ngo to x: (8) y: (-63)\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [6]>\ngo to x: (-92) y: (17)\ncreate clone of (_myself_ v)\ngo to x: (92) y: (17)\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [7]>\ngo to x: (-124) y: (-98)\ncreate clone of (_myself_ v)\ngo to x: (-28) y: (-120)\ncreate clone of (_myself_ v)\ngo to x: (67) y: (-141)\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [8]>\ngo to x: (-80) y: (82)\ncreate clone of (_myself_ v)\ngo to x: (100) y: (82)\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [9]>\ngo to x: (-14) y: (108)\ncreate clone of (_myself_ v)\ngo to x: (24) y: (151)\ncreate clone of (_myself_ v)\ngo to x: (85) y: (151)\ncreate clone of (_myself_ v)\ngo to x: (130) y: (108)\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [10]>\ngo to x: (21) y: (29)\ncreate clone of (_myself_ v)\ngo to x: (83) y: (73)\ncreate clone of (_myself_ v)\ngo to x: (152) y: (61)\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [11]>\ngo to x: (-64) y: (-19)\ncreate clone of (_myself_ v)\ngo to x: (101) y: (-19)\ncreate clone of (_myself_ v)\ngo to x: (16) y: (-66)\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [12]>\nwait (0.2) seconds\ngo to x: (-32) y: (-66)\ncreate clone of (_myself_ v)\ngo to x: (32) y: (-26)\ncreate clone of (_myself_ v)\ngo to x: (94) y: (-6)\ncreate clone of (_myself_ v)\ngo to x: (156) y: (-26)\ncreate clone of (_myself_ v)\ngo to x: (220) y: (-66)\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [13]>\ngo to x: (107) y: (-76)\ncreate clone of (_myself_ v)\ngo to x: (162) y: (-13)\ncreate clone of (_myself_ v)\ngo to x: (107) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (7) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (-93) y: (45)\ncreate clone of (_myself_ v)\ngo to x: (-64) y: (160)\ncreate clone of (_myself_ v)\ngo to x: (64) y: (160)\ncreate clone of (_myself_ v)\ngo to x: (192) y: (160)\ncreate clone of (_myself_ v)\nwait until <(ステージ) = [13]>\n\nwhen I start as a clone\ngo to [back v] layer\nshow\nset [ghost v] effect to (0)\nset size to (100) %\nforever\n    if <touching (player v)?> then\n        change [☁ コインを集めた数/number of coins collected v] by (1)\n        broadcast (coin音 v)\n        repeat (10)\n            change [ghost v] effect by (10)\n            change y by (3)\n        end\n        delete this clone\n    end\nend\n\nwhen I receive [coin音 v]\nstart sound [Coin v]\n\nwhen I receive [next v]\ndelete this clone\n\n@スプライト3\n\nwhen flag clicked\ngo to x: (203) y: (-154)\nswitch costume to (コスチューム0 v)\ngo to [front v] layer\nshow\nset [ghost v] effect to (0)\n\nwhen I receive [coin音 v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nnext costume\nrepeat (5)\n    change [ghost v] effect by (-20)\nend\n\n@とげ\n\nwhen flag clicked\nshow\nswitch costume to (コスチューム1 v)\n\nwhen I receive [next v]\ngo to [back v] layer\nset rotation style [left-right v]\npoint in direction (90)\nnext costume\n\n@スプライト4\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (1) layers\nforever\n    if <(ステージ) = [5]> then\n        show\n        if <touching (player v)?> then\n            set [ghost v] effect to (50)\n        else\n            set [ghost v] effect to (0)\n        end\n    else\n        hide\n    end\nend\n\n@スプライト5\n\nwhen flag clicked\nshow\nswitch costume to (コスチューム1 v)\nforever\n    go to [back v] layer\nend\n\nwhen I receive [next v]\nnext costume\n\n@地面\n\nwhen I receive [next v]\nchange [ステージ v] by (1)\nnext costume\nif <(ステージ) = [14]> then\n    show variable [☁ コインを集めた数/number of coins collected v]\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (コスチューム2 v)\nset [ステージ v] to [1]\nshow\nhide variable [☁ コインを集めた数/number of coins collected v]\n\n@スプライト6\n\nwhen flag clicked\nshow\ngo to [front v] layer\n\n@サムネ\n\nwhen flag clicked\nset [今のステージ v] to [1]\nswitch costume to (完成ー追加ー5 v)\ngo to x: (0) y: (0)\nhide\n\nwhen [timer v] > (0)\nhide variable [ｲマﾉㇲﾃ−ジ v]\nhide variable [☁ コインを集めた数/number of coins collected v]\nset [今のステージ v] to [1]\nhide variable [☁ world record v]\nhide variable [time v]\nset size to (100) %\ngo to x: (0) y: (0)\nset [fisheye v] effect to (100)\nset [brightness v] effect to (100)\nset [pixelate v] effect to (100)\nset [whirl v] effect to (100)\ngo to [front v] layer\nshow\nstart sound [対戦カード表示1 v]\nrepeat (10)\n    change [fisheye v] effect by (-10)\n    change [whirl v] effect by (-10)\n    change [pixelate v] effect by (-10)\n    change [brightness v] effect by (-10)\n    set size to (pick random (97) to (100)) %\n    go to x: (pick random (10) to (-10)) y: (pick random (10) to (-10))\nend\ngo to x: (0) y: (0)\nset size to (100) %\n\nwhen flag clicked\nforever\n    reset timer\nend\n\n