desert platformer！砂漠のプラットフォーマー

Instructions: 新作です。超頑張りました。\n傾向3pありがとう。　超うれしい\n❤️と⭐️必ずおねがいします。\n追加パーツ　回るトゲ　地下道　世界記録\nEnglish\nPC:Jumping is ↑key slide is ←and→key\nWith a world record.\nMobile:Jumping is avobe tap. slide is left and right tap.\n日本語　PC:ジャンプは↑キー　スライドは←か→キー\nモバイル:ジャンプは上の方をタップ。\nスライドは右か左をタップ

@Stage\n\nwhen I receive [スタート v]\nforever\n    play sound [Time To Leaf v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (イントロ v)\n\nwhen I receive [スタート v]\nswitch backdrop to (砂漠 v)\n\n@軽量化\n\n@サムネイル\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\nhide\n\n@地面\n\nwhen flag clicked\nset drag mode [not draggable v]\nswitch costume to (ステージ1 v)\nset [変数 v] to [0]\nset [ステージ v] to [1]\n\nwhen I receive [次 v]\nnext costume\nchange [ステージ v] by (1)\n\nset [ステージ v] to [10]\n\nwhen I receive [スタート v]\nshow\n\nwhen flag clicked\nhide\n\n@トゲ\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (ステージ1 v)\n\nwhen I receive [次 v]\nnext costume\n\n@player2\n\nwhen flag clicked\ngo to x: (-210) y: (0)\nset rotation style [left-right v]\nhide\n\nwhen I start as a clone\nrepeat (5)\n    turn right (pick random (1) to (-1)) degrees\n    change size by (-20)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nbroadcast (エフェクト2 v)\n\nwhen I receive [スタート v]\nshow\nforever\n    create clone of (_myself_ v)\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(mouse x) > [0]>>> then\n        change [滑らかなx v] by (1)\n        point in direction (90)\n    end\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<mouse down?> and <[0] > (mouse x)>>> then\n        change [滑らかなx v] by (-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 (-5)\n                                change x by ((0) - (滑らかなx))\n                                if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > [0]>>> then\n                                    if <(滑らかなx) > [0]> then\n                                        set [滑らかなx v] to [-5]\n                                    else\n                                        set [滑らかなx v] to [5]\n                                    end\n                                    set [滑らかなy v] to [10]\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    change y by (-1)\n    if <touching (地面 v)?> then\n        if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > [0]>>> then\n            start sound [ニュッ v]\n            set [滑らかなy v] to [15]\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 ((0) - (滑らかなy))\n        set [滑らかなy v] to [0]\n    end\n    if <(x position) > [219]> then\n        go to x: (-210) y: (-30)\n        broadcast (次 v)\n    end\n    if <<<(y position) < [-180]> or <touching (トゲ v)?>> or <touching (回るトゲ v)?>> then\n        set [滑らかなy v] to [0]\n        set [滑らかなx v] to [0]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        clear graphic effects\n        go to x: (-210) y: (-30)\n    end\nend\n\n@ターボセーバー\n\nwhen flag clicked\nswitch costume to (コスチューム2 v)\n\nwhen flag clicked\nset [タイマー v] to [0]\nhide variable [タイマー v]\nhide variable [☁ 世界記録 v]\n\nwhen I receive [スタート v]\nshow variable [タイマー v]\nrepeat until <([costume # v] of [地面 v]) = [12]>\n    wait ((0.1) - ((1) / (30))) seconds\n    change [タイマー v] by (0.1)\nend\n\nwhen I receive [スタート v]\nforever\n    if <([costume # v] of [地面 v]) = [12]> then\n        show variable [☁ 世界記録 v]\n        if <(タイマー) < (☁ 世界記録)> then\n            set [☁ 世界記録 v] to ((round ((タイマー) * (10))) / (10))\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (コスチューム2 v)\nhide\nforever\n    if <(ターボ対策) > [10000]> then\n        broadcast (ターボモードを感知しました v)\n    end\nend\n\nwhen I receive [ターボモードを感知しました v]\nswitch costume to (コスチューム1 v)\nshow\nstop [all v]\n\nwhen flag clicked\nforever\n    wait (0.01) seconds\n    set [ターボ対策 v] to [0]\nend\n\nwhen flag clicked\nset [ターボ対策 v] to [0]\nforever\n    change [ターボ対策 v] by (10)\nend\n\nset [☁ 世界記録 v] to [60.0]\n\n@回るトゲ\n\nwhen flag clicked\ngo to [back v] layer\nhide\nforever\n    turn right (5) degrees\n    if <[10] = (ステージ)> then\n        show\n    end\n    if <[11] = (ステージ)> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        hide\n    end\n    wait (0.01) seconds\nend\n\n@地下道\n\nwhen flag clicked\ngo to [back v] layer\nhide\nforever\n    if <[11] = (ステージ)> then\n        show\n    end\n    if <[12] = (ステージ)> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        hide\n    end\nend\n\n@Free Intro\n\ndefine x (x) y (y) rotation (rotation) size (size)\nrepeat (15)\n    change size by (((size) - (size)) / (4))\n    change x by (((x) - (x position)) / (4))\n    change y by (((y) - (y position)) / (4))\n    turn right (((rotation) - (direction)) / (4)) degrees\nend\n\nwhen flag clicked\nset [clone v] to [0]\nhide\nwait (1) seconds\nintro start\n\ndefine intro start\nhide\nbroadcast (定義 v)\nbroadcast (音楽 v)\nbroadcast (クローン削除 v)\ngo to x: (0) y: (0)\nswitch costume to (てきすと v)\ngo to [front v] layer\nset size to (353) %\npoint in direction (0)\nwait (2) seconds\nset [clone v] to [4]\ncreate clone of (_myself_ v)\nshow\nbroadcast (レンズ v)\nset [clone v] to [2]\ncreate clone of (_myself_ v)\nset [clone v] to [16]\ncreate clone of (_myself_ v)\nbroadcast (エフェクト2 v)\nx [0] y [0] rotation [90] size [120]\nset [clone v] to [1]\ncreate clone of (_myself_ v)\n揺らす\nx [0] y [0] rotation [180] size [130]\nbroadcast (エフェクト2 v)\nx [0] y [0] rotation [-90] size [125]\nx [0] y [0] rotation [90] size [120]\nset [clone v] to [3]\ncreate clone of (_myself_ v)\nx [0] y [0] rotation [-90] size [353]\nbroadcast (エフェクト2 v)\nx [0] y [0] rotation [90] size [120]\nx [0] y [0] rotation [-90] size [0]\nset [clone v] to [2]\ncreate clone of (_myself_ v)\nhide\nshow\nset [clone v] to [1]\ncreate clone of (_myself_ v)\nx [0] y [0] rotation [90] size [120]\npoint in direction (90)\nturn right (1) degrees\nrepeat (30)\n    turn right ([abs v] of (((90) - (direction)) / (3)) ) degrees\nend\npoint in direction (90)\nset [clone v] to [7]\ncreate clone of (_myself_ v)\nwait (1) seconds\nhide\n\nwhen flag clicked\ndelete this clone\n\nwhen I receive [クローン削除 v]\ndelete this clone\n\nwhen I receive [定義 v]\nchange size by (size)\nchange x by (x)\nchange y by (y)\nturn right (rotation) degrees\n\nwhen I receive [音楽 v]\nplay sound [Domastic - Weird Dream \(CUT\) v] until done\n\nwhen I start as a clone\nif <(clone) = [1]> then\n    show\n    set [fisheye v] effect to (-80)\n    switch costume to (丸 v)\n    go to [front v] layer\n    set size to (150) %\n    repeat (10)\n        change [fisheye v] effect by (100)\n    end\n    hide\n    delete this clone\nend\nif <(clone) = [2]> then\n    go to x: (0) y: (0)\n    switch costume to (フラッシュ v)\n    set [ghost v] effect to (0)\n    go to [front v] layer\n    set size to (100) %\n    show\n    repeat (10)\n        point in direction (90)\n        change [ghost v] effect by (10)\n    end\n    hide\n    set [ghost v] effect to (0)\n    delete this clone\nend\nif <(clone) = [3]> then\n    go to x: (145) y: (-95)\n    show\n    set [fisheye v] effect to (-80)\n    switch costume to (丸 v)\n    go to [front v] layer\n    set size to (50) %\n    repeat (10)\n        change [fisheye v] effect by (100)\n    end\n    hide\n    go to x: (-145) y: (-95)\n    show\n    set [fisheye v] effect to (-80)\n    repeat (10)\n        change [fisheye v] effect by (100)\n    end\n    hide\n    go to x: (-145) y: (95)\n    show\n    set [fisheye v] effect to (-80)\n    repeat (10)\n        change [fisheye v] effect by (100)\n    end\n    hide\n    go to x: (145) y: (95)\n    show\n    set [fisheye v] effect to (-80)\n    repeat (10)\n        change [fisheye v] effect by (100)\n    end\n    hide\n    delete this clone\nend\n\nwhen I receive [レンズ v]\n\ndefine 揺らす\nset size to (180) %\npoint in direction (pick random (60) to (100))\nx [0] y [0] rotation [90] size [120]\npoint in direction (90)\nset size to (120) %\n\nwhen I start as a clone\nif <(clone) = [4]> then\n    go to x: (0) y: (0)\n    switch costume to (背景 v)\n    go to [back v] layer\n    set size to (100) %\n    show\n    x [0] y [0] rotation [-90] size [100]\n    x [0] y [0] rotation [90] size [100]\n    x [0] y [0] rotation [0] size [100]\n    go to [back v] layer\n    揺らす\n    x [0] y [0] rotation [-180] size [100]\n    x [0] y [0] rotation [90] size [100]\n    揺らす\n    show\n    wait (3.5) seconds\n    hide\n    delete this clone\nend\nif <(clone) = [7]> then\n    go to x: (469) y: (0)\n    switch costume to (ラスト v)\n    go to [front v] layer\n    set size to (100) %\n    show\n    x [-50] y [0] rotation [90] size [100]\n    go to x: (0) y: (0)\n    switch costume to (ラスと v)\n    wait (3) seconds\n    broadcast (スタート v)\n    repeat (40)\n        change [ghost v] effect by (5)\n    end\n    hide\n    set [ghost v] effect to (0)\n    delete this clone\nend\n\nwhen I receive [レンズ v]\nset [clone v] to [5]\ncreate clone of (_myself_ v)\nset [clone v] to [6]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(clone) = [5]> then\n    go to x: (0) y: (-240)\n    switch costume to (棒 v)\n    go to [front v] layer\n    set size to (100) %\n    point in direction (90)\n    show\n    repeat (25)\n        change y by (((-175) - (y position)) / (3))\n    end\n    repeat (3)\n        set size to (140) %\n        repeat (15)\n            change size by (((100) - (size)) / (3))\n        end\n        set size to (125) %\n        repeat (15)\n            change size by (((100) - (size)) / (3))\n        end\n    end\n    set size to (148) %\n    repeat (15)\n        change size by (((100) - (size)) / (3))\n    end\n    wait (3.5) seconds\n    hide\n    delete this clone\nend\nif <(clone) = [6]> then\n    go to x: (0) y: (240)\n    switch costume to (棒 v)\n    go to [front v] layer\n    set size to (100) %\n    point in direction (90)\n    show\n    repeat (25)\n        change y by (((175) - (y position)) / (4))\n    end\n    repeat (3)\n        set size to (140) %\n        repeat (15)\n            change size by (((100) - (size)) / (3))\n        end\n        set size to (125) %\n        repeat (15)\n            change size by (((100) - (size)) / (3))\n        end\n    end\n    set size to (148) %\n    repeat (15)\n        change size by (((100) - (size)) / (3))\n    end\n    wait (3.5) seconds\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone) = [8]> then\n    go to x: (-80) y: (0)\n    switch costume to (ぱーと v)\n    set size to (60) %\n    point in direction (90)\n    show\n    repeat (9)\n        next costume\n    end\n    hide\n    delete this clone\nend\nif <(clone) = [9]> then\n    go to x: (80) y: (0)\n    switch costume to (ぱーと v)\n    set size to (60) %\n    point in direction (90)\n    show\n    repeat (9)\n        next costume\n    end\n    hide\n    delete this clone\nend\nif <(clone) = [10]> then\n    go to x: (0) y: (-80)\n    switch costume to (ぱーと v)\n    set size to (60) %\n    point in direction (0)\n    show\n    repeat (9)\n        next costume\n    end\n    hide\n    delete this clone\nend\nif <(clone) = [11]> then\n    go to x: (0) y: (80)\n    switch costume to (ぱーと v)\n    set size to (60) %\n    point in direction (0)\n    show\n    repeat (9)\n        next costume\n    end\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nif <(clone) = [12]> then\n    go to x: (50) y: (-65)\n    switch costume to (ぱーと v)\n    set size to (60) %\n    point in direction (-45)\n    show\n    repeat (9)\n        next costume\n    end\n    hide\n    delete this clone\nend\nif <(clone) = [13]> then\n    go to x: (50) y: (65)\n    switch costume to (ぱーと v)\n    set size to (60) %\n    point in direction (45)\n    show\n    repeat (9)\n        next costume\n    end\n    hide\n    delete this clone\nend\nif <(clone) = [14]> then\n    go to x: (-50) y: (65)\n    switch costume to (ぱーと v)\n    set size to (60) %\n    point in direction (135)\n    show\n    repeat (9)\n        next costume\n    end\n    hide\n    delete this clone\nend\nif <(clone) = [15]> then\n    go to x: (-50) y: (-65)\n    switch costume to (ぱーと v)\n    set size to (60) %\n    point in direction (-135)\n    show\n    repeat (9)\n        next costume\n    end\n    hide\n    delete this clone\nend\n\nwhen I receive [エフェクト2 v]\nset [clone v] to [8]\ncreate clone of (_myself_ v)\nset [clone v] to [9]\ncreate clone of (_myself_ v)\nset [clone v] to [10]\ncreate clone of (_myself_ v)\nset [clone v] to [11]\ncreate clone of (_myself_ v)\nset [clone v] to [12]\ncreate clone of (_myself_ v)\nset [clone v] to [13]\ncreate clone of (_myself_ v)\nset [clone v] to [14]\ncreate clone of (_myself_ v)\nset [clone v] to [15]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(clone) = [16]> then\n    go to x: (0) y: (0)\n    switch costume to (回るやつ v)\n    set size to (100) %\n    show\n    go to [front v] layer\n    go [backward v] (2) layers\n    repeat (14)\n        wait (0.02) seconds\n        repeat (5)\n            turn right (10) degrees\n        end\n        repeat (3)\n            turn right (8) degrees\n        end\n        repeat (3)\n            turn right (5) degrees\n        end\n        repeat (3)\n            turn right (2) degrees\n        end\n    end\n    hide\n    delete this clone\nend\n\n