Choose colors! PLatformer 色を選ぶ！？プラットフォーマー

Instructions: 日本語は下　 フォロワー1K記念プラフォです！\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n▼ How to play\nBlack ⇨ Normal\nRed ⇨ Jump power goes up\nBlue ⇨ Faster movement\n\nTap the character or change the color with the space key\n\nYou can operate it with the arrow keys! Mobile compatible!\n\n▼ From the author\nThumbnails are elaborate (* ´ 艸 ｀)\nThank you for 1000 followers!\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n▼遊び方\n黒色⇨通常\n赤色⇨ジャンプ力が上がる\n青色⇨動きが速くなる\n\nキャラをタップ、またはスペースキーで色変更\n\n矢印キーで操作できます！モバイル対応です！\n\n▼作者から\nサムネを凝りました( *´艸｀)\nフォロワー1000人ありがとうございます！

@Stage\n\nwhen I receive [the end v]\nswitch backdrop to (背景 v)\nforever\n    play sound [PIKASONIC - Osaka Express  v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (背景 v)\n\n@player\n\ndefine デス\ngo to [front v] layer\nstart sound [crashed oof v]\npoint in direction (90)\nset rotation style [all around v]\nset [範囲 v] to (pick random (15) to (18))\nrepeat until <[-170] > (y position)>\n    show\n    go to [front v] layer\n    turn right (範囲) degrees\n    change y by (範囲)\n    change [範囲 v] by (-1)\nend\ngo to x: (-200) y: (0)\nset [ｙ v] to [0]\nset [速さ v] to [0]\nset [動作 v] to [y]\npoint in direction (90)\n\nwhen I receive [the end v]\n初期設定プログラム\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        point in direction (90)\n        if <not <(costume [number v]) = [3]>> then\n            change [x v] by (1)\n        else\n            change [x v] by (1.5)\n        end\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        point in direction (-90)\n        if <not <(costume [number v]) = [3]>> then\n            change [x v] by (-1)\n        else\n            change [x v] by (-1.5)\n        end\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 down?> and <(mouse y) > (y position)>>> then\n                                if <(x) < [0]> then\n                                    set [x v] to [10]\n                                    start sound [壁キック v]\n                                else\n                                    set [x v] to [-10]\n                                    start sound [壁キック v]\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    change y by (-1)\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        if <touching (地面 v)?> then\n            start sound [ジャンプ v]\n            if <(costume [number v]) = [2]> then\n                set [y v] to [17]\n            else\n                set [y v] to [15]\n            end\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        set [地面についている？ v] to [0]\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    else\n        set [地面についている？ v] to [1]\n    end\n    if <[240] < (x position)> then\n        broadcast (メッセージ1 v)\n        hide\n    end\n    if <<<<touching (トゲ v)?> or <(y position) < [-170]>> or <<touching (マグマ v)?> and <not <(costume [number v]) = [2]>>>> or <touching (スプライト5 v)?>> then\n        デス\n        初期設定プログラム\n    end\n    if <touching (ジャンプ台 v)?> then\n        if <not <(y) = [0]>> then\n            set [y v] to [18.5]\n            start sound [Whiz v]\n        end\n    end\n    if <<touching (水 v)?> and <not <(costume [number v]) = [2]>>> then\n        set [x v] to ((x) / (1.3))\n        set [y v] to [0]\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y v] by (4)\n        else\n            change [y v] by (-2)\n        end\n    end\n    if <(ステージ) = [15]> then\n        if <<touching (水 v)?> and <not <(costume [number v]) = [2]>>> then\n            repeat until <not <touching (地面 v)?>>\n                change [y v] by (-0.3)\n            end\n        end\n    end\n    if <<touching (水 v)?> and <(costume [number v]) = [2]>> then\n        デス\n        初期設定プログラム\n        broadcast (w v)\n    end\n    if <<touching (マグマ v)?> and <(costume [number v]) = [2]>> then\n        set [x v] to ((x) / (1.3))\n        set [y v] to [0]\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y v] by (4)\n        else\n            change [y v] by (-2)\n        end\n    end\nend\n\ndefine 初期設定プログラム\nshow\nswitch costume to (コスチューム1 v)\nset size to (55) %\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-200) y: (-50)\n\nwhen flag clicked\nhide\nswitch costume to (コスチューム1 v)\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (4)\n    change size by (-5)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <touching (水 v)?> then\n        set [ごぼごぼゴボ v] to [1]\n    else\n        set [ごぼごぼゴボ v] to [0]\n    end\nend\n\nwhen I receive [メッセージ1 v]\n初期設定プログラム\n\nwhen I receive [the end v]\nforever\n    if <touching (mouse-pointer v)?> then\n        if <mouse down?> then\n            next costume\n            wait until <not <mouse down?>>\n        end\n    end\n    if <key (space v) pressed?> then\n        next costume\n        wait until <not <key (space v) pressed?>>\n    end\nend\n\nwhen I receive [あ v]\n初期設定プログラム\n\n@地面\n\nwhen flag clicked\nhide\nhide variable [☁ world record v]\nhide variable [time v]\n\nwhen I receive [メッセージ1 v]\nchange [ステージ v] by (1)\nshow\n\nwhen I receive [the end v]\nset [time v] to [0]\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\n    if <(ステージ) = [20]> then\n        show variable [time v]\n        show variable [☁ world record v]\n        if <(time) < (☁ World record)> then\n            if <not <(スキップされたか) = [!]>> then\n                set [☁ world record v] to (time)\n            end\n        end\n    end\nend\n\nwhen I receive [the end v]\nrepeat until <(ステージ) = [20]>\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen I receive [??? v]\nforever\n    switch costume to (47 v)\nend\n\n@トゲ\n\nwhen flag clicked\nhide\nset [ステージ v] to [1]\ngo to [back v] layer\n\nwhen I receive [the end v]\nshow\ngo to x: (0) y: (0)\npoint in direction (90)\nset size to (100) %\nforever\n    switch costume to (ステージ)\n    if <(ステージ) = [11]> then\n        turn left (7) degrees\n    end\n    if <(ステージ) = [12]> then\n        point in direction (90)\n    end\n    if <(ステージ) = [13]> then\n        go to x: (50) y: (-77)\n    end\n    if <(ステージ) = [14]> then\n        go to x: (0) y: (0)\n    end\nend\n\n@マグマ\n\nwhen flag clicked\ngo to [back v] layer\nset [ghost v] effect to (18)\nhide\nforever\n    if <(ステージ) = [14]> then\n        show\n        switch costume to (コスチューム1 v)\n    end\n    if <(ステージ) = [15]> then\n        hide\n    end\n    if <(ステージ) = [16]> then\n        show\n    end\n    if <(ステージ) = [17]> then\n        show\n        switch costume to (コスチューム2 v)\n    end\n    if <(ステージ) = [18]> then\n        hide\n    end\n    if <(ステージ) = [19]> then\n        show\n        switch costume to (コスチューム3 v)\n    end\n    if <(ステージ) = [20]> then\n        hide\n    end\nend\n\n@水\n\nwhen flag clicked\nhide\ngo to [back v] layer\nset [ghost v] effect to (17)\nforever\n    if <(ステージ) = [15]> then\n        switch costume to (コスチューム1 v)\n        show\n    end\n    if <(ステージ) = [16]> then\n        hide\n    end\n    if <(ステージ) = [17]> then\n        show\n        switch costume to (コスチューム2 v)\n    end\n    if <(ステージ) = [18]> then\n        hide\n    end\n    if <(ステージ) = [19]> then\n        show\n        switch costume to (コスチューム3 v)\n    end\n    if <(ステージ) = [20]> then\n        hide\n    end\nend\n\n@スプライト1\n\nwhen I receive [the end v]\nshow\nset size to (100) %\nforever\n    go to [back v] layer\n    change [cos v] by (5)\n    change size by ([cos v] of (cos) )\nend\n\nwhen flag clicked\nhide\n\n@スプライト2\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [ghost v] effect to (100)\n\nwhen I receive [the end v]\nhide\n\n@雲\n\nwhen I receive [the end v]\nforever\n    wait (pick random (3) to (4)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset [必需品 v] to (pick random (50) to (120))\ngo to x: (280) y: ((170) - (必需品))\nswitch costume to (pick random (1) to (2))\nset [ghost v] effect to (pick random (0) to (50))\ngo to [back v] layer\ngo [forward v] (5) layers\nset rotation style [left-right v]\npoint in direction (pick random (-90) to (90))\nset size to ((85) + ((必需品) / (2))) %\nshow\nrepeat until <(x position) < [-260]>\n    change x by ((0) - (round ((必需品) / (15))))\nend\nrepeat (5)\n    change [ghost v] effect by (20)\n    change x by ((0) - (round ((必需品) / (15))))\nend\ndelete this clone\n\n@スプライト3\n\nwhen flag clicked\nhide\nset [スキップされたか v] to [0]\n\nwhen I receive [the end v]\nshow\nforever\n    go to [front v] layer\n    if <touching (mouse-pointer v)?> then\n        change size by (((size) - (100)) / (-2))\n        if <mouse down?> then\n            if <not <(ステージ) = [20]>> then\n                set [スキップされたか v] to [!]\n                broadcast (あ v)\n                set [ステージ v] to ((ステージ) + (1))\n                wait until <not <mouse down?>>\n            end\n        end\n    else\n        change size by (((size) - (90)) / (-2))\n    end\nend\n\n@Free INTR\n\nwhen I start as a clone\nif <[1] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    switch costume to (blue v)\n    go to [front v] layer\n    wait (0.7) seconds\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\n\nwhen I start as a clone\nforever\n    show\nend\n\nwhen flag clicked\npoint in direction (90)\nhide\nreset timer\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [1]\ncreate clone of (_myself_ v)\nwait (1.5) seconds\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [3]\ncreate clone of (_myself_ v)\nwait (6) seconds\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [4]\ngo to x: (-240) y: (0)\npoint in direction (0)\ncreate clone of (_myself_ v)\nrepeat (9)\n    change x by (55)\n    turn right (1) degrees\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <[2] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    set [ghost v] effect to (40)\n    go to [back v] layer\n    go [forward v] (1) layers\n    go to x: (0) y: (-394)\n    switch costume to (x% v)\n    show\n    glide (2) secs to x: (0) y: (394)\n    delete this clone\nend\n\nwhen flag clicked\nset [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [0]\ncreate clone of (_myself_ v)\nwait (0.5) seconds\nrepeat (200)\n    set [ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ v] to [2]\n    create clone of (_myself_ v)\n    wait (0.8) seconds\nend\n\nwhen I start as a clone\nif <[0] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    switch costume to (black v)\n    go to x: (0) y: (0)\n    show\n    forever\n        go to [front v] layer\n        go [backward v] (1) layers\n    end\nend\n\nwhen I start as a clone\nif <[3] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    point in direction (90)\n    go to [front v] layer\n    go [backward v] (3) layers\n    set [ghost v] effect to (100)\n    go to x: (0) y: (186)\n    switch costume to (your name v)\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n        change y by ((() - (y position)) / (7))\n    end\n    repeat (2)\n        wait () seconds\n    end\n    set rotation style [all around v]\n    repeat (5)\n        point in direction (-90)\n        set [π v] to [0]\n        set size to (0) %\n        repeat (30)\n            set [π v] to (((π) * (0.75)) + (((90) - (direction)) / (5)))\n            turn right (π) degrees\n            change size by ((((π) + (10)) * (0.5)) + (((100) - (size)) / (3)))\n        end\n    end\nend\n\nwhen I start as a clone\nif <[1] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    forever\n        go to [back v] layer\n    end\nend\n\nglide (2) secs to x: (0) y: (394)\n\ngo to x: (0) y: (0)\nswitch costume to (your name v)\nshow\n\nhide\n\nwhen I start as a clone\nif <[4] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    forever\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\nif <[4] = (ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ)> then\n    switch costume to (white v)\n    set [π v] to (direction)\n    set [color v] effect to (((π) mod (2)) * (25))\n    set size to (0) %\n    set [ghost v] effect to (100)\n    show\n    go to x: (0) y: (-361)\n    repeat (20)\n        change size by (((100) - (size)) / (3))\n        set [ghost v] effect to ((100) - (size))\n        change x by ((((-240) + ((55) * (π))) - (x position)) / (3))\n        change y by ((() - (y position)) / (3))\n        turn right (((90) - (direction)) / (3)) degrees\n    end\n    wait (0.2) seconds\n    broadcast (THE END v)\nend\n\nwhen I receive [the end v]\nif <(ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ) = [4]> then\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\n    wait ((1) / ()) seconds\n    delete this clone\nelse\n    stop [other scripts in sprite v]\n    delete this clone\nend\n\nwhen flag clicked\nstart sound [Blooom - Be Around \[NCS Release\] v]\n\nrepeat (1)\n\n