『初投稿』LONG！platformer！！
@Stage\n\n@キャラ\n\nwhen flag clicked\nset [x v] to [0]\nset [y v] to [0]\nset [動き制限 v] to [なし]\nset [ステージ v] to [1]\nshow\ngo to x: (-200) y: (0)\nset size to (100) %\nset rotation style [left-right v]\npoint in direction (90)\nclear graphic effects\ngo to [back v] layer\nset volume to (100) %\nshow\nforever\n    if <(動き制限) = [なし]> then\n        if <<key (down arrow v) pressed?> or <<(mouse y) < (y position)> and <mouse down?>>> then\n            switch costume to (コスチューム2 v)\n        else\n            switch costume to (コスチューム1 v)\n        end\n        if <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>> then\n            change [x v] by (1)\n            point in direction (90)\n        end\n        if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n            change [x v] by (-1)\n            point in direction (-90)\n        end\n        set [x v] to ((X) * (0.92))\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 x by ((0) - (X))\n                                    change y by (-5)\n                                    if <<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> then\n                                        if <[0] < (X)> 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        end\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        change y by (-2)\n        if <<<key (up arrow v) pressed?> or <<(y position) < (mouse y)> and <mouse down?>>> and <touching (地面 v)?>> then\n            set [y v] to [14]\n        end\n        change y by (1)\n        if <touching color (#ff8900)?> then\n            set [y v] to [19]\n        end\n        if <<[230] < (x position)> and <not <[21] < (ステージ)>>> then\n            broadcast (次へ v)\n            switch costume to (コスチューム1 v)\n            go to x: (-200) y: (0)\n            point in direction (90)\n            set [x v] to [0]\n            set [y v] to [0]\n            change [ステージ v] by (1)\n            set [動き制限 v] to [あり]\n            show\n            clear graphic effects\n        end\n        if <<[-166] > (y position)> or <touching (障害物 v)?>> then\n            repeat (10)\n                change [ghost v] effect by (10)\n                change [pixelate v] effect by (10)\n            end\n            hide\n            clear graphic effects\n            go to x: (-200) y: (0)\n            point in direction (90)\n            set [x v] to [0]\n            set [y v] to [0]\n            show\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Inferno v] until done\nend\n\n@地面\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\nforever\n    switch costume to (ステージ)\nend\n\n@障害物\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\nforever\n    switch costume to (ステージ)\nend\n\n@ネクスト\n\nwhen I receive [次へ v]\nset size to (1) %\nshow\nrepeat (34)\n    change size by (((100) - (size)) / (7))\nend\nwait (0.3) seconds\nrepeat (34)\n    change size by (((1) - (size)) / (7))\n    change [ghost v] effect by (2.9)\nend\nhide\nclear graphic effects\nset [動き制限 v] to [なし]\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\n@アイテム\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\nforever\n    clear graphic effects\n    switch costume to (ステージ)\n    if <touching (キャラ v)?> then\n        if <<(costume [number v]) = [9]> or <(costume [number v]) = [16]>> then\n            change [ステージ v] by (1)\n            repeat (10)\n                change [ghost v] effect by (10)\n                change [pixelate v] effect by (10)\n            end\n        end\n    end\nend\n\n@テロップ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nforever\n    switch costume to (ステージ)\nend\n\n@サムネ\n\nwhen flag clicked\nshow\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\nwhen [timer v] > (0)\nshow\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nforever\n    change [turbo v] by (1)\nend\n\nwhen flag clicked\nforever\n    set [turbo v] to [0]\n    wait (0.001) seconds\n    if <[3] < (Turbo)> then\n        show\n        stop [all v]\n    else\n        hide\n    end\nend\n\n
【Operation explanation / 操作説明】\n\n▶PC…Operate with arrow keys\n　　　  矢印キーで操作\n\n▶MOBILE…Operate by tapping the left, right, or\n　　　　　　top of the screen\n　　　　　　画面の左右や上をタップで操作\n\nパソコンでプレイしてる人以外はしゃがむのが\n難しいです。すいません。\nCrouching is difficult unless you are playing on a computer.Excuse me.\n\n#all #games #platformer #LONG