過去最高クオリティー!探検プラットフォーマー EXPLORATION PLATFORMER
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\nforever\n    play sound [Alan Walker, K-391, Tungevaag, Mangoo - Play \[Xaf Remix\] v] until done\nend\n\n@プレイヤー\n\nwhen I start as a clone\nif <(timer) < [0.1]> then\n    switch costume to (黒 v)\n    forever\n        go to [front v] layer\n        go to (プレイヤー v)\n        point in direction ([direction v] of [プレイヤー v])\n        hide\n        if <(持ち物) = [かぎ]> then\n            switch costume to (かぎ v)\n            show\n        end\n        if <<(item (4) of [能力 v]) = [銃]> and <(選択) = [4]>> then\n            switch costume to (銃 v)\n            show\n        end\n    end\nelse\n    go to [back v] layer\n    if <(重力) = [0]> then\n        switch costume to (黒 v)\n    else\n        switch costume to (逆黒 v)\n    end\n    repeat (8)\n        change size by (-8)\n        change [ghost v] effect by (12.5)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nset [time v] to [0]\nreset timer\ncreate clone of (_myself_ v)\nset [重力 v] to [0]\nswitch costume to (通常 v)\nshow\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-219) y: (0)\nset [stage v] to [1]\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\n    create clone of (_myself_ v)\n    if <(重力) = [0]> then\n        switch costume to (通常 v)\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n            point in direction (90)\n            change [x v] by (1.5)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            point in direction (-90)\n            change [x v] by (-1.5)\n        end\n        set [x v] to ((x) * (0.85))\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 x by ((x) * (-1))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                                    if <(x) > [0]> then\n                                        set [x v] to [-15]\n                                    else\n                                        set [x v] to [15]\n                                    end\n                                    set [y v] to [14.5]\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [y v] by (-1)\n        change y by (y)\n        if <touching (ステージ v)?> then\n            change y by ((y) * (-1))\n            set [y v] to [0]\n        end\n        change y by (-1)\n        if <<touching (ステージ v)?> and <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n            start sound [jump01 v]\n            if <<(item (3) of [能力 v]) = [ジャンプ]> and <(選択) = [3]>> then\n                change [y v] by (20)\n            else\n                change [y v] by (14)\n            end\n        end\n        change y by (1)\n        if <<<touching (とげ v)?> or <touching (敵 v)?>> or <(y position) = [-185]>> then\n            start sound [Crunch v]\n            wait (0.05) seconds\n            broadcast (死 v)\n            初期位置\n            wait (0.2) seconds\n        end\n        if <not <(stage) = [16]>> then\n            if <(x position) = [246]> then\n                change [stage v] by (1)\n                set [持ち物 v] to [なし]\n                broadcast (次! v)\n                start sound [Coin v]\n                wait (1) seconds\n                初期位置\n            end\n        end\n    else\n        switch costume to (逆 v)\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n            point in direction (90)\n            change [x v] by (1.75)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            point in direction (-90)\n            change [x v] by (-1.75)\n        end\n        set [x v] to ((x) * (0.8))\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 x by ((x) * (-1))\n                                change y by (5)\n                                if <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>> then\n                                    if <(x) > [0]> then\n                                        set [x v] to [-15]\n                                    else\n                                        set [x v] to [15]\n                                    end\n                                    set [y v] to [-14.5]\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [y v] by (1)\n        change y by (y)\n        if <touching (ステージ v)?> then\n            change y by ((y) * (-1))\n            set [y v] to [0]\n        end\n        change y by (1)\n        if <<touching (ステージ v)?> and <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < (y position)>>>> then\n            start sound [Jump v]\n            if <<(item (3) of [能力 v]) = [ジャンプ]> and <(選択) = [3]>> then\n                change [y v] by (-20)\n            else\n                change [y v] by (-14)\n            end\n        end\n        change y by (-1)\n        if <<<touching (とげ v)?> or <touching (敵 v)?>> or <(y position) = [185]>> then\n            start sound [Crunch v]\n            wait (0.05) seconds\n            初期位置\n            wait (0.2) seconds\n        end\n        if <not <(stage) = [16]>> then\n            if <(x position) = [246]> then\n                change [stage v] by (1)\n                set [持ち物 v] to [なし]\n                broadcast (次! v)\n                start sound [Coin v]\n                wait (1) seconds\n                初期位置\n            end\n        end\n    end\nend\n\ndefine 初期位置\nshow\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-220) y: (-32)\n\nwhen I receive [初期位置 v]\nif <(costume [number v]) = [1]> then\n    初期位置\nend\n\nwhen I receive [後退 v]\nmove (-5) steps\nif <(costume [number v]) = [4]> then\n    switch costume to (銃2 v)\nend\n\nwhen flag clicked\nforever\n    if <<<mouse down?> or <key (space v) pressed?>> and <<(item (4) of [能力 v]) = [銃]> and <(選択) = [4]>>> then\n        create clone of (弾 v)\n        wait (0.5) seconds\n    end\nend\n\nwhen I receive [clear v]\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(join (ハートB) (星B)) = [yesyes]> then\n        say []\n    end\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [time v] by (1)\nend\n\n@ステージ\n\nwhen flag clicked\nshow\nset size to (100) %\nswitch costume to (コスチューム1 v)\nforever\n    switch costume to (stage)\nend\n\nwhen flag clicked\nif <(stage) = [16]> then\n    stop [other scripts in sprite v]\nend\n\n@とげ\n\nwhen flag clicked\nforever\n    switch costume to (stage)\n    if <<<(stage) = [4]> or <(stage) = [5]>> and <(持ち物) = [かぎ]>> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nif <(stage) = [16]> then\n    stop [other scripts in sprite v]\nend\n\n@アイテム\n\nwhen flag clicked\ndelete all of [能力 v]\nset [持ち物 v] to [なし]\nforever\n    switch costume to (かぎ v)\n    point in direction (90)\n    hide\n    if <(stage) = [4]> then\n        set [向き v] to [0]\n        go to x: (180) y: (150)\n        show\n        repeat until <touching (プレイヤー v)?>\n            turn right (([cos v] of (向き) ) * (5)) degrees\n            change [向き v] by (10)\n        end\n        set [持ち物 v] to [かぎ]\n        hide\n        wait until <(stage) = [5]>\n        set [向き v] to [0]\n        go to x: (-200) y: (50)\n        show\n        repeat until <touching (プレイヤー v)?>\n            turn right (([cos v] of (向き) ) * (5)) degrees\n            change [向き v] by (10)\n        end\n        set [持ち物 v] to [かぎ]\n        hide\n        wait until <(stage) = [6]>\n        switch costume to (重力 v)\n        set [向き v] to [0]\n        go to x: (0) y: (-60)\n        show\n        repeat until <touching (プレイヤー v)?>\n            turn right (([cos v] of (向き) ) * (5)) degrees\n            change [向き v] by (10)\n        end\n        add [重力反転] to [能力 v]\n        hide\n        wait until <(stage) = [9]>\n        point in direction (90)\n        switch costume to (ジャンプ v)\n        set [向き v] to [0]\n        go to x: (0) y: (-60)\n        show\n        repeat until <touching (プレイヤー v)?>\n            turn right (([cos v] of (向き) ) * (5)) degrees\n            change [向き v] by (10)\n        end\n        add [ジャンプ] to [能力 v]\n        hide\n        wait until <(stage) = [12]>\n        point in direction (90)\n        switch costume to (銃 v)\n        set [向き v] to [0]\n        go to x: (0) y: (-60)\n        show\n        repeat until <touching (プレイヤー v)?>\n            turn right (([cos v] of (向き) ) * (5)) degrees\n            change [向き v] by (10)\n        end\n        add [銃] to [能力 v]\n        hide\n        wait until <(stage) = [15]>\n        point in direction (90)\n        set [向き v] to [0]\n        switch costume to (伝説の鍵 v)\n        go to x: (0) y: (-40)\n        show\n        repeat until <touching (プレイヤー v)?>\n            turn right (([cos v] of (向き) ) * (5)) degrees\n            change [向き v] by (10)\n        end\n        add [鍵] to [能力 v]\n        hide\n        stop [this script v]\n    end\nend\n\n@アイテムリスト\n\nwhen flag clicked\nhide\ngo to x: (0) y: (150)\nswitch costume to (通常 v)\nrepeat (5)\n    go to [front v] layer\n    create clone of (_myself_ v)\n    next costume\n    change x by (50)\nend\ncreate clone of (_myself_ v)\nadd [通常] to [能力 v]\n\nwhen I start as a clone\nshow\nif <(costume [number v]) = [6]> then\n    go to [front v] layer\n    set [選択 v] to [1]\n    set x to (0)\n    forever\n        if <key (1 v) pressed?> then\n            set [選択 v] to [1]\n        end\n        if <key (2 v) pressed?> then\n            set [選択 v] to [2]\n        end\n        if <key (3 v) pressed?> then\n            set [選択 v] to [3]\n        end\n        if <key (4 v) pressed?> then\n            set [選択 v] to [4]\n        end\n        if <key (5 v) pressed?> then\n            set [選択 v] to [5]\n        end\n    end\nelse\n    forever\n        if <<mouse down?> and <touching (mouse-pointer v)?>> then\n            set [選択 v] to (costume [number v])\n        end\n        if <(item (costume [number v]) of [能力 v]) = []> then\n            set [brightness v] effect to (-50)\n        else\n            clear graphic effects\n        end\n    end\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [6]> then\n    forever\n        if <(選択) = [1]> then\n            set x to (0)\n        end\n        if <(選択) = [2]> then\n            set x to (50)\n        end\n        if <(選択) = [3]> then\n            set x to (100)\n        end\n        if <(選択) = [4]> then\n            set x to (150)\n        end\n        if <(選択) = [5]> then\n            set x to (200)\n        end\n    end\nend\n\n@太陽\n\nwhen flag clicked\nshow\nset size to (100) %\nforever\n    change size by ([sin v] of (nunber) )\n    change [nunber v] by (10)\n    go to [back v] layer\nend\n\n@next\n\nwhen flag clicked\n\nwhen I start as a clone\nset size to (110) %\nshow\nif <<(costume [number v]) = [1]> or <<(costume [number v]) = [2]> or <(costume [number v]) = [3]>>> then\n    go to x: (0) y: (-342)\n    forever\n        change y by (((0) - (y position)) / (5))\n    end\nelse\n    go to x: (-493) y: (0)\n    if <(costume [number v]) = [7]> then\n        forever\n            change x by (((0) - (x position)) / (5))\n        end\n    else\n        forever\n            change x by (((30) - (x position)) / (5))\n        end\n    end\nend\n\nwhen I start as a clone\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [次! v]\nswitch costume to (コスチューム3 \(1\) v)\nrepeat (7)\n    create clone of (_myself_ v)\n    next costume\n    wait (0.1) seconds\nend\nwait (0.7) seconds\nbroadcast (初期位置 v)\n\nmove (10) steps\n\nwhen I start as a clone\nforever\n    go to [front v] layer\nend\n\n@影\n\nwhen flag clicked\nforever\n    go to (プレイヤー v)\nend\n\n@弾\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nbroadcast (後退 v)\nshow\npoint in direction ([direction v] of [プレイヤー v])\ngo to (プレイヤー v)\nrepeat until <<touching (_edge_ v)?> or <touching (敵 v)?>>\n    進む\nend\ndelete this clone\n\ndefine 進む\nrepeat (30)\n    move (1) steps\nend\n\n@敵\n\nwhen flag clicked\nhide\nforever\n    if <(stage) = [13]> then\n        wait (1) seconds\n        repeat (5)\n            switch costume to (雑魚 v)\n            create clone of (_myself_ v)\n            wait (0.5) seconds\n        end\n        wait until <(stage) = [14]>\n        switch costume to (ボス v)\n        create clone of (_myself_ v)\n    end\nend\n\ndefine 初期位置\nshow\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (220) y: (-32)\n\nwhen I receive [次! v]\ndelete this clone\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    set [hp v] to [1]\nelse\n    set [hp v] to [10]\nend\nshow\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (219) y: (0)\nforever\n    if <touching (弾 v)?> then\n        change [hp v] by (-1)\n        set [向き v] to [左]\n        if <(HP) < [1]> then\n            delete this clone\n        end\n    end\n    point towards (プレイヤー v)\n    if < (direction) contains [-]?> then\n        set [向き v] to [左]\n    else\n        set [向き v] to [右]\n    end\n    go to [front v] layer\n    go [backward v] (1) layers\n    if <(向き) = [右]> then\n        change [x v] by (pick random (0.5) to (1))\n    end\n    if <(向き) = [左]> then\n        change [x v] by (pick random (-0.5) to (-1))\n    end\n    set [x v] to ((x) * (0.85))\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 x by ((x) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x) > [0]> then\n                                    set [x v] to [-15]\n                                else\n                                    set [x v] to [15]\n                                end\n                                set [y v] to [14.5]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <touching (ステージ v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching (ステージ v)?> and <(pick random (1) to (10)) = [1]>> then\n        change [y v] by (14)\n    end\n    change y by (1)\nend\n\nwhen I receive [死 v]\nif <<(stage) = [13]> or <(stage) = [14]>> then\n    初期位置\nend\n\nwhen flag clicked\nforever\n    hide\nend\n\n@スプライト1\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    if <(重力) = [1]> then\n        switch costume to (コスチューム2 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    go to (プレイヤー v)\nend\n\n@宝箱\n\nwhen flag clicked\nswitch costume to (コスチューム2 v)\ngo to x: (0) y: (-50)\nset size to (60) %\nhide\nforever\n    if <(stage) = [16]> then\n        show\n        if <touching (プレイヤー v)?> then\n            repeat (20)\n                go to x: (pick random (10) to (-10)) y: (pick random (-60) to (-40))\n                change [brightness v] effect by (5)\n            end\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            hide\n            repeat (100)\n                create clone of (_myself_ v)\n            end\n            broadcast (clear v)\n            stop [this script v]\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nshow\nswitch costume to (コスチューム3 v)\nset size to (pick random (150) to (70)) %\ngo to x: (pick random (200) to (-220)) y: (990)\nset [speed v] to (pick random (-5) to (-15))\nrepeat until <not <touching (_edge_ v)?>>\n    change y by (speed)\nend\nrepeat until <touching (_edge_ v)?>\n    change y by (speed)\nend\ndelete this clone\n\n@さむね\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n@検知\n\nwhen I start as a clone\nswitch costume to (コスチューム2 v)\nset [星b v] to [No]\nforever\n    set [星a v] to <touching (mouse-pointer v)?>\n    if <touching (mouse-pointer v)?> then\n        wait (0.5) seconds\n        set [星b v] to [Yes]\n    end\nend\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ncreate clone of (_myself_ v)\nset [ハートb v] to [No]\nforever\n    set [ハートa v] to <touching (mouse-pointer v)?>\n    if <touching (mouse-pointer v)?> then\n        wait (0.5) seconds\n        set [ハートb v] to [Yes]\n    end\nend\n\n@くりあ\n\nwhen flag clicked\nhide\n\nwhen I receive [clear v]\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    go to [front v] layer\n    change [ghost v] effect by (-10)\nend\nforever\n    go to [front v] layer\nend\n\n@スプライト2\n\nwhen flag clicked\nhide\nforever\n    if <(join (ハートB) (星B)) = [yesyes]> then\n        show\n        set [ghost v] effect to (100)\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n        wait (0.5) seconds\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        stop [this script v]\n    end\nend\n\n@アイテム使用\n\nwhen flag clicked\ngo to x: (-60) y: (150)\nshow\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\nend\n\nwhen flag clicked\nforever\n    if <<(item (2) of [能力 v]) = [重力反転]> and <(選択) = [2]>> then\n        if <<key (space v) pressed?> or <<mouse down?> and <touching (mouse-pointer v)?>>> then\n            if <(重力) = [0]> then\n                set [重力 v] to [1]\n            else\n                set [重力 v] to [0]\n            end\n            wait until <not <<key (space v) pressed?> or <<mouse down?> and <touching (mouse-pointer v)?>>>>\n            wait (0.5) seconds\n        end\n    end\nend\n\n
プログラミング初心者が初めて本気で作った作品なんです。あまり面白くないと思いますが、おねがいだから星とハートをお願いします。星とハートが1個増えるだけで、作者はとても嬉しいです。なので、お願いだから星とハートをお願いします!!!!!\nENGLISH\nOperate with the arrow keys. Abilities are selected with the number keys and activated with the space key. However, jump power up can be activated just by selecting it. Feel free to comment if you have any questions.\n日本語\n矢印キーで操作します。能力は、数字キーで選択し、スペースキーで発動します。しかし、ジャンプ力アップは、選択しているだけで発動できます。何かわからないことがあったら、気軽にコメントしてください。