360°　platformer　プラットフォーマー　

Instructions: プロジェクト大会で優勝した作品です！\n\n360°　platformer　プラットフォーマー　\n次のステージに行くには旗の上に乗ってください\n\n久しぶりのプラットフォーマーです！\n冬をイメージして作りました！\n矢印キーで操作⌨\nLEVELは2つあります。\n♡と☆、フォローお願いします！！\n\n2021年2月25日　傾向2ページ目\n2021年2月26日　傾向3ページ目

@Stage\n\nwhen flag clicked\nwait (10) seconds\nforever\n    play sound [Alan Walker - Fade \[NCS Release\].mp3 v] until done\n    play sound [Syn Cole - Feel Good v] until done\nend\n\n@level\n\nwhen flag clicked\nswitch costume to (costume1 v)\npoint in direction (90)\ngo to x: (-10) y: (-500)\nset [1 v] to [0]\nset [2 v] to [0]\nforever\n    change [2 v] by (1)\n    if <<key (right arrow v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>> then\n        change [1 v] by (-0.2)\n    end\n    if <<key (left arrow v) pressed?> or <<(x position) > (mouse x)> and <mouse down?>>> then\n        change [1 v] by (0.2)\n    end\n    set [1 v] to ((1) * (0.8))\n    turn right (1) degrees\n    if <touching (player v)?> then\n        change y by (-1)\n        if <touching (player v)?> then\n            change y by (-1)\n            if <touching (player v)?> then\n                change y by (-1)\n                if <touching (player v)?> then\n                    change y by (-1)\n                    if <touching (player v)?> then\n                        change y by (4)\n                        turn right ((1) * (-1)) degrees\n                        set [1 v] to [0]\n                    end\n                end\n            end\n        end\n    end\n    change y by (2)\n    if <touching (player v)?> then\n        change y by ((2) * (-1))\n        set [2 v] to [0]\n    end\n    change y by (1)\n    if <touching (player v)?> then\n        if <<key (up arrow v) pressed?> or <<(mouse y) > [50]> and <mouse down?>>> then\n            set [2 v] to [-12]\n        end\n    end\n    change y by (-1)\nend\n\nwhen I receive [restart v]\npoint in direction (90)\ngo to x: (-10) y: (-500)\nset [1 v] to [0]\nset [2 v] to [0]\n\nwhen I receive [next level v]\npoint in direction (90)\ngo to x: (-10) y: (-500)\nset [1 v] to [0]\nset [2 v] to [0]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Player\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen I receive [respawn v]\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen flag clicked\nforever\n    change y by (-5)\n    if <touching color (#ff0000)?> then\n        broadcast (Restart v)\n    end\n    change y by (5)\nend\n\nwhen flag clicked\nif <(pick random (1) to (2)) = [1]> then\n    broadcast (1 v)\nelse\n    broadcast (+1 v)\nend\n\nwhen flag clicked\nforever\n    change y by (-5)\n    if <touching color (#000000)?> then\n        broadcast (Next Level v)\n    end\n    change y by (5)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#2aff00)?> then\n        broadcast (Next Level v)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (player　プレイヤー2 v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (player　プレイヤー v)\n    end\nend\n\n@スプライト1\n\nwhen I start as a clone\nif <(雪) = [1]> then\n    show\n    set [システム v] to (pick random (-0.1) to (0.1))\n    go to x: (pick random (-200) to (200)) y: (140)\n    set size to (pick random (70) to (150)) %\n    repeat until <<[140] < (y position)> or <<(x position) < [-220]> or <(x position) > [220]>>>\n        change y by ((size) / (-50))\n        change x by ((システム) * ((size) / (-50)))\n        if <(y position) = [-180]> then\n            delete this clone\n        end\n    end\n    repeat (10)\n        change [ghost v] effect by (10)\n        change y by ((size) / (-50))\n        change x by ((システム) * ((size) / (50)))\n        if <not <(雪) = [1]>> then\n            delete this clone\n        end\n    end\n    delete this clone\nelse\n    delete this clone\nend\n\nwhen flag clicked\nforever\n    if <(雪) = [1]> then\n        wait (0.1) seconds\n        hide\n        create clone of (_myself_ v)\n        go to [back v] layer\n    end\nend\n\nwhen I start as a clone\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (((size) / (15)) * (-1))\nend\n\nwhen I receive [-1 v]\n\n\n\nset [雪 v] to [1]\n\n@スクリーンショット 2021-02-20 124326\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\nshow\ngo to [front v] layer\nwait (10) seconds\nhide\n\nswitch costume to ( v)\n\nshow\n\n@Intro\n\nwhen flag clicked\n\ndefine Clone (id)\nset [id \(2\) v] to (id)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(ID \(2\)) = [Fill1]> then\n    show\n    switch costume to (fill1 v)\n    set [color v] effect to (pick random (-10) to (10))\n    set [brightness v] effect to (pick random (-25) to (25))\n    go to x: (-620) y: (0)\n    repeat until <(round (x position)) = [0]>\n        change x by (((0) - (x position)) / (7.5))\n    end\n    go to x: (0) y: (0)\n    wait (0.5) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID \(2\)) = [Fill2]> then\n    show\n    switch costume to (fill2 v)\n    set [color v] effect to (pick random (-10) to (10))\n    set [brightness v] effect to (pick random (-25) to (25))\n    go to x: (0) y: (500)\n    repeat until <(round (y position)) = [0]>\n        change y by (((0) - (y position)) / (7.5))\n    end\n    go to x: (0) y: (0)\n    wait (0.5) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID \(2\)) = [Fill1_2]> then\n    show\n    switch costume to (fill1 v)\n    set [color v] effect to (pick random (-10) to (10))\n    set [brightness v] effect to (pick random (-25) to (25))\n    point in direction (-90)\n    go to x: (620) y: (0)\n    repeat until <(round (x position)) = [0]>\n        change x by (((0) - (x position)) / (7.5))\n    end\n    go to x: (0) y: (0)\n    wait (0.5) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID \(2\)) = [Fill2_2]> then\n    show\n    switch costume to (fill2 v)\n    set [color v] effect to (pick random (-7.5) to (7.5))\n    set [brightness v] effect to (pick random (-25) to (25))\n    point in direction (-90)\n    go to x: (0) y: (-500)\n    repeat until <(round (y position)) = [0]>\n        change y by (((0) - (y position)) / (7.5))\n    end\n    go to x: (0) y: (0)\n    wait (0.5) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID \(2\)) = [Fill3]> then\n    show\n    go to [front v] layer\n    point in direction (-75)\n    repeat until <(round (direction)) = [90]>\n        turn right (((90) - (direction)) / (5)) degrees\n    end\n    point in direction (90)\n    wait (0.5) seconds\n    delete this clone\nend\n\ndefine Fill3\nswitch costume to (fill3 v)\ngo to x: (-192) y: (0)\nrepeat (5)\n    Clone [Fill3]\n    change x by (96)\nend\n\ndefine Fill3.5\nswitch costume to (fill3.5 v)\ngo to x: (-192) y: (0)\nrepeat (5)\n    Clone [Fill3]\n    change x by (96)\nend\n\nwhen I start as a clone\nif <(ID \(2\)) = [bg]> then\n    show\n    switch costume to (bg v)\n    go to x: (0) y: (0)\n    go to [back v] layer\n    wait until <[9] < (timer)>\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID \(2\)) = [logo]> then\n    show\n    switch costume to (logo v)\n    repeat until <[9] < (timer)>\n        change [s v] by (1)\n        point in direction ((([cos v] of (((s) - (2)) * (350)) ) * (25)) + (90))\n        set y to (([abs v] of (([cos v] of (((s) - (2)) * (350)) ) * (75)) ) + (-25))\n    end\n    delete this clone\nend\n\ndefine p\nrepeat (pick random (50) to (75))\n    Clone [p]\nend\n\nwhen I start as a clone\nif <(ID \(2\)) = [p]> then\n    show\n    switch costume to (join [p] (pick random (1) to (4)))\n    set [ghost v] effect to (pick random (25) to (75.0))\n    go to (random position v)\n    point in direction (pick random (-180) to (180))\n    set size to (pick random (25) to (40.0)) %\n    repeat until <[9] < (timer)>\n        turn right (1) degrees\n        move (((27.5) - (size)) / (10)) steps\n        if on edge, bounce\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID \(2\)) = [Name]> then\n    show\n    switch costume to (name v)\n    go to x: (0) y: (0)\n    repeat until <[9] < (timer)>\n        set size to (200) %\n        repeat (12)\n            change size by (((150) - (size)) / (3))\n        end\n        wait (0.2) seconds\n    end\nend\n\nwhen I start as a clone\nif <(ID \(2\)) = [Name]> then\n    repeat until <[9] < (timer)>\n        change [s v] by (4)\n        set y to ((([sin v] of (s) ) * (10)) + (-110))\n        point in direction ((([cos v] of (s) ) * (10)) + (90))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID \(2\)) = [Fill4]> then\n    show\n    switch costume to (fill4 v)\n    go to x: (-620) y: (0)\n    repeat until <(round (x position)) = [0]>\n        change x by (((0) - (x position)) / (7.5))\n    end\n    go to x: (0) y: (0)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID \(2\)) = [wh]> then\n    switch costume to (white v)\n    show\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\nwhen flag clicked\n\nwhen I receive [1 v]\nforever\n    go to [front v] layer\nend\n\nwhen I receive [1 v]\nreset timer\nstart sound [Avicii - Broken Arrows v]\nswitch costume to (logo v)\npoint in direction (90)\nset size to (100) %\ngo to x: (0) y: (0)\nhide\nrepeat (15)\n    Clone [Fill1]\nend\nrepeat (15)\n    Clone [Fill2]\nend\nrepeat (15)\n    Clone [Fill1_2]\nend\nrepeat (15)\n    Clone [Fill2_2]\nend\nrepeat (3)\n    Fill3.5\n    wait (0.1) seconds\n    Fill3\n    wait (0.1) seconds\nend\ngo to x: (0) y: (0)\nClone [BG]\nwait (0.75) seconds\nClone [wh]\nwait (0.1) seconds\nClone [Name]\nClone [logo]\np\nwait until <[8] < (timer)>\nClone [Fill4]\n\n@intro\n\nwhen I start as a clone\nshow\nif <(ID) = [簡易3D表示用]> then\n    go to x: (0) y: (0)\n    switch costume to (コスチューム2 v)\n    point in direction (pick random (0) to (360))\n    set [size v] to (pick random (60) to (100))\n    set [ghost v] effect to (100)\n    repeat (pick random (8) to (12))\n        switch costume to (コスチューム3 v)\n        set size to (999999999) %\n        switch costume to (コスチューム2 v)\n        move (3) steps\n        switch costume to (コスチューム3 v)\n        set size to (Size) %\n        switch costume to (コスチューム2 v)\n        change [size v] by (3)\n        change [ghost v] effect by (-5)\n    end\n    repeat until <<(x position) < [-300]> or <<(x position) > [300]> or <<(y position) > [240]> or <(y position) < [-240]>>>>\n        switch costume to (コスチューム3 v)\n        set size to (999999999) %\n        switch costume to (コスチューム2 v)\n        move (3) steps\n        switch costume to (コスチューム3 v)\n        set size to (Size) %\n        switch costume to (コスチューム2 v)\n        change [size v] by (3)\n        change [ghost v] effect by (0.6)\n    end\n    delete this clone\nend\n\ndefine クローン (id) (数)\nrepeat (数)\n    set [id v] to (id)\n    create clone of (_myself_ v)\nend\n\nset size to (100) %\n\nchange size by (3)\n\nwhen flag clicked\n\nwhen flag clicked\n\nset size to (200) %\n\nwhen I start as a clone\nif <(ID) = [1]> then\n    switch costume to (コスチューム3 v)\n    set size to (150) %\n    switch costume to (rey_1x2 v)\n    go to x: (0) y: (400)\n    switch costume to (コスチューム3 v)\n    set size to (100) %\n    switch costume to (rey_1x2 v)\n    repeat (50)\n        switch costume to (コスチューム3 v)\n        set size to (150) %\n        switch costume to (rey_1x2 v)\n        change y by (((0) - (y position)) / (8))\n        switch costume to (コスチューム3 v)\n        set size to (100) %\n        switch costume to (rey_1x2 v)\n    end\nend\nif <(ID) = [2]> then\n    switch costume to (コスチューム3 v)\n    set size to (150) %\n    switch costume to (rey_1x3 v)\n    go to x: (0) y: (400)\n    switch costume to (コスチューム3 v)\n    set size to (100) %\n    switch costume to (rey_1x3 v)\n    repeat (50)\n        switch costume to (コスチューム3 v)\n        set size to (150) %\n        switch costume to (rey_1x3 v)\n        change y by (((0) - (y position)) / (8))\n        switch costume to (コスチューム3 v)\n        set size to (100) %\n        switch costume to (rey_1x3 v)\n    end\nend\nif <(ID) = [3]> then\n    switch costume to (コスチューム3 v)\n    set size to (150) %\n    switch costume to (rey_1x4 v)\n    go to x: (0) y: (400)\n    switch costume to (コスチューム3 v)\n    set size to (100) %\n    switch costume to (rey_1x4 v)\n    repeat (50)\n        switch costume to (コスチューム3 v)\n        set size to (150) %\n        switch costume to (rey_1x4 v)\n        change y by (((0) - (y position)) / (8))\n        switch costume to (コスチューム3 v)\n        set size to (100) %\n        switch costume to (rey_1x4 v)\n    end\nend\n\nwhen flag clicked\n\nwhen I start as a clone\nif <(ID) = [4]> then\n    go to [front v] layer\n    switch costume to (logo2 v)\n    set size to (100) %\n    point in direction (-90)\n    go to x: (0) y: (0)\n    repeat until <(timer) > [1]>\n        turn right (((90) - (direction)) / (4)) degrees\n        change size by (((200) - (size)) / (4))\n    end\n    set size to (300) %\n    point in direction (105)\n    repeat (30)\n        change y by (((-20) - (y position)) / (3))\n        turn right (((90) - (direction)) / (4)) degrees\n        change size by (((200) - (size)) / (4))\n    end\n    switch costume to (logo v)\n    forever\n        turn right (((90) - (direction)) / (4)) degrees\n        change size by (((200) - (size)) / (4))\n    end\nend\n\ngo [forward v] (1) layers\n\nwhen I start as a clone\nif <(ID) = [5]> then\n    go to [front v] layer\n    switch costume to (logo3 v)\n    set size to (100) %\n    point in direction (-90)\n    go to x: (0) y: (0)\n    repeat (30)\n        change y by (((60) - (y position)) / (3))\n        turn right (((90) - (direction)) / (4)) degrees\n        change size by (((200) - (size)) / (4))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(ID) = [府ら修]> then\n    go to [front v] layer\n    switch costume to (府ら修 v)\n    set size to (100) %\n    go to x: (0) y: (0)\n    point in direction (90)\n    clear graphic effects\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen flag clicked\n\nwhen I start as a clone\nif <(ID) = [4]> then\n    wait until <(timer) > [2.25]>\n    set size to (300) %\n    point in direction (75)\n    wait until <(timer) > [3.05]>\n    set size to (300) %\n    point in direction (105)\n    wait until <(timer) > [3.45]>\n    set size to (300) %\n    point in direction (75)\n    wait until <(timer) > [4.25]>\n    switch costume to (コスチューム4 v)\n    go to x: (0) y: (0)\n    set size to (300) %\n    point in direction (105)\n    wait until <(timer) > [5.05]>\n    set size to (300) %\n    point in direction (75)\n    wait until <(timer) > [5.44]>\n    set size to (300) %\n    point in direction (105)\n    wait until <(timer) > [6.02]>\n    set size to (300) %\n    point in direction (75)\n    wait until <(timer) > [6.25]>\n    set size to (300) %\n    point in direction (105)\n    wait until <(timer) > [6.65]>\n    set size to (300) %\n    point in direction (75)\n    wait until <(timer) > [7.46]>\n    set size to (300) %\n    point in direction (105)\nend\n\nwhen I start as a clone\nif <not <(ID) = [府ら修]>> then\n    wait until <(timer) > [7.46]>\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nwait until <(timer) > [9.5]>\nstop [this script v]\n\nwhen I receive [+1 v]\nforever\n    クローン [簡易3D表示用] [1]\nend\n\nwhen I receive [+1 v]\nwait (0.3) seconds\nクローン [4] [1]\nwait (0.7) seconds\nクローン [5] [1]\nクローン [府ら修] [1]\n\nwhen I receive [+1 v]\nreset timer\nwait until <(timer) > [2.25]>\nクローン [府ら修] [1]\nwait until <(timer) > [3.05]>\nクローン [府ら修] [1]\nwait until <(timer) > [4.25]>\nクローン [府ら修] [1]\nwait until <(timer) > [5.44]>\nクローン [府ら修] [1]\nwait until <(timer) > [6.72]>\nクローン [府ら修] [1]\nwait until <(timer) > [7.46]>\nクローン [府ら修] [1]\n\nwhen I receive [+1 v]\nhide\nstart sound [Julian Calor - Monster \(feat6 v]\nクローン [1] [1]\nwait (0) seconds\nクローン [2] [1]\nwait (0) seconds\nクローン [3] [1]\nwait (0) seconds\nクローン [1] [1]\n\nwait (10) seconds\nhide\ndelete this clone\n\n@スプライト2\n\nwhen flag clicked\nset [アウトロ v] to [0]\nshow list [プロジェクト1 v]\nshow list [プロジェクト2 v]\nhide\nwait (10) seconds\nforever\n    set [アウトロ v] to [1]\n    reset timer\nend\n\nrepeat (2)\n\nwhen I receive [アウトロ v]\ndelete all of [プロジェクト1 v]\ndelete all of [プロジェクト2 v]\nadd [360° platformer] to [プロジェクト1 v]\nadd [https://scratch.mit.edu/projects/487773285/] to [プロジェクト1 v]\nadd [ｼｬﾄﾙﾗﾝ platformer] to [プロジェクト2 v]\nadd [https://scratch.mit.edu/projects/491000974/] to [プロジェクト2 v]\ngo to x: (0) y: (0)\nwait (0.1) seconds\nset size to (100) %\nstart sound [Time Lapse v]\nshow\nset x to (485)\nswitch costume to (コスチューム1 v)\ncreate clone of (_myself_ v)\nswitch costume to (コスチューム2 v)\nset x to (-485)\nrepeat (123)\n    change x by (4)\nend\ngo to x: (0) y: (0)\ncreate clone of (_myself_ v)\nwait (0.5) seconds\nswitch costume to (thank you for watching v)\nset size to (0) %\nrepeat (100)\n    change size by (1)\nend\ncreate clone of (_myself_ v)\nwait (4) seconds\ngo to x: (0) y: (0)\nhide\nshow\nswitch costume to (7278_ade1d45b72b570ce1045dae13f2ace6b v)\ncreate clone of (_myself_ v)\nswitch costume to (ba96a9b0dc5d3c071c5df29d329106df \(1\) v)\ncreate clone of (_myself_ v)\nswitch costume to (スクリーンショット 2021-02-20 124326 v)\ncreate clone of (_myself_ v)\nswitch costume to (スクリーンショット 2021-02-23 141713 v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    set x to (485)\n    repeat (123)\n        change x by (-4)\n    end\nend\nif <(costume [number v]) = [3]> then\n    repeat (100)\n        go to x: (pick random (-3) to (3)) y: (pick random (-3) to (3))\n    end\n    hide\nend\nif <(costume [number v]) = [4]> then\n    forever\n        glide (1) secs to x: (0) y: (10)\n        wait (0.01) seconds\n        glide (1) secs to x: (0) y: (-10)\n    end\nend\nforever\n    if <touching (mouse-pointer v)?> then\n        if <(costume [number v]) = [6]> then\n            hide list [プロジェクト1 v]\n        else\n            show list [プロジェクト1 v]\n        end\n        if <(costume [number v]) = [7]> then\n            hide list [プロジェクト2 v]\n        else\n            show list [プロジェクト2 v]\n        end\n    end\nend\n\nshow list [プロジェクト1 v]\n\nwhen [timer v] > (0.01)\nif <(アウトロ) = [1]> then\n    broadcast (アウトロ v)\nend\n\n