Simple PLATFORMER2 #game #platformer　
@Stage\n\nwhen flag clicked\nhide variable [level v]\nhide variable [time v]\nswitch backdrop to (背景3 v)\n\nwhen I receive [start v]\nswitch backdrop to (背景3 v)\n\nwhen I receive [start:easy v]\nswitch backdrop to (カッコいい？系　四角背景 v)\n\nwhen I receive [ゴール v]\nswitch backdrop to (背景3 v)\n\nwhen I receive [start:nomal v]\nswitch backdrop to (背景1 v)\n\nwhen I receive [start:difficult v]\nswitch backdrop to (背景2 v)\n\n@プラットフォーマー\n\nwhen I receive [次 v]\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\ngo to x: (-210) y: (-50)\n\nwhen I start as a clone\nclear graphic effects\nset size to (100) %\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-10)\nend\ndelete this clone\n\nwhen flag clicked\n最初\n\ndefine ヒップドロップ\nrepeat until <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>>\n    if <<[-166] > (y position)> or <touching (障害物 v)?>> then\n        hide\n        set rotation style [left-right v]\n        set [x v] to [0]\n        set [y v] to [0]\n        if <(隠す) = [0]> then\n            broadcast (1 v)\n        else\n            stop [this script v]\n        end\n        stop [this script v]\n    end\n    change [y v] by (-2)\n    change y by (y)\nend\nif <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n    change y by ((0) - (y))\n    set [x v] to [0]\n    set [y v] to [0]\n    set rotation style [left-right v]\nend\n\nwhen I receive [1 v]\nset [隠す v] to [1]\nplay sound [Cymbal v] until done\ngo to x: (-210) y: (-60)\nset [x v] to [0]\nset [y v] to [0]\nset [隠す v] to [0]\nshow\n\nwhen I receive [終わり v]\nstop [other scripts in sprite v]\nhide\n\ndefine 最初\ngo to [back v] layer\nshow\nset rotation style [left-right v]\npoint in direction (90)\nset size to (100) %\nset [最初 v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nset [状態 v] to [0]\nset [最初：方向 v] to [右]\nswitch costume to (1 v)\nshow\ngo to x: (-210) y: (-50)\nforever\n    if <(最初) = [0]> then\n        set [最初：乱数1 v] to (pick random (1) to (30))\n        set [最初：乱数2 v] to (pick random (1) to (20))\n        if <(最初：方向) = [右]> then\n            if <(最初：乱数2) = [1]> then\n                change [x v] by (2.0)\n                point in direction (-90)\n                create clone of (_myself_ v)\n            else\n                change [x v] by (1.3)\n                point in direction (-90)\n                create clone of (_myself_ v)\n            end\n            if <[230] < (x position)> then\n                set [最初：方向 v] to [左]\n            end\n        else\n            if <(最初：乱数2) = [1]> then\n                change [x v] by (-2.0)\n                point in direction (-90)\n                create clone of (_myself_ v)\n            else\n                change [x v] by (-1.3)\n                point in direction (90)\n                create clone of (_myself_ v)\n            end\n            if <(x position) < [-230]> then\n                set [最初：方向 v] to [右]\n            end\n        end\n        set [x v] to ((x) * (0.9))\n        change x by (x)\n        if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n            change y by (1)\n            if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n                change y by (1)\n                if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n                    change y by (1)\n                    if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n                        change y by (1)\n                        if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n                            change y by (1)\n                        end\n                        if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                        end\n                    end\n                end\n            end\n        end\n        if <(y position) < [-95]> then\n            if <(最初：乱数1) = [1]> then\n                set [y v] to [13]\n            end\n        end\n        change y by (-1)\n        change y by (1)\n        change [y v] by (-1)\n        change y by (y)\n        if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n            change y by ((0) - (y))\n            set [y v] to [0]\n        end\n    else\n        stop [this script v]\n    end\nend\n\ndefine 基本操作\ngo to x: (-210) y: (-50)\nset [隠す v] to [0]\nset [ヒップドロップ v] to [1]\nset rotation style [left-right v]\npoint in direction (90)\nset size to (100) %\nset [状態 v] to [0]\nswitch costume to (1 v)\nshow\nforever\n    if <<[-166] > (y position)> or <touching (障害物 v)?>> then\n        go to x: (-210) y: (-60)\n        set [x v] to [0]\n        set [y v] to [0]\n        start sound [sword-clash1 v]\n    end\n    if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<(mouse x) < [-1]> and <mouse down?>>>> then\n        if <key (space v) pressed?> then\n            change [x v] by (-1.3)\n            point in direction (-90)\n            create clone of (_myself_ v)\n        else\n            change [x v] by (-1)\n            point in direction (-90)\n            create clone of (_myself_ v)\n        end\n    end\n    if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<(mouse x) > [1]> and <mouse down?>>>> then\n        if <key (space v) pressed?> then\n            change [x v] by (1.3)\n            point in direction (-90)\n            create clone of (_myself_ v)\n        else\n            change [x v] by (1)\n            point in direction (-90)\n            create clone of (_myself_ v)\n        end\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n        change y by (1)\n        if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n            change y by (1)\n            if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n                change y by (1)\n                if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n                    change y by (1)\n                    if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n                        change y by (1)\n                    end\n                    if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n                        change x by ((x) * (-1))\n                        change y by (-5)\n                        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<(mouse y) > [50]> and <mouse down?>>>> then\n                            if <(x) > [0]> then\n                                set [x v] to [-7]\n                            else\n                                set [x v] to [7]\n                            end\n                            set [y v] to [13]\n                        else\n                            set [x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n        if <<<key (up arrow v) pressed?> and <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>>> or <<<key (w v) pressed?> and <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>>> or <<mouse down?> and <<<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> and <(mouse y) > [50]>>>>> then\n            set [y v] to [14]\n            create clone of (_myself_ v)\n            start sound [suck1 v]\n        end\n        if <<key (s v) pressed?> or <<key (down arrow v) pressed?> or <<[-50] > (mouse y)> and <mouse down?>>>> then\n            broadcast (Crouch v)\n            if <not <touching (ブロック v)?>> then\n                switch costume to (2 v)\n            end\n            if <[-166] > (y position)> then\n                go to x: (-210) y: (-50)\n            end\n        else\n            switch costume to (1 v)\n        end\n    end\n    if <not <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>>> then\n        if <<key (s v) pressed?> or <<key (down arrow v) pressed?> or <<[-50] > (mouse y)> and <mouse down?>>>> then\n            set [ヒップドロップ v] to [0]\n            wait (0.00001) seconds\n            ヒップドロップ\n            set [ヒップドロップ v] to [1]\n            wait until <(ヒップドロップ) = [1]>\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <<<touching (地面 v)?> or <touching (隠しブロック2 v)?>> or <touching (ブロック v)?>> then\n        change y by ((0) - (y))\n        set [y v] to [0]\n    end\n    if <[220] < (x position)> then\n        broadcast (next v)\n        wait (1) seconds\n    end\nend\n\nwhen I receive [start:difficult v]\nwait (0.1) seconds\ngo to x: (-210) y: (-50)\nset [x v] to [0]\nset [y v] to [0]\n基本操作\n\nwhen I receive [start:easy v]\nwait (0.1) seconds\ngo to x: (-210) y: (-50)\nset [x v] to [0]\nset [y v] to [0]\n基本操作\n\nwhen I receive [start:nomal v]\nwait (0.1) seconds\ngo to x: (-210) y: (-50)\nset [x v] to [0]\nset [y v] to [0]\n基本操作\n\nwhen I receive [ホーム v]\nstop [other scripts in sprite v]\n最初\n\n@地面\n\nwhen flag clicked\nset [stage v] to [0]\nshow\nswitch costume to (13 v)\ngo to x: (0) y: (0)\n\nwhen I receive [next v]\nwait (0.5) seconds\nchange [stage v] by (1)\nnext costume\nif <(level) = [nomal]> then\n    if <(Stage) = [10]> then\n        broadcast (隠しブロック表示 v)\n    end\n    if <(Stage) = [11]> then\n        broadcast (ブロック v)\n    end\n    if <(Stage) = [13]> then\n        broadcast (ゴール v)\n    end\nend\nif <(level) = [easy]> then\n    if <(Stage) = [23]> then\n        broadcast (ゴール v)\n    end\nend\nif <(level) = [difficult]> then\n    if <(Stage) = [27]> then\n        broadcast (ブロック2 v)\n    end\n    if <(Stage) = [31]> then\n        broadcast (コース：隠す v)\n    else\n        clear graphic effects\n    end\n    if <(Stage) = [32]> then\n        broadcast (ゴール v)\n    end\nend\n\nwhen I receive [start:nomal v]\nclear graphic effects\nset [stage v] to [1]\nswitch costume to (1 v)\ngo to x: (0) y: (0)\ngo [backward v] (1) layers\ngo to [back v] layer\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\nclear graphic effects\nset [stage v] to [0]\nshow\nswitch costume to (13 v)\ngo to x: (0) y: (0)\n\nwhen I receive [start:easy v]\nclear graphic effects\nset [stage v] to [13]\nswitch costume to (13 v)\ngo to x: (0) y: (0)\ngo [backward v] (1) layers\ngo to [back v] layer\n\nwhen I receive [start:difficult v]\nclear graphic effects\nset [stage v] to [23]\nswitch costume to (23 v)\ngo to x: (0) y: (0)\ngo [backward v] (1) layers\ngo to [back v] layer\n\nwhen I receive [コース：隠す v]\nset [ghost v] effect to (100)\n\n@障害物\n\nwhen flag clicked\nhide\n\nwhen I receive [start:nomal v]\nclear graphic effects\nset [stage v] to [1]\nshow\ngo to x: (0) y: (0)\ngo [backward v] (1) layers\ngo to [back v] layer\nforever\n    switch costume to (Stage)\nend\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [start:easy v]\nclear graphic effects\nset [stage v] to [13]\nshow\ngo to x: (0) y: (0)\ngo [backward v] (1) layers\ngo to [back v] layer\nforever\n    switch costume to (Stage)\nend\n\nwhen I receive [start:difficult v]\nclear graphic effects\npoint in direction (90)\nset [stage v] to [23]\nshow\ngo to x: (0) y: (0)\ngo [backward v] (1) layers\ngo to [back v] layer\nforever\n    switch costume to (Stage)\n    if <(Stage) = [28]> then\n        障害物　移動\n    else\n        point in direction (90)\n    end\n    if <<(Stage) = [30]> or <(Stage) = [31]>> then\n        障害物：隠す\n    else\n        clear graphic effects\n    end\nend\n\ndefine 障害物　移動\nswitch costume to (28 v)\nturn right (1) degrees\n\ndefine 障害物：隠す\nset [ghost v] effect to (100)\n\n@サムネ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\ngo to [front v] layer\nforever\n    go to [front v] layer\nend\n\n@next\n\nwhen I receive [next v]\ngo to [front v] layer\nshow\ngo to x: (600) y: (0)\nglide (0.4) secs to x: (0) y: (0)\nbroadcast (次 v)\nwait (0.15) seconds\nglide (0.5) secs to x: (-591) y: (0)\nhide\n\nwhen flag clicked\nhide\n\n@隠しブロック\n\nwhen flag clicked\nhide\n\nwhen I receive [隠しブロック表示 v]\nswitch costume to (コスチューム2 v)\nforever\n    if <touching (プラットフォーマー v)?> then\n        broadcast (隠しブロック表示2 v)\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [start:nomal v]\nshow\nswitch costume to (コスチューム1 v)\ngo to x: (0) y: (0)\n\n@隠しブロック2\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [隠しブロック表示2 v]\nshow\nswitch costume to (コスチューム3 \(5\) v)\n\nwhen I receive [next v]\nhide\n\n@ブロック\n\nwhen flag clicked\nhide\n\nwhen I receive [ブロック v]\ngo to x: (0) y: (0)\nshow\nswitch costume to (11 v)\nforever\n    if <(ヒップドロップ) = [0]> then\n        wait until <(ヒップドロップ) = [1]>\n        if <<<([x position v] of [プラットフォーマー v]) < [-76]> and <[-100] < ([x position v] of [プラットフォーマー v])>> and <<([y position v] of [プラットフォーマー v]) < [-30]> and <[-120] < ([y position v] of [プラットフォーマー v])>>> then\n            play sound [Drum Boing v] until done\n            hide\n            stop [this script v]\n        end\n    end\nend\n\nwhen I receive [ブロック2 v]\nhide\nset [クローン数 v] to [0]\nrepeat (9)\n    change [クローン数 v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [front v] layer\nswitch costume to (11 v)\nshow\nif <(クローン数) = [1]> then\n    go to x: (-30) y: (240)\n    forever\n        if <(ヒップドロップ) = [0]> then\n            wait until <(ヒップドロップ) = [1]>\n            if <<<([x position v] of [プラットフォーマー v]) < [-85]> and <[-140] < ([x position v] of [プラットフォーマー v])>> and <([y position v] of [プラットフォーマー v]) < [125]>> then\n                play sound [Drum Boing v] until done\n                delete this clone\n            end\n        end\n    end\nend\nif <(クローン数) = [2]> then\n    go to x: (-30) y: (216)\n    forever\n        if <(ヒップドロップ) = [0]> then\n            wait until <(ヒップドロップ) = [1]>\n            if <<<([x position v] of [プラットフォーマー v]) < [-85]> and <[-140] < ([x position v] of [プラットフォーマー v])>> and <([y position v] of [プラットフォーマー v]) < [101]>> then\n                play sound [Drum Boing v] until done\n                delete this clone\n            end\n        end\n    end\nend\nif <(クローン数) = [3]> then\n    go to x: (-30) y: (192)\n    forever\n        if <(ヒップドロップ) = [0]> then\n            wait until <(ヒップドロップ) = [1]>\n            if <<<([x position v] of [プラットフォーマー v]) < [-85]> and <[-140] < ([x position v] of [プラットフォーマー v])>> and <([y position v] of [プラットフォーマー v]) < [77]>> then\n                play sound [Drum Boing v] until done\n                delete this clone\n            end\n        end\n    end\nend\nif <(クローン数) = [4]> then\n    go to x: (-30) y: (168)\n    forever\n        if <(ヒップドロップ) = [0]> then\n            wait until <(ヒップドロップ) = [1]>\n            if <<<([x position v] of [プラットフォーマー v]) < [-85]> and <[-140] < ([x position v] of [プラットフォーマー v])>> and <([y position v] of [プラットフォーマー v]) < [53]>> then\n                play sound [Drum Boing v] until done\n                delete this clone\n            end\n        end\n    end\nend\nif <(クローン数) = [5]> then\n    go to x: (-30) y: (144)\n    forever\n        if <(ヒップドロップ) = [0]> then\n            wait until <(ヒップドロップ) = [1]>\n            if <<<([x position v] of [プラットフォーマー v]) < [-85]> and <[-140] < ([x position v] of [プラットフォーマー v])>> and <([y position v] of [プラットフォーマー v]) < [29]>> then\n                play sound [Drum Boing v] until done\n                delete this clone\n            end\n        end\n    end\nend\nif <(クローン数) = [6]> then\n    go to x: (-30) y: (120)\n    forever\n        if <(ヒップドロップ) = [0]> then\n            wait until <(ヒップドロップ) = [1]>\n            if <<<([x position v] of [プラットフォーマー v]) < [-85]> and <[-140] < ([x position v] of [プラットフォーマー v])>> and <([y position v] of [プラットフォーマー v]) < [5]>> then\n                play sound [Drum Boing v] until done\n                delete this clone\n            end\n        end\n    end\nend\nif <(クローン数) = [7]> then\n    go to x: (-30) y: (96)\n    forever\n        if <(ヒップドロップ) = [0]> then\n            wait until <(ヒップドロップ) = [1]>\n            if <<<([x position v] of [プラットフォーマー v]) < [-85]> and <[-140] < ([x position v] of [プラットフォーマー v])>> and <([y position v] of [プラットフォーマー v]) < [-19]>> then\n                play sound [Drum Boing v] until done\n                delete this clone\n            end\n        end\n    end\nend\nif <(クローン数) = [8]> then\n    go to x: (-30) y: (72)\n    forever\n        if <(ヒップドロップ) = [0]> then\n            wait until <(ヒップドロップ) = [1]>\n            if <<<([x position v] of [プラットフォーマー v]) < [-85]> and <[-140] < ([x position v] of [プラットフォーマー v])>> and <([y position v] of [プラットフォーマー v]) < [-43]>> then\n                play sound [Drum Boing v] until done\n                delete this clone\n            end\n        end\n    end\nend\nif <(クローン数) = [9]> then\n    go to x: (-30) y: (48)\n    forever\n        if <(ヒップドロップ) = [0]> then\n            wait until <(ヒップドロップ) = [1]>\n            if <<<([x position v] of [プラットフォーマー v]) < [-85]> and <[-140] < ([x position v] of [プラットフォーマー v])>> and <([y position v] of [プラットフォーマー v]) < [-67]>> then\n                play sound [Drum Boing v] until done\n                delete this clone\n            end\n        end\n    end\nend\n\n@最初\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        if <mouse down?> then\n            broadcast (level選択 v)\n            hide\n            stop [this script v]\n        end\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [終わり v]\nbroadcast (記録表示 v)\n\nwhen I receive [ホーム v]\nshow\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (130) %\n        if <mouse down?> then\n            broadcast (level選択 v)\n            hide\n            stop [this script v]\n        end\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [start:difficult v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [start:easy v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [start:nomal v]\nstop [other scripts in sprite v]\nhide\n\n@level選択\n\nwhen flag clicked\nset [level v] to []\nset [クローン削除 v] to [0]\nset [クローン v] to [0]\nhide\n\nwhen I receive [level選択 v]\nset [クローン v] to [0]\nwait (0.1) seconds\nrepeat (3)\n    change [クローン v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nif <(クローン) = [1]> then\n    switch costume to (easy v)\n    go to x: (10) y: (41)\n    forever\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            set [最初 v] to [1]\n            set [クローン削除 v] to [1]\n            set [level v] to [easy]\n            broadcast (start:easy v)\n        end\n        if <(クローン削除) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(クローン) = [2]> then\n    switch costume to (nomal v)\n    go to x: (10) y: (-43)\n    forever\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            set [最初 v] to [1]\n            set [クローン削除 v] to [1]\n            set [level v] to [nomal]\n            broadcast (start:nomal v)\n        end\n        if <(クローン削除) = [1]> then\n            delete this clone\n        end\n    end\nend\nif <(クローン) = [3]> then\n    switch costume to (difficult v)\n    go to x: (10) y: (-125)\n    forever\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            set [最初 v] to [1]\n            set [クローン削除 v] to [1]\n            set [level v] to [difficult]\n            broadcast (start:difficult v)\n        end\n        if <(クローン削除) = [1]> then\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [ホーム v]\nset [level v] to []\nset [クローン削除 v] to [0]\nset [クローン v] to [0]\nhide\n\n@音\n\nwhen flag clicked\nforever\n    play sound [広がってく感じ v] until done\nend\n\nwhen I receive [start:difficult v]\nstop [other scripts in sprite v]\nforever\n    play sound [穏やかで人気ありそう  v] until done\nend\n\nwhen I receive [start:nomal v]\nstop [other scripts in sprite v]\nforever\n    play sound [Inferno \(1\) v] until done\nend\n\nwhen I receive [start:easy v]\nstop [other scripts in sprite v]\nforever\n    play sound [13002 v] until done\nend\n\nwhen I receive [ホーム v]\nstop [other scripts in sprite v]\nforever\n    play sound [広がってく感じ v] until done\nend\n\n@もう一回\n\nwhen flag clicked\nhide\ngo to x: (-115) y: (-100)\nset size to (150) %\ngo to [front v] layer\n\nwhen I receive [ボタン表示 v]\ngo to [front v] layer\nshow\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        if <(level) = [easy]> then\n            set [最初 v] to [1]\n            set [level v] to [easy]\n            broadcast (start:easy v)\n            hide\n            stop [this script v]\n        else\n            if <(level) = [nomal]> then\n                set [最初 v] to [1]\n                set [level v] to [nomal]\n                broadcast (start:nomal v)\n                hide\n                stop [this script v]\n            else\n                set [最初 v] to [1]\n                set [level v] to [difficult]\n                broadcast (start:difficult v)\n                hide\n                stop [this script v]\n            end\n        end\n    end\nend\n\nwhen I receive [ホーム v]\nhide\nstop [other scripts in sprite v]\n\n@ホーム\n\nwhen flag clicked\nhide\ngo to x: (115) y: (-100)\nset size to (150) %\ngo to [front v] layer\n\nwhen I receive [ボタン表示 v]\ngo to [front v] layer\nshow\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        broadcast (ホーム v)\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [start:nomal v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [start:easy v]\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [start:difficult v]\nstop [other scripts in sprite v]\nhide\n\n@変数隠す\n\nwhen [timer v] > (0.01)\n\nhide variable [time v]\nshow list [difficult:top10 v]\nshow list [difficult:top10time v]\nshow list [easy;top10time v]\nshow list [easy:top10 v]\nshow list [nomal:top10 v]\nshow list [nomal:top10time v]\nhide variable [1 v]\nhide variable [a v]\nhide variable [level v]\nhide variable [player death v]\nhide variable [stage v]\nhide variable [time v]\nhide variable [trans on or off v]\nhide variable [x v]\nhide variable [y v]\nhide variable [クローン削除 v]\nhide variable [ヒップドロップ v]\nhide variable [隠す v]\nhide variable [最初 v]\nhide variable [最初：方向 v]\nhide variable [最初：乱数1 v]\nhide variable [最初：乱数2 v]\n\nwhen flag clicked\nhide variable [time v]\nshow list [difficult:top10 v]\nshow list [difficult:top10time v]\nshow list [easy;top10time v]\nshow list [easy:top10 v]\nshow list [nomal:top10 v]\nshow list [nomal:top10time v]\nhide variable [1 v]\nhide variable [a v]\nhide variable [level v]\nhide variable [player death v]\nhide variable [stage v]\nhide variable [time v]\nhide variable [trans on or off v]\nhide variable [x v]\nhide variable [y v]\nhide variable [クローン削除 v]\nhide variable [ヒップドロップ v]\nhide variable [隠す v]\nhide variable [最初 v]\nhide variable [最初：方向 v]\nhide variable [最初：乱数1 v]\nhide variable [最初：乱数2 v]\n\n@タイマー3\n\ndefine easy リスト作成\n\nwhen flag clicked\nhide\n\nwhen I receive [ゴール v]\nstop [other scripts in sprite v]\nif <(level) = [easy]> then\n    broadcast (easy world v)\nelse\n    if <(level) = [nomal]> then\n        broadcast (終わり v)\n    else\n        broadcast (終わり v)\n    end\nend\n\neasy\n\nnomal\n\ndifficult\n\nwhen I receive [start:nomal v]\n基本\n\ndefine 基本\nwait (0.1) seconds\nhide\nset [time v] to [0]\nshow variable [time v]\nwait until <<<<<key (w v) pressed?> or <key (a v) pressed?>> or <key (s v) pressed?>> or <key (d v) pressed?>> or <<<key (right arrow v) pressed?> or <<(mouse x) > [1]> and <mouse down?>>> or <<<key (left arrow v) pressed?> or <<(mouse x) < [-1]> and <mouse down?>>> or <<<key (up arrow v) pressed?> or <<(mouse y) > [50]> and <mouse down?>>> or <<<key (down arrow v) pressed?> or <<[-50] > (mouse y)> and <mouse down?>>> or <<<key (up arrow v) pressed?> and <touching (地面 v)?>> or <<mouse down?> and <<touching (地面 v)?> and <(mouse y) > [50]>>>>>>>>>\nreset timer\nforever\n    set [time v] to (timer)\nend\n\nwhen I receive [start:easy v]\n基本\n\nwhen I receive [start:difficult v]\n基本\n\nwhen I receive [記録表示 v]\nwait (0.5) seconds\nif <(level) = [easy]> then\n    hide list [easy:top10 v]\nelse\n    if <(level) = [nomal]> then\n    else\n    end\nend\nbroadcast (ボタン表示 v)\n\nhide list [nomal:top10 v]\n\nhide list [difficult:top10 v]\n\ndefine easy\n\nbroadcast (終わり v)\nstop [this script v]\n\ndefine nomal\nif <(Time) < (item (10) of [nomal:top10time v])> then\n    if <(Time) < (item (9) of [nomal:top10time v])> then\n        if <(Time) < (item (8) of [nomal:top10time v])> then\n            if <(Time) < (item (7) of [nomal:top10time v])> then\n                if <(Time) < (item (6) of [nomal:top10time v])> then\n                    if <(Time) < (item (5) of [nomal:top10time v])> then\n                        if <(Time) < (item (4) of [nomal:top10time v])> then\n                            if <(Time) < (item (3) of [nomal:top10time v])> then\n                                if <(Time) < (item (2) of [nomal:top10time v])> then\n                                    if <(Time) < (item (1) of [nomal:top10time v])> then\n                                        insert (Time) at (1) of [nomal:top10time v] \n                                        insert (Time) at (1) of [nomal:top10 v] \n                                        delete (11) of [nomal:top10time v]\n                                        delete (11) of [nomal:top10 v]\n                                        broadcast (終わり v)\n                                        stop [this script v]\n                                    else\n                                        insert (Time) at (2) of [nomal:top10time v] \n                                        insert (Time) at (2) of [nomal:top10 v] \n                                        delete (11) of [nomal:top10time v]\n                                        delete (11) of [nomal:top10 v]\n                                        broadcast (終わり v)\n                                        stop [this script v]\n                                    end\n                                else\n                                    insert (Time) at (3) of [nomal:top10time v] \n                                    insert (Time) at (3) of [nomal:top10 v] \n                                    delete (11) of [nomal:top10time v]\n                                    delete (11) of [nomal:top10 v]\n                                    broadcast (終わり v)\n                                    stop [this script v]\n                                end\n                            else\n                                insert (Time) at (4) of [nomal:top10time v] \n                                insert (Time) at (4) of [nomal:top10 v] \n                                delete (11) of [nomal:top10time v]\n                                delete (11) of [nomal:top10 v]\n                                broadcast (終わり v)\n                                stop [this script v]\n                            end\n                        else\n                            insert (Time) at (5) of [nomal:top10time v] \n                            insert (Time) at (5) of [nomal:top10 v] \n                            delete (11) of [nomal:top10time v]\n                            delete (11) of [nomal:top10 v]\n                            broadcast (終わり v)\n                            stop [this script v]\n                        end\n                    else\n                        insert (Time) at (6) of [nomal:top10time v] \n                        insert (Time) at (6) of [nomal:top10 v] \n                        delete (11) of [nomal:top10time v]\n                        delete (11) of [nomal:top10 v]\n                        broadcast (終わり v)\n                        stop [this script v]\n                    end\n                else\n                    insert (Time) at (7) of [nomal:top10time v] \n                    insert (Time) at (7) of [nomal:top10 v] \n                    delete (11) of [nomal:top10time v]\n                    delete (11) of [nomal:top10 v]\n                    broadcast (終わり v)\n                    stop [this script v]\n                end\n            else\n                insert (Time) at (8) of [nomal:top10time v] \n                insert (Time) at (8) of [nomal:top10 v] \n                delete (11) of [nomal:top10time v]\n                delete (11) of [nomal:top10 v]\n                broadcast (終わり v)\n                stop [this script v]\n            end\n        else\n            insert (Time) at (9) of [nomal:top10time v] \n            insert (Time) at (9) of [nomal:top10 v] \n            delete (11) of [nomal:top10time v]\n            delete (11) of [nomal:top10 v]\n            broadcast (終わり v)\n            stop [this script v]\n        end\n    else\n        replace item (10) of [nomal:top10time v] with (Time)\n        replace item (10) of [nomal:top10 v] with (Time)\n        broadcast (終わり v)\n        stop [this script v]\n    end\nelse\n    broadcast (終わり v)\n    stop [this script v]\nend\n\ndefine difficult\nif <(Time) < (item (10) of [difficult:top10time v])> then\n    if <(Time) < (item (9) of [difficult:top10time v])> then\n        if <(Time) < (item (8) of [difficult:top10time v])> then\n            if <(Time) < (item (7) of [difficult:top10time v])> then\n                if <(Time) < (item (6) of [difficult:top10time v])> then\n                    if <(Time) < (item (5) of [difficult:top10time v])> then\n                        if <(Time) < (item (4) of [difficult:top10time v])> then\n                            if <(Time) < (item (3) of [difficult:top10time v])> then\n                                if <(Time) < (item (2) of [difficult:top10time v])> then\n                                    if <(Time) < (item (1) of [difficult:top10time v])> then\n                                        insert (Time) at (1) of [difficult:top10time v] \n                                        insert (Time) at (1) of [difficult:top10 v] \n                                        delete (11) of [difficult:top10time v]\n                                        delete (11) of [difficult:top10 v]\n                                        broadcast (終わり v)\n                                        stop [this script v]\n                                    else\n                                        insert (Time) at (2) of [difficult:top10time v] \n                                        insert (Time) at (2) of [difficult:top10 v] \n                                        delete (11) of [difficult:top10time v]\n                                        delete (11) of [difficult:top10 v]\n                                        broadcast (終わり v)\n                                        stop [this script v]\n                                    end\n                                else\n                                    insert (Time) at (3) of [difficult:top10time v] \n                                    insert (Time) at (3) of [difficult:top10 v] \n                                    delete (11) of [difficult:top10time v]\n                                    delete (11) of [difficult:top10 v]\n                                    broadcast (終わり v)\n                                    stop [this script v]\n                                end\n                            else\n                                insert (Time) at (4) of [difficult:top10time v] \n                                insert (Time) at (4) of [difficult:top10 v] \n                                delete (11) of [difficult:top10time v]\n                                delete (11) of [difficult:top10 v]\n                                broadcast (終わり v)\n                                stop [this script v]\n                            end\n                        else\n                            insert (Time) at (5) of [difficult:top10time v] \n                            insert (Time) at (5) of [difficult:top10 v] \n                            delete (11) of [difficult:top10time v]\n                            delete (11) of [difficult:top10 v]\n                            broadcast (終わり v)\n                            stop [this script v]\n                        end\n                    else\n                        insert (Time) at (6) of [difficult:top10time v] \n                        insert (Time) at (6) of [difficult:top10 v] \n                        delete (11) of [difficult:top10time v]\n                        delete (11) of [difficult:top10 v]\n                        broadcast (終わり v)\n                        stop [this script v]\n                    end\n                else\n                    insert (Time) at (7) of [difficult:top10time v] \n                    insert (Time) at (7) of [difficult:top10 v] \n                    delete (11) of [difficult:top10time v]\n                    delete (11) of [difficult:top10 v]\n                    broadcast (終わり v)\n                    stop [this script v]\n                end\n            else\n                insert (Time) at (8) of [difficult:top10time v] \n                insert (Time) at (8) of [difficult:top10 v] \n                delete (11) of [difficult:top10time v]\n                delete (11) of [difficult:top10 v]\n                broadcast (終わり v)\n                stop [this script v]\n            end\n        else\n            insert (Time) at (9) of [difficult:top10time v] \n            insert (Time) at (9) of [difficult:top10 v] \n            delete (11) of [difficult:top10time v]\n            delete (11) of [difficult:top10 v]\n            broadcast (終わり v)\n            stop [this script v]\n        end\n    else\n        replace item (10) of [difficult:top10time v] with (Time)\n        replace item (10) of [difficult:top10 v] with (Time)\n        broadcast (終わり v)\n        stop [this script v]\n    end\nelse\n    broadcast (終わり v)\n    stop [this script v]\nend\n\nwhen I receive [ホーム v]\nshow list [easy:top10 v]\nshow list [nomal:top10 v]\nshow list [difficult:top10 v]\nhide variable [time v]\n\nwhen I receive [start:difficult v]\nshow list [easy:top10 v]\nshow list [nomal:top10 v]\nshow list [difficult:top10 v]\n\nwhen I receive [start:easy v]\nshow list [easy:top10 v]\nshow list [nomal:top10 v]\nshow list [difficult:top10 v]\n\nwhen I receive [start:nomal v]\nshow list [easy:top10 v]\nshow list [nomal:top10 v]\nshow list [difficult:top10 v]\n\neasy リスト作成\n\ndefine easyリスト作成2\ndelete all of [easy:top10 v]\ninsert (☁ 1) at (1) of [easy:top10 v] \ninsert (☁ 2) at (2) of [easy:top10 v] \ninsert (☁ 3) at (3) of [easy:top10 v] \ninsert (☁ 4) at (4) of [easy:top10 v] \ninsert (☁ 5) at (5) of [easy:top10 v] \ninsert (☁ 6) at (6) of [easy:top10 v] \ninsert (☁ 7) at (7) of [easy:top10 v] \ninsert (☁ 8) at (8) of [easy:top10 v] \ninsert (☁ 9) at (9) of [easy:top10 v] \ninsert (☁ 10) at (10) of [easy:top10 v] \n\neasy リスト作成\n\neasy リスト作成\n\nwhen [0 v] key pressed\nshow variable [☁ 1 v]\nshow variable [☁ 2 v]\nshow variable [☁ 3 v]\nshow variable [☁ 4 v]\nshow variable [☁ 5 v]\nshow variable [☁ 6 v]\nshow variable [☁ 7 v]\nshow variable [☁ 8 v]\nshow variable [☁ 9 v]\nshow variable [☁ 10 v]\n\nwhen [1 v] key pressed\nhide variable [☁ 1 v]\nhide variable [☁ 2 v]\nhide variable [☁ 3 v]\nhide variable [☁ 4 v]\nhide variable [☁ 5 v]\nhide variable [☁ 6 v]\nhide variable [☁ 7 v]\nhide variable [☁ 8 v]\nhide variable [☁ 9 v]\nhide variable [☁ 10 v]\n\nwhen flag clicked\neasyリスト作成2\nhide variable [☁ 1 v]\nhide variable [☁ 2 v]\nhide variable [☁ 3 v]\nhide variable [☁ 4 v]\nhide variable [☁ 5 v]\nhide variable [☁ 6 v]\nhide variable [☁ 7 v]\nhide variable [☁ 8 v]\nhide variable [☁ 9 v]\nhide variable [☁ 10 v]\n\neasy リスト作成\nbroadcast (終わり v)\nstop [this script v]\n\neasy リスト作成\nbroadcast (終わり v)\nstop [this script v]\n\neasy リスト作成\neasy リスト作成\nbroadcast (終わり v)\nstop [this script v]\n\nbroadcast (終わり v)\nstop [this script v]\n\neasy リスト作成\nbroadcast (終わり v)\nstop [this script v]\n\neasy リスト作成\nbroadcast (終わり v)\nstop [this script v]\n\neasy リスト作成\nbroadcast (終わり v)\nstop [this script v]\n\nwhen I receive [easy world v]\nif <(Time) < (☁ 10)> then\n    if <(Time) < (☁ 9)> then\n        if <(Time) < (☁ 8)> then\n            if <(Time) < (☁ 7)> then\n                if <(Time) < (☁ 6)> then\n                    if <(Time) < (☁ 5)> then\n                        if <(Time) < (☁ 4)> then\n                            if <(Time) < (☁ 3)> then\n                                if <(Time) < (☁ 2)> then\n                                    if <(Time) < (☁ 1)> then\n                                        insert (Time) at (1) of [easy:top10 v] \n                                        delete (11) of [easy:top10 v]\n                                        broadcast (easyリスト作成 v)\n                                        broadcast (終わり v)\n                                        stop [this script v]\n                                    else\n                                        insert (Time) at (2) of [easy:top10 v] \n                                        delete (11) of [easy:top10 v]\n                                        broadcast (easyリスト作成 v)\n                                        broadcast (終わり v)\n                                        stop [this script v]\n                                    end\n                                else\n                                    insert (Time) at (3) of [easy:top10 v] \n                                    delete (11) of [easy:top10 v]\n                                    broadcast (easyリスト作成 v)\n                                    broadcast (終わり v)\n                                    stop [this script v]\n                                end\n                            else\n                                insert (Time) at (4) of [easy:top10 v] \n                                delete (11) of [easy:top10 v]\n                                broadcast (easyリスト作成 v)\n                                broadcast (終わり v)\n                                stop [this script v]\n                            end\n                        else\n                            insert (Time) at (5) of [easy:top10 v] \n                            delete (11) of [easy:top10 v]\n                            broadcast (easyリスト作成 v)\n                            broadcast (終わり v)\n                            stop [this script v]\n                        end\n                    else\n                        insert (Time) at (6) of [easy:top10 v] \n                        delete (11) of [easy:top10 v]\n                        broadcast (easyリスト作成 v)\n                        broadcast (終わり v)\n                        stop [this script v]\n                    end\n                else\n                    insert (Time) at (7) of [easy:top10 v] \n                    delete (11) of [easy:top10 v]\n                    broadcast (easyリスト作成 v)\n                    broadcast (終わり v)\n                    stop [this script v]\n                end\n            else\n                insert (Time) at (8) of [easy:top10 v] \n                delete (11) of [easy:top10 v]\n                broadcast (easyリスト作成 v)\n                wait (0.1) seconds\n                broadcast (終わり v)\n                stop [this script v]\n            end\n        else\n            insert (Time) at (9) of [easy:top10 v] \n            delete (11) of [easy:top10 v]\n            broadcast (easyリスト作成 v)\n            wait (0.1) seconds\n            broadcast (終わり v)\n            stop [this script v]\n        end\n    else\n        insert (Time) at (10) of [easy:top10 v] \n        delete (11) of [easy:top10 v]\n        broadcast (easyリスト作成 v)\n        wait (0.1) seconds\n        broadcast (終わり v)\n        stop [this script v]\n    end\nelse\n    broadcast (easyリスト作成 v)\n    broadcast (終わり v)\n    stop [this script v]\nend\n\nset [☁ 10 v] to [60.23]\n\nwhen I receive [easyリスト作成 v]\nset [☁ 1 v] to (item (1) of [easy:top10 v])\nset [☁ 2 v] to (item (2) of [easy:top10 v])\nset [☁ 3 v] to (item (3) of [easy:top10 v])\nset [☁ 4 v] to (item (4) of [easy:top10 v])\nset [☁ 5 v] to (item (5) of [easy:top10 v])\nset [☁ 6 v] to (item (6) of [easy:top10 v])\nset [☁ 7 v] to (item (7) of [easy:top10 v])\nset [☁ 8 v] to (item (8) of [easy:top10 v])\nset [☁ 9 v] to (item (9) of [easy:top10 v])\nset [☁ 10 v] to (item (10) of [easy:top10 v])\n\n@スプライト1\n\nwhen flag clicked\n\nwhen backdrop switches to [カッコいい？系　四角背景 v]\n\n
【日本語は下】\nVolume 30% recommended.\n If you find it interesting, please give me stars and hearts!\n[Method of operation]\n・Basic operations are WASD or arrow keys\n(Press the down key or S key to crouch.)\n・ (Right Arrow or D) + Spacebar to accelerate\n・ (Left arrow or S) + space key to accelerate\n・Hip drop with down key in the air?\n                             (descends at high speed)\n※Due to the design of the course, there are some courses where you cannot move forward unless you jump or do a hip drop. Also, please be aware that there are some courses where you cannot see obstacles or the course itself.\n-------------------------------------------------------------------------\n音量30％程度推奨。\n面白かったら星とハートお願いします！\n[操作方法]\n　・基本操作はWASDまたは矢印キー\n(下キーまたはSキーでしゃがむ。)\n・(右矢印またはD)+スペースキーで加速\n・(左矢印またはS)+スペースキーで加速\n・空中で下キーでヒップドロップ？\n                             (高速で下に降りる)\n※コースの設計上、ジャンプをしないと道ができなかったり、ヒップドロップをしないと先に進めないコースがあります。又、障害物、コース自体が見えないコースもあるのでご注意ください。\n\n