snow platformer||雪のプラットフォーマー

Instructions: Push the flag! || 旗を押してください！\n\n||It's operated with arrow keys!\n||矢印キーで操作です！\n\n||It's mobile-friendly!\n||モバイル対応です！\n\n||Do not hit the thorns or fall into the holes.\n||とげに当たったり穴に落ちたりしないでください。\n\n||Tell me the time in the comments!\n||タイムをコメントで教えて下さい！\n\n||If it is heavy, click here↓\n||重い場合はこちら→https://turbowarp.org/686589234\n\n▼やめてほしいこと\n・アンチ　・報告乱用\n\n【credit】\n音楽||music @Xaf様 \n雪||snow @syoinsya様 \n月参考||moon @lightblue029様\nプログラム参考||Program References \n@apolswieduy 様 \n\n【tag】\n#all #game #games #art #music #platformer #snow #raoion112

@Stage\n\nwhen flag clicked\nforever\n    set volume to (100) %\n    play sound [Goodbye4 v] until done\nend\n\n@プラフォ\n\nwhen flag clicked\nbroadcast (スタート v)\nswitch costume to (主人公 v)\nswitch backdrop to (背景2 v)\ngo to x: (-210) y: (15)\nshow\nset size to (80) %\nstart sound [シーン切り替え1 v]\ngo to [front v] layer\nshow\nset [x v] to [0]\nset [y v] to [0]\npoint in direction (90)\ngo to x: (-201) y: (152)\ngo to x: (-213) y: (-34)\nforever\n    set rotation style [left-right v]\n    if <<<(mouse x) < (x position)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        point in direction (-90)\n        change [x2 v] by (-0.8)\n    end\n    if <<<(x position) < (mouse x)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        point in direction (90)\n        change [x2 v] by (0.8)\n    end\n    set [x2 v] to ((X2) * (0.9))\n    change x by (X2)\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.0)\n                        if <touching (ステージ v)?> then\n                            change x by ((X2) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n                                if <(X2) > [0]> then\n                                    set [x2 v] to [-7]\n                                else\n                                    set [x2 v] to [7]\n                                end\n                                set [y2 v] to [15]\n                            else\n                                set [x2 v] to [0.0]\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 <<<(y position) < (mouse y)> and <mouse down?>> or <key (up arrow v) pressed?>> then\n            if <touching (バネ v)?> then\n            else\n                start sound [ニュッ2 v]\n                set [y2 v] to [15]\n            end\n        else\n        end\n    end\n    change y by (1)\n    change [y2 v] by (-1)\n    change y by (Y2)\n    if <touching (ステージ v)?> then\n        change y by ((Y2) * (-1))\n        set [y2 v] to [0]\n    end\n    if <(x position) > [230]> then\n        broadcast (あ v) and wait\n        next backdrop\n        go to x: (-210) y: (-10)\n    end\n    if <<touching (とげ v)?> or <(y position) < [-174]>> then\n        start sound [キャンセル5 v]\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        go to x: (-210) y: (-10)\n        repeat (20)\n            change [ghost v] effect by (-5)\n        end\n    end\n    if <<<(mouse y) < (y position)> and <mouse down?>> or <key (down arrow v) pressed?>> then\n        switch costume to (コスチューム5 v)\n    else\n        switch costume to (主人公 v)\n    end\nend\n\n@とげ\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\n\nwhen I receive [あ v]\nnext costume\n\n@ステージ\n\nwhen I receive [あ v]\nnext costume\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [front v] layer\nswitch costume to (コスチューム1 v)\n\nwhen flag clicked\nwait until <(costume [number v]) = [6]>\nif <(costume [number v]) = [6]> then\n    wait (1) seconds\n    stop [this script v]\nend\n\nwhen I receive [スタート v]\nset [タイム v] to [0]\nhide variable [タイム v]\nrepeat until <(costume [number v]) = [13]>\n    wait (1) seconds\n    change [タイム v] by (1)\n    if <(costume [number v]) = [13]> then\n        go [forward v] (100) layers\n        show variable [タイム v]\n    end\nend\n\nhide variable [タイム v]\n\n@文字\n\nwhen flag clicked\nswitch costume to (さあ行こう！ v)\ngo [backward v] (100) layers\n\nwhen I receive [あ v]\nnext costume\nif <(costume [number v]) = [9]> then\n    wait (1.5) seconds\n    go to [front v] layer\nend\nif <(costume [number v]) = [10]> then\n    go [backward v] (100) layers\nend\nif <(costume [number v]) = [12]> then\n    wait (1.5) seconds\n    go to [front v] layer\nend\nif <(costume [number v]) = [13]> then\n    go [backward v] (100) layers\nend\n\n@next\n\nwhen I receive [あ v]\ngo [forward v] (4) layers\nshow\ngo to x: (433) y: (0)\nglide (0.3) secs to x: (10) y: (0)\nglide (1) secs to x: (-10) y: (0)\nglide (0.3) secs to x: (-433) y: (0)\nhide\n\nwhen flag clicked\nhide\n\n@pen\n\nwhen flag clicked\nset size to (Infinity) %\ndelete all of [x v]\ndelete all of [y v]\ndelete all of [横移動速度 v]\ndelete all of [降る速度 v]\nrepeat (30)\n    add (pick random (-230) to (230)) to [x v]\n    add (pick random (-200) to (200)) to [y v]\n    add (pick random (-1.0) to (1.0)) to [横移動速度 v]\n    add (pick random (-1.0) to (-3.0)) to [降る速度 v]\n    add (pick random (8) to (13)) to [大きさ v]\nend\nforever\n    びょーが\nend\n\ndefine x (x) y (y) に (大きさ) の大きさでゆきびょーが\ngo to x: (x) y: (y)\nset pen size to (1)\nset pen (transparency v) to (70)\nrepeat (大きさ)\n    change pen size by (1.2)\n    change pen (transparency v) by (1)\n    pen down\nend\npen up\n\ndefine びょーが\nset [変数 v] to [0]\nerase all\nset pen color to (#000021)\nset pen size to (999)\ngo to x: (0) y: (0)\npen down\npen up\nset pen color to (#ffffff)\nrepeat (30)\n    change [変数 v] by (1)\n    x (item (変数) of [x v]) y (item (変数) of [y v]) に (item (変数) of [大きさ v]) の大きさでゆきびょーが\n    replace item (変数) of [x v] with ((item (変数) of [x v]) + (item (変数) of [横移動速度 v]))\n    replace item (変数) of [y v] with ((item (変数) of [y v]) + (item (変数) of [降る速度 v]))\n    if <(item (変数) of [y v]) < [-200]> then\n        replace item (変数) of [x v] with (pick random (-230) to (230))\n        replace item (変数) of [y v] with [200]\n        replace item (変数) of [横移動速度 v] with (pick random (-1.0) to (1.0))\n        replace item (変数) of [降る速度 v] with (pick random (-1) to (-3))\n        replace item (変数) of [大きさ v] with (pick random (8) to (13))\n    end\nend\n\n@アピール表示\n\nwhen flag clicked\nshow\ngo to x: (161) y: (192)\nset [ghost v] effect to (100)\nforever\n    wait (pick random (10) to (15)) seconds\n    表示\nend\n\ndefine 表示\ngo [forward v] (3) layers\nstart sound [Pop v]\ngo to x: (161) y: (192)\nrepeat (23)\n    change y by (-2)\n    change [ghost v] effect by (-5)\nend\nclear graphic effects\nwait (3) seconds\nrepeat (23)\n    change y by (2)\n    change [ghost v] effect by (5)\nend\n\n@サムネ\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\nset size to (100) %\n\n@moon2\n\nwhen flag clicked\nhide\ngo to [back v] layer\nshow\ngo to x: (217) y: (160)\nset size to (100) %\nforever\n    repeat (50)\n        change size by (((135) - (size)) / (16.8))\n    end\n    repeat (50)\n        change size by (((size) - (105)) / (-16.8))\n    end\nend\n\n