《モバイル対応》Platformer Maker v3.6║プラットフォーマーメーカー3.6

Instructions: ※ターボモードにするとバグります。\n★今流行りのプラットフォーマーが自分で作れるようになって登場！★　ぜひ作ってみてね！\n～～～～～～～～～～使い方～～～～～～～～～～\n(共通)・まず、下の「草の土」や「マグマ」などが描かれたボタンでモード（何を置くか）を選択します。\n(PC)そして、矢印キーでどこに置くかを選びます。\n置く場所が決まったらスペースキーを押します。そうするとおけます。\n(モバイル)そして、上の十字ボタンでどこに置くかを選びます。置く場所が決まったら〇ボタンを押します。\n(共通)・「背景」を押すと、背景が切り替わります。\n・「見た目」を押すとキャラクターの見た目が変わります。<見た目の案募集中！)\n・「遊ぶ」を押すと、遊べます。端まで行くと、ゴールです！\n～～～～～～～～操作方法(PC)～～～～～～～～～～\n←キーで左に、→キーで右に、↑キーでジャンプです\n～～～～～～～操作方法(モバイル)～～～～～～～\nプレイヤーより左を押して右に、プレイヤーより右を押して右に、プレイヤーより上を押してジャンプです。\n・現時点ではしゃがむことはできません。

@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\n\nwhen I receive [グリッド完了 v]\nswitch backdrop to (blue sky 2  v)\n\nwhen flag clicked\nset [bgm音量 v] to [100]\nforever\n    set volume to (BGM音量) %\nend\n\nwhen flag clicked\nforever\n    play sound [8ビットの冒険 v] until done\nend\n\n@グリッド\n\nwhen flag clicked\nset [モード v] to [草の土]\nset [あ v] to [0]\nhide variable [モード v]\nshow\ngo to x: (-225) y: (165)\nreset timer\n生成\n\nwhen I receive [グリッド完了 v]\nshow variable [モード v]\n\nwhen I receive [くりあ v]\n\nwhen flag clicked\nforever\n    if <(あ) = [48]> then\n        switch costume to (コスチューム2 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\ndefine 生成\nrepeat until <[-70] > (y position)>\n    repeat until <(x position) > [225]>\n        change [あ v] by (1)\n        create clone of (_myself_ v)\n        change x by (30)\n    end\n    go to x: (-225) y: ((y position) - (30))\nend\nbroadcast (グリッド完了 v)\nhide\n\n@スプライト2\n\nwhen flag clicked\ngo to x: (70) y: (-78)\nhide\n\nwhen I receive [グリッド完了 v]\nshow\n\ngo to x: (111) y: (-77)\n\n@スプライト10\n\nwhen flag clicked\ngo to x: (0) y: (65)\nswitch costume to (コスチューム1 v)\ngo to [back v] layer\n\nwhen I receive [背景 v]\nnext costume\n\nwhen I receive [すたーと v]\ngo to [front v] layer\n\nwhen I receive [くりあ v]\ngo to [back v] layer\n\n@ダウンロード (17)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@スプライト14\n\nwhen flag clicked\nclear graphic effects\nshow\nset [ghost v] effect to (50)\nswitch costume to (コスチューム1 v)\nrepeat until <(costume [number v]) = [10]>\n    wait (0.4) seconds\n    next costume\nend\n\nwhen I receive [グリッド完了 v]\nhide\n\nwait (0.66) seconds\n\n@上\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (173) y: (160)\n\nwhen this sprite clicked\nbroadcast (上 v)\n\nwhen I receive [グリッド完了 v]\nshow\n\nwhen flag clicked\nforever\n    if <(触れたか?矢印) = [1]> then\n        set [ghost v] effect to (0)\n    else\n        set [ghost v] effect to (80)\n    end\nend\n\nwhen I receive [アイテムリスト開く v]\nhide\n\nwhen I receive [アイテムリスト閉じる v]\nshow\n\n@右\n\nwhen I receive [アイテムリスト閉じる v]\nshow\n\nwhen I receive [アイテムリスト開く v]\nhide\n\nwhen flag clicked\nforever\n    if <(触れたか?矢印) = [1]> then\n        set [ghost v] effect to (0)\n    else\n        set [ghost v] effect to (80)\n    end\nend\n\nwhen I receive [グリッド完了 v]\nshow\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (205) y: (125)\n\nwhen this sprite clicked\nbroadcast (右 v)\n\n@左\n\nwhen I receive [アイテムリスト閉じる v]\nshow\n\nwhen I receive [アイテムリスト開く v]\nhide\n\nwhen flag clicked\nforever\n    if <(触れたか?矢印) = [1]> then\n        set [ghost v] effect to (0)\n    else\n        set [ghost v] effect to (80)\n    end\nend\n\nwhen I receive [グリッド完了 v]\nshow\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (141) y: (125)\n\nwhen this sprite clicked\nbroadcast (左 v)\n\n@下\n\nwhen I receive [アイテムリスト閉じる v]\nshow\n\nwhen I receive [アイテムリスト開く v]\nhide\n\nwhen flag clicked\nforever\n    if <(触れたか?矢印) = [1]> then\n        set [ghost v] effect to (0)\n    else\n        set [ghost v] effect to (80)\n    end\nend\n\nwhen I receive [グリッド完了 v]\nshow\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (173) y: (90)\n\nwhen this sprite clicked\nbroadcast (下 v)\n\n@スプライト12\n\nwhen I receive [アイテムリスト閉じる v]\nshow\n\nwhen I receive [アイテムリスト開く v]\nhide\n\nwhen flag clicked\nforever\n    if <(触れたか?矢印) = [1]> then\n        set [ghost v] effect to (0)\n    else\n        set [ghost v] effect to (80)\n    end\nend\n\nwhen I receive [グリッド完了 v]\nshow\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (173) y: (125)\n\nwhen this sprite clicked\nbroadcast (決定 v)\n\n@スプライト16\n\nwhen flag clicked\nset [ロード完了したか? v] to [0]\nset [ghost v] effect to (100)\nset [スタートしたか? v] to [0]\nforever\n    if <<<touching (mouse-pointer v)?> and <(スタートしたか?) = [0]>> and <(ロード完了したか?) = [1]>> then\n        set [触れたか?矢印 v] to [1]\n    else\n        set [触れたか?矢印 v] to [0]\n    end\nend\n\nwhen I receive [すたーと v]\nset [スタートしたか? v] to [1]\n\nwhen I receive [くりあ v]\nset [スタートしたか? v] to [0]\n\nwhen I receive [グリッド完了 v]\nset [ロード完了したか? v] to [1]\n\nclear graphic effects\n\n@スプライト17\n\nwhen flag clicked\nset size to (100) %\nforever\n    change size by (1)\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    set size to (100) %\nend\n\nwhen flag clicked\nforever\n    if <(size) > [200]> then\n        broadcast (メッセージ1 v)\n        stop [all v]\n    end\nend\n\n@スプライト19\n\nwhen I receive [メッセージ1 v]\ngo to [front v] layer\nshow\n\nwhen flag clicked\nhide\n\n@ \n\nwhen flag clicked\ngo to x: (0) y: (50)\nswitch costume to (2 v)\nhide\nwait (6) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (20) seconds\n    if <(動ける？) = [0]> then\n        show\n    end\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\n@スプライト4\n\ngo to x: (-40) y: (-150)\n\nwhen I receive [グリッド完了 v]\nshow\n\nwhen flag clicked\ngo to x: (67) y: (-124)\nhide\nforever\n    if <(モード) = [消去]> then\n        switch costume to (コスチューム0 v)\n    else\n        switch costume to (コスチューム1 v)\n    end\nend\n\nwhen this sprite clicked\nask [この機能はとても不安定です。それでも使いますか？（y/n）] and wait\nif <(answer) = [y]> then\n    start sound [ポップ v]\n    set [モード v] to [消去]\nend\n\n@スプライト6\n\nwhen flag clicked\nhide\nforever\n    switch costume to (モード)\nend\n\nwhen flag clicked\nforever\n    if <[-46] < (y position)> then\n        if <<key (up arrow v) pressed?> or <(うえ) = [1]>> then\n            change y by (30)\n            wait (0.1) seconds\n        end\n        if <<<key (down arrow v) pressed?> or <(した) = [1]>> and <(y position) > [-44]>> then\n            change y by (-30)\n            wait (0.1) seconds\n        end\n        if <<key (right arrow v) pressed?> or <(みぎ) = [1]>> then\n            change x by (30)\n            wait (0.1) seconds\n        end\n        if <<key (left arrow v) pressed?> or <(ひだり) = [1]>> then\n            change x by (-30)\n            wait (0.1) seconds\n        end\n    else\n        change y by (30)\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <<key (space v) pressed?> or <(けってい) = [1]>> then\n        if <<not <(costume [name v]) = [- - -]>> and <not <(スタートしたか?) = [1]>>> then\n            clear graphic effects\n            create clone of (_myself_ v)\n            play sound [kusa v] until done\n        else\n            play sound [不正解のブザー音_3種_2 v] until done\n        end\n    else\n        set [ghost v] effect to (70)\n    end\nend\n\nwhen I receive [すたーと v]\nwait (0.06) seconds\ngo to [front v] layer\n\nwhen I receive [くりあ v]\ngo to [front v] layer\nshow\n\nwhen I receive [すたーと v]\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    set rotation style [don't rotate v]\nend\n\nif <(x position) > [240]> then\n\nwhen I receive [上 v]\nset [うえ v] to [1]\nwait (0.1) seconds\nset [うえ v] to [0]\n\nwhen I receive [下 v]\nset [した v] to [1]\nwait (0.1) seconds\nset [した v] to [0]\n\nwhen I receive [右 v]\nset [みぎ v] to [1]\nwait (0.1) seconds\nset [みぎ v] to [0]\n\nwhen I receive [左 v]\nset [ひだり v] to [1]\nwait (0.1) seconds\nset [ひだり v] to [0]\n\nwhen I receive [決定 v]\nset [けってい v] to [1]\nwait (0.05) seconds\nset [けってい v] to [0]\n\nwhen I receive [グリッド完了 v]\ngo to x: (-225) y: (165)\nshow\n\nshow\n\nwhen flag clicked\nset [バツか？ v] to [0]\nforever\n    if <touching color (#a9a9a9)?> then\n        set [回数 v] to [0]\n        set [モード v] to [- - -]\n        set [バツか？ v] to [1]\n    else\n        change [回数 v] by (1)\n        if <(回数) = [1]> then\n            set [モード v] to [草の土]\n            set [バツか？ v] to [0]\n        else\n            set [バツか？ v] to [0]\n        end\n    end\nend\n\nswitch costume to (- - - v)\n\nwait (1) seconds\nsay []\n\nwhen flag clicked\nforever\n    if <(x position) = [243]> then\n        set [もし端ついたら v] to [0]\n        set x to (222)\n    else\n        set [もし端ついたら v] to [1]\n        set rotation style [don't rotate v]\n    end\nend\n\nwhen flag clicked\nset [もし端ついたら v] to [1]\nforever\n    if <(もし端ついたら) = [1]> then\n        if on edge, bounce\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) = [-243]> then\n        set [もし端ついたら v] to [0]\n        set x to (-222)\n    else\n        set [もし端ついたら v] to [1]\n        set rotation style [don't rotate v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(スタートしたか?) = [1]> then\n        hide\n    end\nend\n\n@スプライト5\n\nwhen flag clicked\ngo to x: (-88) y: (-113)\nhide\n\ngo to x: (30) y: (-150)\n\nwhen I receive [グリッド完了 v]\nshow\n\nwhen this sprite clicked\nstart sound [ポップ v]\nbroadcast (見た目変更 v)\n\ngo to x: (-48) y: (-140)\n\n@スプライト7\n\ngo to x: (50) y: (-145)\n\nwhen I receive [見た目変更 v]\nnext costume\n\nwhen flag clicked\nset size to (150) %\ngo to x: (-88) y: (-96)\nhide\n\nwhen I receive [グリッド完了 v]\nshow\n\n@スプライト13\n\nwhen flag clicked\ngo to x: (-10) y: (-112)\nhide\n\nwhen I receive [グリッド完了 v]\nshow\n\nwhen this sprite clicked\nstart sound [ポップ v]\nbroadcast (背景 v)\n\n@スプライト21\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\nwhen I receive [グリッド完了 v]\nforever\n    if <touching (mouse-pointer v)?> then\n        show variable [bgm音量 v]\n    else\n        hide variable [bgm音量 v]\n    end\nend\n\n@スプライト15\n\nwhen flag clicked\nhide\n\nwhen I receive [グリッド完了 v]\nshow\nforever\n    wait (10) seconds\n    next costume\nend\n\n@スプライト22\n\nwhen flag clicked\ngo to x: (168) y: (-122)\nhide\n\ngo to x: (197) y: (-123)\n\nwhen I receive [グリッド完了 v]\nshow\n\ngo to x: (197) y: (-127)\n\n@スプライト9\n\nwhen flag clicked\nswitch costume to (コスチューム1 v)\ngo to x: (-180) y: (-113)\nhide\nforever\n    switch costume to ((k1) + (1))\nend\n\nwhen I receive [グリッド完了 v]\nshow\n\nwhen this sprite clicked\nstart sound [Snap v]\nif <(costume [number v]) = [2]> then\n    broadcast (くりあ v)\nelse\n    broadcast (すたーと v)\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (130) %\n        set [brightness v] effect to (30)\n    else\n        set size to (125) %\n        clear graphic effects\n    end\nend\n\ngo to x: (109) y: (-127)\n\n@スプライト23\n\nwhen I receive [すたーと v]\nset [k1 v] to [1]\npoint in direction (90)\nset rotation style [left-right v]\ngo to x: (-224) y: (75)\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nclear graphic effects\nshow\nrepeat until <(k1) = [0]>\n    if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#04ff00)?> then\n        change y by (1)\n        if <touching color (#04ff00)?> then\n            change y by (1)\n            if <touching color (#04ff00)?> then\n                change y by (1)\n                if <touching color (#04ff00)?> then\n                    change y by (1)\n                    if <touching color (#04ff00)?> then\n                        change y by (1)\n                        if <touching color (#04ff00)?> then\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n                                if <(x) < [0]> then\n                                    set [x v] to [10]\n                                else\n                                    set [x v] to [-10]\n                                end\n                                set [y v] to [15]\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 by (-1)\n    if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n        if <<touching color (#04ff00)?> or <touching color (#4e00ff)?>> then\n            start sound [Jump v]\n            set [y v] to [15]\n        end\n    end\n    if <touching color (#ffde00)?> then\n        start sound [Jump v]\n        set [y v] to [19]\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (y)\n    if <<touching color (#04ff00)?> or <touching color (#4e00ff)?>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    if <<touching color (#ff0000)?> or <<touching color (#dadada)?> or <<touching color (#b6b6b6)?> or <(y position) < [-60]>>>> then\n        go to x: (-224) y: (75)\n        point in direction (90)\n        start sound [Teleport2 v]\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <touching color (#4e00ff)?> then\n        change [x v] by (0.9)\n    end\n    if <touching color (#5f1aff)?> then\n        change [x v] by (-1.5)\n    end\n    if <[239] < (x position)> then\n        start sound [Win v]\n        broadcast (くりあ v)\n        set [k1 v] to [0]\n        stop [this script v]\n    end\nend\n\nforever\n\nif <[1] = [1]> then\n\nwhen flag clicked\ngo to x: (0) y: (-107)\n\nif <(y position) < [150]> then\n    change y by (10)\nend\n\nwhen flag clicked\nset [k1 v] to [0]\nhide\n\nwhen I receive [すたーと v]\nwait (0.05) seconds\ngo to [front v] layer\n\nwhen I receive [くりあ v]\nset [k1 v] to [0]\nhide\n\nrepeat (10)\n    change y by (10)\nend\nrepeat (10)\n    change y by (-10)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffde00)?> then\n        start sound [Jump v]\n        set [変数 v] to [20]\n    end\nend\n\nrepeat (20)\n    change y by (20)\n    move (5) steps\nend\nrepeat (10)\n    change y by (20)\nend\n\nwhen I receive [見た目変更 v]\nnext costume\n\nset size to (35) %\n\nwhen I receive [くりあ v]\n\nswitch costume to (コスチューム1 v)\n\n@アイテムリスト\n\nwhen flag clicked\nhide\n\nwhen I receive [グリッド完了 v]\nshow\nforever\n    if <(スタートしたか?) = [0]> then\n        show\n        if <touching (mouse-pointer v)?> then\n            set [ghost v] effect to (0)\n            switch costume to (コスチューム2 v)\n            broadcast (アイテムリスト開く v)\n        else\n            set [ghost v] effect to (50)\n            switch costume to (コスチューム1 v)\n            broadcast (アイテムリスト閉じる v)\n        end\n    else\n        hide\n    end\nend\n\n@アイテムリスト用\n\nwhen I receive [アイテムリスト開く v]\ngo to [front v] layer\nshow\n\nwhen flag clicked\ngo to x: (30) y: (155)\n\nwhen I receive [アイテムリスト閉じる v]\ngo to [back v] layer\nhide\n\nwhen this sprite clicked\nstart sound [ポップ v]\nset [モード v] to [草の土]\n\nwhen flag clicked\nforever\n    if <(モード) = [草の土]> then\n        switch costume to (草の土2 v)\n    else\n        switch costume to (草の土 v)\n    end\nend\n\n@アイテムリスト用2\n\nwhen I receive [アイテムリスト開く v]\ngo to [front v] layer\nshow\n\nwhen flag clicked\ngo to x: (70) y: (155)\n\nwhen I receive [アイテムリスト閉じる v]\ngo to [back v] layer\nhide\n\nwhen this sprite clicked\nstart sound [ポップ v]\nset [モード v] to [マグマ]\n\nwhen flag clicked\nforever\n    if <(モード) = [マグマ]> then\n        switch costume to (マグマ2 v)\n    else\n        switch costume to (マグマ v)\n    end\nend\n\n@アイテムリスト用3\n\nwhen I receive [アイテムリスト開く v]\ngo to [front v] layer\nshow\n\nwhen flag clicked\ngo to x: (110) y: (155)\n\nwhen I receive [アイテムリスト閉じる v]\ngo to [back v] layer\nhide\n\nwhen this sprite clicked\nstart sound [ポップ v]\nset [モード v] to [ジャンプ台]\n\nwhen flag clicked\nforever\n    if <(モード) = [ジャンプ台]> then\n        switch costume to (ジャンプ台2 v)\n    else\n        switch costume to (ジャンプ台 v)\n    end\nend\n\n@アイテムリスト用4\n\nwhen I receive [アイテムリスト開く v]\ngo to [front v] layer\nshow\n\nwhen flag clicked\ngo to x: (70) y: (90)\n\nwhen I receive [アイテムリスト閉じる v]\ngo to [back v] layer\nhide\n\nwhen this sprite clicked\nstart sound [ポップ v]\nset [モード v] to [ベルトコンベア↺]\n\nwhen flag clicked\nforever\n    if <(モード) = [ベルトコンベア↺]> then\n        switch costume to (ベルトコンベア↺2 v)\n    else\n        switch costume to (ベルトコンベア↺ v)\n    end\nend\n\n@アイテムリスト用5\n\nwhen I receive [アイテムリスト開く v]\ngo to [front v] layer\nshow\n\nwhen flag clicked\ngo to x: (30) y: (90)\n\nwhen I receive [アイテムリスト閉じる v]\ngo to [back v] layer\nhide\n\nwhen this sprite clicked\nstart sound [ポップ v]\nset [モード v] to [ベルトコンベア↻]\n\nwhen flag clicked\nforever\n    if <(モード) = [ベルトコンベア↻]> then\n        switch costume to (ベルトコンベア↻2 v)\n    else\n        switch costume to (ベルトコンベア↻ v)\n    end\nend\n\n@アイテムリスト用6\n\nwhen I receive [アイテムリスト開く v]\ngo to [front v] layer\nshow\n\nwhen flag clicked\ngo to x: (150) y: (155)\n\nwhen I receive [アイテムリスト閉じる v]\ngo to [back v] layer\nhide\n\nwhen this sprite clicked\nstart sound [ポップ v]\nset [モード v] to [とげ]\n\nwhen flag clicked\nforever\n    if <(モード) = [とげ]> then\n        switch costume to (とげ2 v)\n    else\n        switch costume to (とげ v)\n    end\nend\n\n