White [Platformer]

Instructions: 【White [Platformer]】 2021 8/2\n難易度高めです。\n\n❖操作方法 / ʜᴏᴡ ᴛᴏ ᴘʟᴀʏ❖\nskipは2回まで、skipを使うとタイムが記録されません\nintroは、2回目からは出ません\n　▽PC▽\n左右キー,上キー / left,right keys ,app keys\n\n　▽モバイル / mobile▽\n左側,右側,上側タップ / Tap left,right ,Tap top

@Stage\n\nwhen flag clicked\nset [タイマー v] to [0]\nforever\n    change [タイマー v] by ((1) / (30))\nend\n\n@Player\n\ndefine リセット\nshow\nset [リセット v] to [0]\nset [yの力 v] to [0]\ngo to x: (-200) y: (0)\nchange [xの力 v] by (0.3)\nchange [yの力 v] by (-0.8)\nchange y by (yの力)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [player v]\nリセット\n\nwhen I start as a clone\ngo [backward v] (1) layers\nclear graphic effects\nswitch costume to (ｱﾋｬ v)\nrepeat (10)\n    change [ghost v] effect by (27)\nend\ndelete this clone\n\ndefine 動作\nchange [xの力 v] by (<<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> * (0.8))\nchange [xの力 v] by (<<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> * (-0.8))\npoint in direction (((xの力) * (1.7)) + (90))\nset [xの力 v] to ((xの力) * (0.9))\nchange x by (xの力)\nrepeat (5)\n    change y by <touching (stage v)?>\nend\nif <touching (stage v)?> then\n    change x by ((xの力) * (-1))\n    change y by (-5)\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n            set [xの力 v] to [-6]\n        else\n            set [xの力 v] to (<<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> * (6))\n        end\n        set [yの力 v] to [11]\n        change y by (-2)\n    else\n        set [xの力 v] to [0]\n    end\nend\nchange y by (-3)\nif <touching (stage v)?> then\n    set [yの力 v] to (<<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> * (10))\nend\nchange y by (3)\nchange [yの力 v] by (-0.8)\nchange y by (yの力)\nif <touching (stage v)?> then\n    change y by ((yの力) * (-1))\n    set [yの力 v] to [0]\nend\n\nwhen I receive [game start v]\nshow\npoint in direction (90)\nset [xの力 v] to [0]\nset [yの力 v] to [0]\ngo to x: (-200) y: (0)\nset size to (110) %\nforever\n    if <(リセット) = [0]> then\n        動作\n    end\nend\n\nwhen I receive [game start v]\nforever\n    if <(リセット) = [0]> then\n        create clone of (_myself_ v)\n    end\n    go to [back v] layer\n    if <[220] < (x position)> then\n        broadcast (NEXT v)\n        set [ghost v] effect to (0)\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set x to (0)\n        hide\n    end\nend\n\nwhen I receive [game start v]\nset [リセット v] to [0]\nset [ghost v] effect to (0)\nforever\n    if <<(y position) < [-150]> or <touching (障害物 v)?>> then\n        set [リセット v] to [1]\n        start sound [ﾀﾋぬ v]\n        change y by (8)\n        set [yの力 v] to [8]\n        repeat until <(y position) < [-170]>\n            change y by (yの力)\n            change [yの力 v] by (-0.5)\n            turn right (3.5) degrees\n        end\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        point in direction (90)\n        リセット\n    end\nend\n\nwhen flag clicked\nhide\n\nset [☁ best time v] to [100]\n\n@Stage\n\nwhen I receive [次 v]\nnext costume\ngo to [front v] layer\n\nwhen I receive [game start v]\ngo to x: (0) y: (0)\nshow\nswitch costume to (stage1 v)\nwait () seconds\nforever\n\nwhen flag clicked\nhide\n\ngo [forward v] (1) layers\n\ngo to x: (0) y: (0)\n\n@障害物\n\nwhen I receive [次 v]\nnext costume\n\ngo [forward v] (5) layers\n\nwhen I receive [game start v]\nshow\nset size to (100) %\nswitch costume to (stage1 v)\ngo to x: (0) y: (0)\nforever\n    set y to (([sin v] of ((タイマー) * (300)) ) * (5))\nend\n\nwhen flag clicked\nhide\n\n@light\n\nwhen I receive [次 v]\ngo to [back v] layer\nnext costume\n\nwhen I receive [game start v]\nshow\nswitch costume to (stage1 v)\nforever\n    go to (障害物 v)\nend\n\nwhen flag clicked\nhide\n\n@music\n\nwhen this sprite clicked\nif <(volume) = [100]> then\n    set volume to (0) %\n    switch costume to (ミュート v)\nelse\n    set volume to (100) %\n    switch costume to ( v)\nend\n\nwhen I receive [game start v]\nwait (1) seconds\nforever\n    play sound [Alex Skrindo - Jumbo \[NCS Release\] v] until done\nend\n\nwhen I receive [game start v]\nshow\nset size to (70) %\nset volume to (100) %\nswitch costume to ( v)\ngo to x: (-100) y: (155)\nforever\n    change size by (([sin v] of ((タイマー) * (300)) ) * (0.8))\nend\n\nwhen flag clicked\nhide\n\n@skip\n\nwhen flag clicked\nforever\n    change size by (([sin v] of ((タイマー) * (300)) ) * (0.8))\nend\n\nwhen this sprite clicked\nrepeat (10)\n    set [brightness v] effect to (0)\nend\n\ndefine ブロック名\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen this sprite clicked\nchange [skip数 v] by (1)\nif <(SKIP数) < [3]> then\n    if <(リセット) = [0]> then\n        broadcast (Player v)\n        broadcast (NEXT v)\n        if <(SKIP数) = [2]> then\n            ブロック名\n        end\n    end\nend\n\nwhen I receive [game start v]\nset [skip数 v] to [0]\nset [brightness v] effect to (0)\nshow\nset [ghost v] effect to (100)\nset size to (70) %\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nrepeat until <([costume # v] of [stage v]) = [9]>\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\nブロック名\n\nwhen flag clicked\nhide\n\n@サムネ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\ngo to [front v] layer\n\n@NEXT\n\nwhen I receive [next v]\nset [リセット v] to [1]\nshow\ngo to x: (-300) y: (0)\nset [ghost v] effect to (0)\nrepeat until <(round (x position)) = [0]>\n    change x by (((0) - (x position)) / (4))\nend\nbroadcast (次 v)\nrepeat until <(round (x position)) = [400]>\n    change x by (((400) - (x position)) / (4))\n    change [ghost v] effect by (1)\nend\nset [xの力 v] to [2]\nbroadcast (Player v)\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\nend\n\nwhen I receive [game start v]\nhide\nforever\n    go to [front v] layer\nend\n\ngo [forward v] (10000) layers\n\nwhen I receive [game start v]\nforever\n    go to [front v] layer\nend\n\n@スプライト1\n\nwhen I start as a clone\ngo to [back v] layer\nshow\nrepeat until <touching (_edge_ v)?>\n    go [backward v] ((1) / ()) layers\n    change y by ((size) / (20))\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I start as a clone\nforever\n    go [backward v] ((1) / ()) layers\nend\n\nwhen I receive [game start v]\nhide\nset [ghost v] effect to (30)\nforever\n    go [backward v] ((1) / ()) layers\n    set size to (pick random (70) to (100)) %\n    go to x: (pick random (-180) to (180)) y: (-150)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\n@intro\n\nwhen I start as a clone\nif <(Clone ID) = [Shockwave1]> then\n    set size to (999999999999999) %\n    go to x: ((0) + ((x) - (Cam x))) y: ((0) + ((y) - (Cam y)))\n    set size to (150) %\n    point in direction (90)\n    show\n    clear graphic effects\n    set [brightness v] effect to (100)\n    switch costume to (shockwave v)\n    set [number1 v] to [25]\n    repeat (30)\n        change [fisheye v] effect by (Number1)\n        go to [front v] layer\n        change [number1 v] by (55)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Shockwave3]> then\n    set size to (99999999999999) %\n    go to x: ((0) + ((x) - (Cam x))) y: ((0) + ((y) - (Cam y)))\n    set size to (150) %\n    point in direction (-90)\n    show\n    clear graphic effects\n    set [brightness v] effect to (100)\n    switch costume to (shockwave v)\n    set [number1 v] to [25]\n    repeat (30)\n        change [fisheye v] effect by (Number1)\n        go to [front v] layer\n        change [number1 v] by (55)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Shockwave4]> then\n    set size to (99999999999999) %\n    go to x: ((0) + ((x) - (Cam x))) y: ((0) + ((y) - (Cam y)))\n    set size to (150) %\n    point in direction (0)\n    show\n    clear graphic effects\n    set [brightness v] effect to (100)\n    switch costume to (shockwave v)\n    set [number1 v] to [25]\n    repeat (30)\n        change [fisheye v] effect by (Number1)\n        go to [front v] layer\n        change [number1 v] by (55)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Shockwave2]> then\n    set size to (99999999999999) %\n    go to x: ((0) + ((x) - (Cam x))) y: ((0) + ((y) - (Cam y)))\n    set size to (150) %\n    point in direction (180)\n    show\n    clear graphic effects\n    set [brightness v] effect to (100)\n    switch costume to (shockwave v)\n    set [number1 v] to [25]\n    repeat (30)\n        change [fisheye v] effect by (Number1)\n        go to [front v] layer\n        change [number1 v] by (55)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Text]> then\n    show\n    switch costume to (text v)\n    timer [2.8]\n    go to [front v] layer\n    point in direction (90)\n    repeat (2)\n        set [size v] to [85]\n        repeat (16)\n            set size to (999999999999) %\n            go to x: ((([sin v] of ((timer) * (800)) ) * ((Size) - (65))) + ((x) - (Cam x))) y: ((([sin v] of ((timer) * (1000)) ) * ((Size) - (65))) + ((y) - (Cam y)))\n            point in direction ((([sin v] of ((timer) * (900)) ) * (((Size) - (65)) / (3))) + (90))\n            change [size v] by (((65) - (Size)) / (6))\n            set size to (Size) %\n        end\n        set [size v] to [85]\n        repeat (15)\n            set size to (999999999999) %\n            go to x: ((([sin v] of ((timer) * (800)) ) * ((Size) - (65))) + ((x) - (Cam x))) y: ((([sin v] of ((timer) * (1000)) ) * ((Size) - (65))) + ((y) - (Cam y)))\n            point in direction ((([sin v] of ((timer) * (900)) ) * (((Size) - (65)) / (3))) + (90))\n            change [size v] by (((65) - (Size)) / (6))\n            set size to (Size) %\n        end\n    end\n    set [step v] to [0]\n    repeat (15)\n        turn right (Step) degrees\n        change [step v] by (2.4)\n    end\n    repeat (15)\n        turn right (Step) degrees\n        change [step v] by (((0) - (Step)) / (3))\n    end\n    set [size v] to [85]\n    repeat (16)\n        set size to (999999999999) %\n        go to x: ((([sin v] of ((timer) * (800)) ) * ((Size) - (65))) + ((x) - (Cam x))) y: ((([sin v] of ((timer) * (1000)) ) * ((Size) - (65))) + ((y) - (Cam y)))\n        point in direction ((([sin v] of ((timer) * (900)) ) * (((Size) - (65)) / (3))) + (90))\n        change [size v] by (((65) - (Size)) / (6))\n        set size to (Size) %\n    end\n    set [size v] to [85]\n    repeat (15)\n        set size to (999999999999) %\n        go to x: ((([sin v] of ((timer) * (800)) ) * ((Size) - (65))) + ((x) - (Cam x))) y: ((([sin v] of ((timer) * (1000)) ) * ((Size) - (65))) + ((y) - (Cam y)))\n        point in direction ((([sin v] of ((timer) * (900)) ) * (((Size) - (65)) / (3))) + (90))\n        change [size v] by (((65) - (Size)) / (6))\n        set size to (Size) %\n    end\n    if <<(x) > [50]> or <(y) > [50]>> then\n        delete this clone\n    end\n    set [size 2 v] to [1]\n    repeat (2)\n        set [size v] to [85]\n        repeat (16)\n            set size to (999999999999) %\n            go to x: (((([sin v] of ((timer) * (800)) ) * ((Size) - (65))) + ((x) - (Cam x))) / (Size 2)) y: (((([sin v] of ((timer) * (1000)) ) * ((Size) - (65))) + ((y) - (Cam y))) / (Size 2))\n            point in direction (((([sin v] of ((timer) * (900)) ) * (((Size) - (65)) / (3))) / (Size 2)) + (90))\n            change [size v] by (((65) - (Size)) / (6))\n            set size to ((Size) / (Size 2)) %\n            change [size 2 v] by (0.7)\n            change [ghost v] effect by (2)\n        end\n        set [size v] to [85]\n        repeat (15)\n            set size to (999999999999) %\n            go to x: (((([sin v] of ((timer) * (800)) ) * ((Size) - (65))) + ((x) - (Cam x))) / (Size 2)) y: (((([sin v] of ((timer) * (1000)) ) * ((Size) - (65))) + ((y) - (Cam y))) / (Size 2))\n            point in direction (((([sin v] of ((timer) * (900)) ) * (((Size) - (65)) / (3))) / (Size 2)) + (90))\n            change [size v] by (((65) - (Size)) / (6))\n            set size to ((Size) / (Size 2)) %\n            change [size 2 v] by (0.7)\n            change [ghost v] effect by (2)\n        end\n    end\n    delete this clone\nend\n\nwhen flag clicked\nintro [0]\n\ndefine Shockwave (x) (y)\nset [x v] to (x)\nset [y v] to (y)\nset [clone id v] to [Line1]\ncreate clone of (_myself_ v)\nset [clone id v] to [Line2]\ncreate clone of (_myself_ v)\nset [clone id v] to [Line3]\ncreate clone of (_myself_ v)\nset [clone id v] to [Line4]\ncreate clone of (_myself_ v)\nset [clone id v] to [Line5]\ncreate clone of (_myself_ v)\nset [clone id v] to [Line6]\ncreate clone of (_myself_ v)\nset [clone id v] to [Line7]\ncreate clone of (_myself_ v)\nset [clone id v] to [Line8]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif < (Clone ID) contains [Line]?> then\n    set [brightness v] effect to (100)\n    show\n    switch costume to (line1 v)\n    go to x: (0) y: (0)\n    point in direction (((letter (5) of (Clone ID)) - (1)) * (45))\n    go to [front v] layer\n    move (70) steps\n    set [step v] to [0]\n    repeat (10)\n        go to [front v] layer\n        go [backward v] (1) layers\n        set size to (9999999999999999999999) %\n        go to x: (((([sin v] of (direction) ) * ((Step) + (70))) + (x)) - (Cam x)) y: (((([cos v] of (direction) ) * ((Step) + (70))) + (y)) - (Cam y))\n        set size to (55) %\n        change [step v] by (((40) - (Step)) / (3))\n        next costume\n    end\n    delete this clone\nend\n\ndefine timer (time)\nwait until <(timer) > (time)>\n\nwhen I start as a clone\nif <(Clone ID) = [Text]> then\n    timer [4.9]\n    set [size v] to [85]\n    repeat (16)\n        set size to (999999999999) %\n        go to x: ((([sin v] of ((timer) * (800)) ) * ((Size) - (65))) + ((x) - (Cam x))) y: ((([sin v] of ((timer) * (1000)) ) * ((Size) - (65))) + ((y) - (Cam y)))\n        change [size v] by (((65) - (Size)) / (6))\n        set size to (Size) %\n    end\n    set [size v] to [85]\n    repeat (15)\n        set size to (999999999999) %\n        go to x: ((([sin v] of ((timer) * (800)) ) * ((Size) - (65))) + ((x) - (Cam x))) y: ((([sin v] of ((timer) * (1000)) ) * ((Size) - (65))) + ((y) - (Cam y)))\n        change [size v] by (((65) - (Size)) / (6))\n        set size to (Size) %\n    end\nend\n\ndefine Shockwave2 (number)\nset [x v] to [0]\nset [y v] to [0]\nset [clone id v] to (join [Shockwave] (number))\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(Clone ID) = [Background]> then\n    switch costume to (1 v)\n    forever\n        show\n        switch costume to (line11 v)\n        set size to (99999) %\n        switch costume to (1 v)\n        go to x: ((x) - (Cam x)) y: ((y) - (Cam y))\n        switch costume to (line11 v)\n        set size to (300) %\n        switch costume to (1 v)\n        set [mosaic v] effect to (20)\n    end\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Background2]> then\n    switch costume to (2 v)\n    set size to (100) %\n    forever\n        show\n        go to [front v] layer\n        go to x: (0) y: (0)\n        point in direction (90)\n    end\nend\n\nwhen I start as a clone\nforever\n    set [color v] effect to (114)\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Background2]> then\n    timer [7]\n    repeat (30)\n        change size by (((130) - (size)) / (8))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Background]> then\n    timer [7]\n    repeat (30)\n        change [ghost v] effect by (3.4)\n    end\n    delete this clone\nend\n\ndefine intro (color)\nset [color v] to (color)\nset [cam x v] to [0]\nset [cam y v] to [0]\nreset timer\nstart sound [Cash Cash - Kiss The Sky v]\ntimer [1.8]\nset [x v] to [0]\nset [y v] to [0]\nset [clone id v] to [Text]\ncreate clone of (_myself_ v)\nset [x v] to [480]\nset [y v] to [0]\nset [clone id v] to [Text]\ncreate clone of (_myself_ v)\nset [x v] to [480]\nset [y v] to [360]\nset [clone id v] to [Text]\ncreate clone of (_myself_ v)\nset [x v] to [0]\nset [y v] to [360]\nset [clone id v] to [Text]\ncreate clone of (_myself_ v)\ntimer [2.8]\nset [clone id v] to [flash]\ncreate clone of (_myself_ v)\nset [clone id v] to [Background2]\ncreate clone of (_myself_ v)\nset [x v] to [0]\nset [y v] to [0]\nset [clone id v] to [Background]\ncreate clone of (_myself_ v)\nShockwave [0] [0]\nShockwave [480] [0]\nShockwave [480] [360]\nShockwave [0] [360]\ntimer [3.8]\nShockwave2 [1]\nwait (0.1) seconds\nShockwave2 [2]\nwait (0.1) seconds\nShockwave2 [3]\nwait (0.1) seconds\nShockwave2 [4]\ntimer [5.9]\nShockwave [0] [0]\nShockwave [480] [0]\nShockwave [480] [360]\nShockwave [0] [360]\nrepeat (8)\n    change [cam x v] by (((480) - (Cam x)) / (3))\nend\nShockwave [0] [0]\nShockwave [480] [0]\nShockwave [480] [360]\nShockwave [0] [360]\nrepeat (8)\n    change [cam y v] by (((360) - (Cam y)) / (3))\n    change [cam x v] by (((480) - (Cam x)) / (3))\nend\nShockwave [0] [0]\nShockwave [480] [0]\nShockwave [480] [360]\nShockwave [0] [360]\nrepeat (16)\n    change [cam x v] by (((0) - (Cam x)) / (3))\n    change [cam y v] by (((0) - (Cam y)) / (3))\nend\nset [cam x v] to [0]\nset [cam y v] to [0]\n\nwhen I start as a clone\nif <(Clone ID) = [Text]> then\n    set size to (99999999999) %\n    go to x: (0) y: (-240)\n    set size to (65) %\n    repeat (35)\n        change y by (((0) - (y position)) / (6))\n    end\nend\n\nwhen I start as a clone\nif <(Clone ID) = [flash]> then\n    go to x: (0) y: (0)\n    show\n    repeat (10)\n        change [ghost v] effect by (10)\n        go to [front v] layer\n        switch costume to (1 v)\n        set size to (100) %\n        set [brightness v] effect to (100)\n        go to [front v] layer\n    end\n    delete this clone\nend\n\nwhen flag clicked\nchange [intro? v] by (1)\nif <(intro?) < [2]> then\n    wait until <[9] < (timer)>\n    broadcast (Game Start v)\nelse\n    stop all sounds\n    stop [other scripts in sprite v]\n    broadcast (Game Start v)\nend\n\nset [intro? v] to [1]\n\n@Time\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nswitch costume to (letter (桁) of (保存))\nwait () seconds\ndelete this clone\n\ndefine ブロック名\nset [桁 v] to (length of (保存))\ngo to x: (-80) y: (-140)\nrepeat (length of (保存))\n    change x by (-25)\n    create clone of (_myself_ v)\n    change [桁 v] by (-1)\nend\n\nwhen flag clicked\nhide\nset [保存 v] to [0]\n\nwhen I receive [game start v]\nreset timer\n\nwhen I receive [next v]\nif <([costume # v] of [stage v]) = [8]> then\n    if <(SKIP数) = [0]> then\n        set [保存 v] to (round (timer))\n        if <(保存) < (☁ Best time)> then\n            set [☁ best time v] to (保存)\n        end\n        wait (0.8) seconds\n        forever\n            ブロック名\n        end\n    else\n        go to x: (-105) y: (-140)\n        switch costume to (コスチューム1 v)\n        wait (0.8) seconds\n        show\n        forever\n            go to [front v] layer\n        end\n    end\nelse\nend\n\nforever\n    set [保存 v] to (round (timer))\n    ブロック名\nend\n\n@Best time\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nswitch costume to (letter (桁) of (☁ Best time))\nwait () seconds\ndelete this clone\n\ndefine ブロック名\nset [桁 v] to (length of (☁ Best time))\ngo to x: (90) y: (-140)\nrepeat (length of (☁ Best time))\n    change x by (-25)\n    create clone of (_myself_ v)\n    change [桁 v] by (-1)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [next v]\nif <([costume # v] of [stage v]) = [8]> then\n    wait (0.8) seconds\n    forever\n        ブロック名\n    end\nend\n\nforever\n    set [保存 v] to (round (timer))\n    ブロック名\nend\n\nset [☁ best time v] to [100]\n\n