地面を描けるPlatformer!!
@Stage\n\nwhen flag clicked\nshow variable [表示タイム v]\nhide variable [time v]\nset [time v] to [0]\nset [表示タイム v] to [0]\nforever\n    repeat until <([costume # v] of [背景 v]) = [12]>\n        wait (1) seconds\n        change [表示タイム v] by (1)\n    end\n    if <([costume # v] of [背景 v]) = [12]> then\n        set [time v] to (表示タイム)\n    end\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [背景 v]) = [12]> then\n        broadcast (終了 v)\n        wait (1) seconds\n        show variable [time v]\n        show variable [☁ 世界記録 v]\n    end\nend\n\nwhen flag clicked\nhide variable [☁ 世界記録 v]\nset volume to (60) %\nforever\n    play sound [空色ブルーム v] until done\nend\n\nwhen I receive [終了 v]\nif <(表示タイム) < (☁ 世界記録)> then\n    set [☁ 世界記録 v] to (表示タイム)\nend\n\nset [☁ 世界記録 v] to [100]\n\n@本体\n\nwhen flag clicked\ngo to x: (-200) y: (0)\nshow\nset [ｙ v] to [0]\nset [速さ v] to [0]\nforever\n    switch costume to (コスチューム1 v)\n    change [ｙ v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [速さ v] by (-0.99)\n    end\n    if <key (right arrow v) pressed?> then\n        change [速さ v] by (0.99)\n    end\n    if <key (down arrow v) pressed?> then\n        switch costume to (コスチューム2 v)\n    end\n    set [速さ v] to ((速さ) * (0.9))\n    change x by (速さ)\n    if <<<touching (背景 v)?> or <touching color (#00ff2d)?>> and <not <touching (障害物 v)?>>> then\n        change y by (-1)\n    end\n    if <<<touching (背景 v)?> or <touching color (#00ff2d)?>> and <not <touching (障害物 v)?>>> then\n        change y by (-1)\n    end\n    if <<<touching (背景 v)?> or <touching color (#00ff2d)?>> and <not <touching (障害物 v)?>>> then\n        change y by (-1)\n    end\n    if <<<touching (背景 v)?> or <touching color (#00ff2d)?>> and <not <touching (障害物 v)?>>> then\n        change y by (-1)\n    end\n    if <<<touching (背景 v)?> or <touching color (#00ff2d)?>> and <not <touching (障害物 v)?>>> then\n        change y by (4)\n        change x by ((速さ) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [ｙ v] to [12]\n            if <(速さ) > [0]> then\n                set [速さ v] to [-10]\n            else\n                set [速さ v] to [10]\n            end\n        else\n            set [速さ v] to [0]\n        end\n    end\n    change y by (-1)\n    if <<<<touching (背景 v)?> or <touching color (#00ff2d)?>> and <not <touching (障害物 v)?>>> and <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>>> then\n        start sound [Jump v]\n        set [ｙ v] to [12]\n    end\n    change y by (1)\n    change y by (ｙ)\n    if <<<touching (背景 v)?> or <touching color (#00ff2d)?>> and <not <touching (障害物 v)?>>> then\n        change y by ((0) - (ｙ))\n        set [ｙ v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (_edge_ v)?> and <(x position) > [215]>> then\n        go to x: (-200) y: (0)\n        set [ｙ v] to [0]\n        set [速さ v] to [0]\n        broadcast (次のステージ v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#ff0000)?> or <[-159] > (y position)>> then\n        go to x: (-200) y: (0)\n        set [ｙ v] to [0]\n        set [速さ v] to [0]\n        start sound [crashed oof v]\n        broadcast (４ v)\n    end\nend\n\n@背景\n\nwhen I receive [次のステージ v]\nnext costume\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\n\n@地面\n\nwhen flag clicked\nset [ghost v] effect to (100)\nset pen size to (10)\nset [インク v] to [300]\npen up\nerase all\nforever\n    set pen color to (#00ff2d)\n    go to (mouse-pointer v)\n    if <<mouse down?> and <not <(インク) = [0]>>> then\n        pen down\n        change [インク v] by (-1)\n    else\n        pen up\n    end\nend\n\nif  then\n    repeat until \n    end\nend\nif <not <mouse down?>> then\nend\n\nwhen I receive [次のステージ v]\nset [インク v] to [300]\nerase all\n\nwhen I receive [４ v]\nset [インク v] to [300]\nerase all\n\nerase all\n\nwhen I receive [消し v]\nerase all\n\n@消す\n\nwhen this sprite clicked\nbroadcast (消し v)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@障害物\n\nwhen I receive [次のステージ v]\nnext costume\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\n\n@スプライト1\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    go to [front v] layer\nend\n\n@NEXT\n\nwhen I receive [次のステージ v]\nshow\nswitch costume to (コスチューム1 v)\nstart sound [Connect v]\nrepeat (25)\n    next costume\nend\nhide\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@サムネ\n\nwhen [q v] key pressed\nshow\nforever\n    forever\n        forever\n            go to [front v] layer\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\n
新作↓\nhttps://scratch.mit.edu/projects/753100082/\n（How to operate/操作方法）\n矢印キーで操作/Use the arrow keys to control\nクリックで地面を描く/Draw the ground with a click\n\n(Not mobile supported/モバイル非対応)\n\nバグがあったらコメントお願いします。\nモバイルは、非対応です。すいません。\nもしおもしろいと思ったら☆と♡お願いします。\n拡散してくれたらマジでうれしいです。