spring/春 [Platformer]

Instructions: 春のPlatformerです！\n❤️と⭐️を押してくれると嬉しいです！\nスキップは2回までです。バグった場合は、もう一度旗を押してください。\nーーー操作方法 / How to playーーー\n　▽PC▽\n矢印キーで移動 / left,right keys to move\n上キーでジャンプ / app keys to jump\n\n　▽スマホ・タブレット / mobile |tablet▽\n左側、右側タップで移動 / tap left | right move\n上側をタップで移動 / Tap the top to jump

@Stage\n\n@Player\n\nwhen flag clicked\nshow\npoint in direction (90)\nset [スピード v] to [0]\nset [ジャンプ v] to [0]\ngo to x: (-200) y: (0)\nforever\n    switch costume to (1 v)\n    if <(リセット) = [0]> then\n        change [ジャンプ v] by (-0.8)\n        change y by (ジャンプ)\n        if <touching (stage v)?> then\n            change y by ((ジャンプ) * (-1))\n            set [ジャンプ v] to [0]\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n                set [ジャンプ v] to [10]\n                start sound [ジャンプ v]\n            end\n        end\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n            switch costume to (2 v)\n            change [スピード v] by (0.65)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n            switch costume to (3 v)\n            change [スピード v] by (-0.65)\n        end\n        set [スピード v] to ((スピード) * (0.9))\n        change x by (スピード)\n        point in direction (((スピード) * (1.7)) + (90))\n        change y by <touching (stage v)?>\n        if <key (up arrow v) pressed?> then\n            switch costume to (6 v)\n            if <key (right arrow v) pressed?> then\n                switch costume to (4 v)\n            end\n            if <key (left arrow v) pressed?> then\n                switch costume to (5 v)\n            end\n        end\n        if <touching (stage v)?> then\n            change x by ((スピード) * (-1))\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n                set [ジャンプ v] to [10]\n                start sound [ジャンプ v]\n                if <[0] < (スピード)> then\n                    set [スピード v] to [-5]\n                else\n                    set [スピード v] to [5]\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    go to [back v] layer\n    if <[220] < (x position)> then\n        broadcast (次 v)\n        set [ghost v] effect to (0)\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        リセット\n    end\nend\n\nwhen flag clicked\nset [リセット v] to [0]\nset [ghost v] effect to (0)\nforever\n    if <<(y position) < [-150]> or <touching (magma v)?>> then\n        set [リセット v] to [1]\n        start sound [ﾀﾋぬ v]\n        change y by (8)\n        set [ジャンプ v] to [8]\n        repeat until <(y position) < [-170]>\n            change y by (ジャンプ)\n            change [ジャンプ 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\ndefine リセット\nset [リセット v] to [0]\nset [ジャンプ v] to [0]\ngo to x: (-200) y: (0)\nchange [スピード v] by (0.3)\nchange [ジャンプ v] by (-0.8)\nchange y by (ジャンプ)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [player v]\nリセット\n\nwhen I start as a clone\nclear graphic effects\nswitch costume to (影 v)\nrepeat (2)\n    change [ghost v] effect by (40)\n    go to [back v] layer\nend\ndelete this clone\n\n@Stage\n\nwhen flag clicked\nshow\nswitch costume to (stage1 v)\nforever\n    go [forward v] (10) layers\nend\n\nwhen I receive [次 v]\ngo to [front v] layer\nnext costume\n\n@magma\n\nwhen flag clicked\nshow\nset size to (100) %\nswitch costume to (stage1 v)\ngo to x: (0) y: (0)\nset [上下 v] to [0]\nforever\n    repeat (30)\n        change [上下 v] by (-0.05)\n        set [上下 v] to ((上下) * (0.9))\n        change y by (上下)\n    end\n    repeat (30)\n        change [上下 v] by (0.05)\n        set [上下 v] to ((上下) * (0.9))\n        change y by (上下)\n    end\nend\n\nwhen I receive [次 v]\ngo [forward v] (5) layers\nnext costume\n\n@light\n\nwhen flag clicked\nswitch costume to (stage1 v)\nforever\n    go to (magma v)\nend\n\nwhen I receive [次 v]\ngo to [back v] layer\nnext costume\n\n@桜\n\nwhen I start as a clone\nshow\nglide (pick random (3) to (5)) secs to x: ((-150) + (x position)) y: (-180)\n\nwhen flag clicked\nhide\npoint in direction (120)\nforever\n    set size to (pick random (70) to (120)) %\n    go to x: (pick random (-200) to (200)) y: (150)\n    create clone of (_myself_ v)\n    wait (pick random (0.5) to (1)) seconds\nend\n\nwhen I start as a clone\nforever\n    turn right (pick random (3) to (6)) degrees\n    if <touching (_edge_ v)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nforever\n    go [forward v] (1000) layers\nend\n\n@sun\n\nwhen flag clicked\nshow\nset size to (85) %\nforever\n    go [backward v] (100) layers\n    change size by (([sin v] of ((タイマー) * (200)) ) * (1))\nend\n\nwhen flag clicked\nset [タイマー v] to [0]\nforever\n    change [タイマー v] by ((1) / (30))\nend\n\n@music\n\nwhen flag clicked\nforever\n    play sound [Time To Leaf v] until done\nend\n\nwhen flag clicked\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 this sprite clicked\nif <(volume) = [100]> then\n    repeat until <(volume) = [0]>\n        change volume by (-3)\n        switch costume to (ミュート v)\n    end\nelse\n    repeat until <(volume) = [100]>\n        change volume by (3)\n        switch costume to ( v)\n    end\nend\n\n@skip\n\nwhen flag clicked\nswitch costume to (skip v)\nforever\n    change size by (([sin v] of ((タイマー) * (300)) ) * (0.8))\nend\n\nwhen flag clicked\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]) = [6]>\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 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 (次 v)\n        if <(skip回数) = [2]> then\n            ブロック名\n        end\n    end\nelse\nend\n\n@サムネ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nforever\n    go [forward v] (1000000000000000000) layers\n    reset timer\nend\n\nwhen [timer v] > (.1)\ngo to [front v] layer\nset [ghost v] effect to (100)\nshow\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\n