Cold platformer![スマホ&PC対応]
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\nhide variable [音量 v]\nset [音量 v] to [50]\nforever\n    if <key (1 v) pressed?> then\n        if <<[100] < (音量)> or <(音量) = [100]>> then\n            show variable [音量 v]\n            set [音量 v] to [0]\n            wait until <not <key (1 v) pressed?>>\n            hide variable [音量 v]\n        else\n            set [音量 v] to [100]\n            show variable [音量 v]\n            wait until <not <key (1 v) pressed?>>\n            hide variable [音量 v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Axol x Alex Skrindo - You \[NCS Release\] v] until done\nend\n\nwhen flag clicked\nset [動けるか v] to [0]\nset [タイム進めぇ v] to [0]\nforever\n    if <(タイム進めぇ) = [0]> then\n        wait (1) seconds\n        change [タイム v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (2 v) pressed?> then\n        change [音量 v] by (-5)\n        show variable [音量 v]\n        wait (0.5) seconds\n        hide variable [音量 v]\n    end\n    if <key (3 v) pressed?> then\n        change [音量 v] by (5)\n        show variable [音量 v]\n        wait (1) seconds\n        hide variable [音量 v]\n    end\nend\n\nset [☁ アプデまたはメンテ中？ v] to [1]\n\nwhen flag clicked\nforever\n    set volume to (音量) %\nend\n\nwhen I receive [k v]\nforever\n    stop all sounds\nend\n\nwhen [4 v] key pressed\nset [音量 v] to [0]\nshow variable [音量 v]\nwait until <not <key (4 v) pressed?>>\nhide variable [音量 v]\n\n@地面\n\nwhen I receive [次のー v]\nnext costume\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (25)\nshow\n\nset [☁ アプデまたはメンテ中？ v] to [1]\n\nwhen [loudness v] > (10)\n\nset [☁ アプデまたはメンテ中？ v] to [0]\n\nwhen flag clicked\nhide variable [タイム v]\nforever\n    if <(costume [number v]) = [20]> then\n        set [タイム進めぇ v] to [1]\n        wait (1) seconds\n        broadcast (ぺんぺん v)\n    else\n        erase all\n    end\nend\n\nwhen flag clicked\nif <not <(username) = [KOMA7]>> then\n    change [☁ これをプレイしてくれた優しい優しい人達 v] by (1)\nend\n\nset [☁ これをプレイしてくれた優しい優しい人達 v] to [2864]\n\n@水色の四角\n\nwhen I start as a clone\nrepeat (7)\n    change [ghost v] effect by (7)\n    switch costume to (これ v)\n    change size by (-10)\nend\ndelete this clone\n\nwhen flag clicked\n\ndefine 動作\nif <(動けるか) = [0]> then\n    if <<<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> or <key (a v) pressed?>> then\n        create clone of (_myself_ v)\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    if <<<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> or <key (d v) pressed?>> then\n        create clone of (_myself_ v)\n        change [x v] by (1.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 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 (-8)\n                                        if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> or <key (w v) pressed?>> then\n                                            if <(x) > [0]> then\n                                                set [x v] to [-7]\n                                            else\n                                                set [x v] to [7]\n                                            end\n                                            set [y v] to [14]\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        end\n    end\n    change y by (-1)\n    if <touching (地面 v)?> then\n        if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> or <key (w v) pressed?>> then\n            set [y v] to [14]\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (地面 v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <(x position) > [230]> then\n        broadcast (ネクスト v)\n        go to x: (-169) y: (-73)\n        change [レベル v] by (1)\n        set [x v] to [0]\n        set [y v] to [0]\n        hide\n        set [動けるか v] to [1]\n    end\n    if <touching (しょーがいぶつ v)?> then\n        go to x: (-169) y: (-73)\n        set [y v] to [0]\n        set [x v] to [0]\n        create clone of (_myself_ v)\n    end\n    if <(y position) = [-186]> then\n        go to x: (-169) y: (-73)\n        set [y v] to [0]\n        set [x v] to [0]\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I receive [1 v]\ngo to x: (-169) y: (-73)\n\nwhen flag clicked\nset [レベル v] to [1]\n\nwhen I receive [終わりー v]\n\nwhen flag clicked\nset [タイム v] to [0]\nshow\ngo to x: (-169) y: (-73)\ngo [backward v] (1) layers\nforever\n    switch costume to (あれ v)\n    set rotation style [left-right v]\n    動作\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [終わった v]\nshow\nset [動けるか v] to [0]\n\nset [☁ アプデまたはメンテ中？ v] to [1]\n\nwhen I receive [k v]\ngo to [back v] layer\nhide\nset [動けるか v] to [1]\n\nchange size by (10)\n\n@ネクスと\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [ネクスト v]\ngo to [front v] layer\nshow\nset [変数 v] to [0]\ngo to x: (0) y: (180)\nstart sound [Finger Snap v]\nrepeat (10)\n    change y by ((-1) - ((y position) / (3)))\nend\nbroadcast (次のー v)\nwait (0.5) seconds\nrepeat until <(y position) > [179]>\n    change y by ((y position) / (3))\nend\nhide\nset [変数 v] to [9999]\nbroadcast (終わった v)\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nset [変数 v] to [9999]\n\n@現在のレベル表す奴\n\nwhen I receive [ネクスト v]\nhide\n\nwhen I receive [終わった v]\nshow\n\nwhen flag clicked\nshow\nforever\n    if <([costume # v] of [地面 v]) = [20]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@レヴェル\n\nwhen flag clicked\nhide variable [タイム v]\ngo to x: (70) y: (90)\nshow\nswitch costume to (1 v)\nforever\n    switch costume to (レベル)\n    if <([costume # v] of [地面 v]) = [20]> then\n        hide\n    else\n        show\n    end\nend\n\nwhen I receive [ネクスト v]\nhide\n\nwhen I receive [終わった v]\nshow\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@しょーがいぶつ\n\nwhen flag clicked\nhide\nforever\n    if <([costume # v] of [地面 v]) = [4]> then\n        go to x: (8) y: (108)\n        switch costume to (コスチューム1 v)\n        show\n    else\n        if <([costume # v] of [地面 v]) = [5]> then\n            go to x: (1) y: (109)\n            switch costume to (コスチューム2 v)\n            show\n        else\n            if <([costume # v] of [地面 v]) = [7]> then\n                go to x: (-20) y: (-70)\n                switch costume to (コスチューム3 v)\n                show\n            else\n                if <([costume # v] of [地面 v]) = [9]> then\n                    go to x: (23) y: (-72)\n                    switch costume to (コスチューム4 v)\n                    show\n                else\n                    if <([costume # v] of [地面 v]) = [10]> then\n                        go to x: (90) y: (-57)\n                        switch costume to (コスチューム5 v)\n                        show\n                    else\n                        if <([costume # v] of [地面 v]) = [11]> then\n                            go to x: (-30) y: (-81)\n                            switch costume to (コスチューム6 v)\n                            show\n                        else\n                            if <([costume # v] of [地面 v]) = [12]> then\n                                go to x: (-10) y: (-70)\n                                switch costume to (コスチューム7 v)\n                                show\n                            else\n                                if <([costume # v] of [地面 v]) = [13]> then\n                                    go to x: (-6) y: (105)\n                                    switch costume to (コスチューム2 v)\n                                    show\n                                else\n                                    if <([costume # v] of [地面 v]) = [14]> then\n                                        go to x: (139) y: (-73)\n                                        switch costume to (コスチューム8 v)\n                                        show\n                                    else\n                                        if <([costume # v] of [地面 v]) = [15]> then\n                                            go to x: (-12) y: (-69)\n                                            switch costume to (コスチューム9 v)\n                                            show\n                                        else\n                                            if <([costume # v] of [地面 v]) = [16]> then\n                                                go to x: (-22) y: (-35)\n                                                switch costume to (コスチューム10 v)\n                                                show\n                                            else\n                                                if <([costume # v] of [地面 v]) = [17]> then\n                                                    go to x: (61) y: (-19)\n                                                    switch costume to (コスチューム11 v)\n                                                    show\n                                                else\n                                                    if <([costume # v] of [地面 v]) = [19]> then\n                                                        go to x: (61) y: (-19)\n                                                        switch costume to (コスチューム12 v)\n                                                        show\n                                                    else\n                                                        if <([costume # v] of [地面 v]) = [18]> then\n                                                            go to x: (61) y: (-19)\n                                                            switch costume to (コスチューム13 v)\n                                                            show\n                                                        else\n                                                            hide\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@玉なんか綺麗\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (1) to (5)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (1) to (3)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (2) to (5)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (3) to (5)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\ngo to x: (pick random (-220) to (214)) y: (-167)\nset [ghost v] effect to (50)\nswitch costume to (pick random (1) to (4))\nset size to (pick random (40) to (120)) %\ngo to [back v] layer\nrepeat until <touching (_edge_ v)?>\n    change y by (8)\nend\nhide\ndelete this clone\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (1) to (3)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (1) to (3)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (1) to (3)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (1) to (3)) seconds\n    create clone of (_myself_ v)\nend\n\n@どう見ても地面じゃないよね。\n\nwhen flag clicked\nhide\n\n@サムネ用\n\nwhen flag clicked\nhide\n\n@アプデ中の\n\nwhen flag clicked\nif <(username) = [KOMA7]> then\n    hide\nelse\n    if <(☁ アプデまたはメンテ中？) = [1]> then\n        show\n        go to x: (0) y: (0)\n        stop [all v]\n    else\n        if <(username) = [KOMA70]> then\n            show\n            go to [front v] layer\n            go to x: (0) y: (0)\n            stop [all v]\n        else\n            hide\n        end\n    end\nend\n\nset [☁ アプデまたはメンテ中？ v] to [1]\n\n@KOMA7 \n\nwhen flag clicked\ngo to x: (-216) y: (160)\npoint in direction (45)\nshow\nforever\n    go to [back v] layer\nend\n\ngo to [front v] layer\n\n@スプライト2\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    if <([costume # v] of [地面 v]) = [20]> then\n        go to x: (116) y: (-43)\n        switch costume to (コスチューム2 v)\n        show\n    else\n        hide\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\ngo to x: (185) y: (-133)\nshow\ngo to [front v] layer\ngo [backward v] (1) layers\nswitch costume to (03afギュ7frtdyvhgjf8c4-4e36-8f13-af6cdcee81c1 v)\n\nwhen I receive [ネクスト v]\nswitch costume to (03afギュ7frtdyvhgjf8c4-4e36-8f13-af6cdcee81c1 v)\nnext costume\nwait (1) seconds\nswitch costume to (03afギュ7frtdyvhgjf8c4-4e36-8f13-af6cdcee81c1 v)\n\n@スプライト3\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    go to x: (189) y: (-158)\n    show\nend\n\n@Sprite1\n\nwhen flag clicked\nset [描けぇええ v] to [描いてない]\nrepeat until <not <(描けぇええ) = [描いてない]>>\n    erase all\nend\n\ndefine None\nerase all\nset [何文字目 v] to [0]\nset [長さ v] to (length of (数字))\nrepeat (長さ)\n    change [何文字目 v] by (1)\n    if <(letter (何文字目) of (数字)) = [0]> then\n        pen down\n        change x by (10)\n        change y by (-20)\n        change x by (-10)\n        change y by (20)\n        pen up\n    else\n        if <(letter (何文字目) of (数字)) = [1]> then\n            change y by (-20)\n            pen down\n            change y by (20)\n            pen up\n        else\n            if <(letter (何文字目) of (数字)) = [2]> then\n                change y by (-20)\n                change x by (10)\n                pen down\n                change x by (-10)\n                change y by (10)\n                change x by (10)\n                change y by (10)\n                change x by (-10)\n                pen up\n            else\n                if <(letter (何文字目) of (数字)) = [3]> then\n                    change y by (-20)\n                    pen down\n                    change x by (10)\n                    change y by (10)\n                    change x by (-10)\n                    change x by (10)\n                    change y by (10)\n                    change x by (-10)\n                    pen up\n                else\n                    if <(letter (何文字目) of (数字)) = [4]> then\n                        change x by (10)\n                        pen down\n                        change y by (-20)\n                        change y by (10)\n                        change x by (-10)\n                        change y by (10)\n                        pen up\n                    else\n                        if <(letter (何文字目) of (数字)) = [5]> then\n                            change y by (-20)\n                            pen down\n                            change x by (10)\n                            change y by (10)\n                            change x by (-10)\n                            change y by (10)\n                            change x by (10)\n                            change x by (-10)\n                            pen up\n                        else\n                            if <(letter (何文字目) of (数字)) = [6]> then\n                                change y by (-10)\n                                pen down\n                                change x by (10)\n                                change y by (-10)\n                                change x by (-10)\n                                change y by (20)\n                                change x by (10)\n                                change x by (-10)\n                                pen up\n                            else\n                                if <(letter (何文字目) of (数字)) = [7]> then\n                                    change y by (-20)\n                                    change x by (10)\n                                    pen down\n                                    change y by (20)\n                                    change x by (-10)\n                                    pen up\n                                else\n                                    if <(letter (何文字目) of (数字)) = [8]> then\n                                        pen down\n                                        change x by (10)\n                                        change y by (-10)\n                                        change x by (-10)\n                                        change y by (-10)\n                                        change x by (10)\n                                        change y by (10)\n                                        change x by (-10)\n                                        change y by (10)\n                                        pen up\n                                    else\n                                        if <(letter (何文字目) of (数字)) = [9]> then\n                                            change y by (-20)\n                                            pen down\n                                            change x by (10)\n                                            change y by (20)\n                                            change x by (-10)\n                                            change y by (-10)\n                                            change x by (10)\n                                            change x by (-10)\n                                            change y by (10)\n                                            pen up\n                                        else\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change x by (20)\n    if <[190] < (x position)> then\n        set x to (-220)\n        change y by (-30)\n    end\nend\n\nwhen I receive [ぺんぺん v]\nset [描けぇええ v] to [描いた]\nset pen size to (5)\nset pen color to (#000000)\ngo to x: (-220) y: (160)\ngo to x: (-50) y: (0)\n数字「 (タイム) 」を追加\n\nset [☁ アプデまたはメンテ中？ v] to [1]\n\n@ターボストップ\n\nwhen flag clicked\nforever\n    point in direction (0)\n    wait (1) seconds\nend\n\nwhen flag clicked\nforever\n    turn right (1) degrees\n    wait () seconds\n    if <(direction) > [39]> then\n        broadcast (k v)\n    end\nend\n\n@スプライト4\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    hide\nend\n\nwhen I receive [k v]\nstop [all v]\n\ngo to [front v] layer\n\nshow\n\n@スプライト5\n\nwhen flag clicked\ngo to x: (27) y: (6)\nforever\n    if <touching (ネクスと v)?> then\n        go [backward v] (1) layers\n        show\n    else\n        go to [front v] layer\n        show\n    end\nend\n\ngo to x: (27) y: (6)\n\nwhen flag clicked\nforever\n    glide (0.5) secs to x: (27) y: ((y position) + (10))\n    glide (0.5) secs to x: (27) y: (6)\nend\n\n
what?