Space Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (背景1 v)\nforever\n    play sound (pick random (1) to (2)) until done\nend\n\n@プレイヤー\n\nwhen flag clicked\nreset timer\n初期化\nforever\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1.75)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1.75)\n        point in direction (-90)\n    end\n    set [x v] to ((x) * (0.8))\n    change x by (x)\n    if <<touching (ステージ v)?> or <touching (移動ステージ v)?>> then\n        change y by (1)\n        if <<touching (ステージ v)?> or <touching (移動ステージ v)?>> then\n            change y by (1)\n            if <<touching (ステージ v)?> or <touching (移動ステージ v)?>> then\n                change y by (1)\n                if <<touching (ステージ v)?> or <touching (移動ステージ v)?>> then\n                    change y by (1)\n                    if <<touching (ステージ v)?> or <touching (移動ステージ v)?>> then\n                        change y by (1)\n                        if <<touching (ステージ v)?> or <touching (移動ステージ v)?>> then\n                            change y by (1)\n                            if <<touching (ステージ v)?> or <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                                        start sound [Jump v]\n                                        set [x v] to [-15]\n                                    else\n                                        start sound [Jump v]\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    end\n    change [y v] by (-1)\n    change y by (y)\n    if <<touching (ステージ v)?> or <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)?> or <touching (移動ステージ v)?>> and <key (up arrow v) pressed?>> then\n        start sound [Jump v]\n        change [y v] by (16)\n    end\n    if <<(y position) < [-180]> or <touching (マグマ v)?>> then\n        初期化\n        start sound [Disconnect v]\n    end\n    if <(x position) > [240]> then\n        broadcast (NEXT STAGE v)\n        初期化\n        wait (3) seconds\n    end\nend\n\nwhen flag clicked\nset [タイマー v] to [0]\nrepeat until <([costume # v] of [ステージ v]) = [11]>\n    if <(timer) > (タイマー)> then\n        change [タイマー v] by (1)\n    end\nend\n\ndefine 初期化\nset size to (80) %\ngo to x: (-210) y: (-52)\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nshow\n\n@ステージ\n\nwhen flag clicked\nswitch costume to (ステージ1 v)\ngo to x: (0) y: (0)\nshow\n\nwhen I receive [next stage v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        broadcast (NOマグマ v)\n    end\n    if <(costume [number v]) = [2]> then\n        broadcast (マグマ1 v)\n    end\n    if <(costume [number v]) = [3]> then\n        broadcast (マグマ2 v)\n    end\n    if <(costume [number v]) = [4]> then\n        broadcast (マグマ3 v)\n    end\n    if <(costume [number v]) = [5]> then\n        broadcast (マグマ4 v)\n    end\n    if <(costume [number v]) = [6]> then\n        broadcast (マグマ5 v)\n    end\n    if <(costume [number v]) = [10]> then\n        broadcast (NOマグマ v)\n        broadcast (移動ステージ v)\n        wait until <(costume [number v]) = [11]>\n    end\n    if <(costume [number v]) = [7]> then\n        broadcast (マグマ6 v)\n    end\n    if <(costume [number v]) = [8]> then\n        broadcast (マグマ7 v)\n    end\n    if <(costume [number v]) = [9]> then\n        broadcast (マグマ8 v)\n    end\n    if <(costume [number v]) = [11]> then\n        broadcast (goal v)\n    end\nend\n\n@マグマ\n\nwhen I receive [マグマ1 v]\nswitch costume to (マグマ1 v)\nset size to (100) %\ngo to x: (-96) y: (-141)\nshow\n\nwhen I receive [noマグマ v]\nhide\n\nwhen I receive [マグマ2 v]\nswitch costume to (マグマ2 v)\nset size to (100) %\ngo to x: (-107) y: (151)\nshow\n\nwhen I receive [マグマ3 v]\nswitch costume to (マグマ3 v)\nset size to (100) %\ngo to x: (80) y: (-153)\nshow\n\nwhen I receive [マグマ4 v]\nswitch costume to (マグマ4 v)\nset size to (80) %\ngo to x: (28) y: (-87)\nshow\n\nwhen I receive [マグマ5 v]\nswitch costume to (マグマ5 v)\nset size to (80) %\ngo to x: (28) y: (-100)\nshow\n\nwhen I receive [マグマ6 v]\nswitch costume to (マグマ6 v)\nset size to (100) %\ngo to x: (-35) y: (-13)\nshow\n\nwhen I receive [マグマ7 v]\nswitch costume to (マグマ7 v)\nset size to (100) %\ngo to x: (6) y: (13)\nshow\n\nwhen I receive [マグマ8 v]\nswitch costume to (マグマ8 v)\nset size to (100) %\ngo to x: (134) y: (80)\nshow\n\ngo to [front v] layer\n\n@サムネ\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    hide\nend\n\n@タイマー\n\nwhen I start as a clone\nif <(何の数字？) = [タイム]> then\n    go to x: ((120) + ((クローン何番目) * (35))) y: (140)\n    show\n    if <(クローン何番目) = [1]> then\n        forever\n            switch costume to ([ceiling v] of (((タイマー) mod (1000)) / (100)) )\n        end\n    end\n    if <(クローン何番目) = [2]> then\n        forever\n            switch costume to ([ceiling v] of (((タイマー) mod (100)) / (10)) )\n        end\n    end\n    if <(クローン何番目) = [3]> then\n        forever\n            switch costume to ((タイマー) mod (10))\n        end\n    end\nend\n\nwhen flag clicked\nhide\nset [color v] effect to (0)\nset [何の数字？ v] to [タイム]\nset size to (250) %\nset [クローン何番目 v] to [0]\nrepeat (3)\n    change [クローン何番目 v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nwait until <([costume # v] of [ステージ v]) = [11]>\nchange x by (-325)\nchange y by (-178)\n\nwhen I receive [next stage v]\n\n@移動ステージ\n\nwhen flag clicked\ngo to x: (134) y: (-77)\nset size to (100) %\nhide\n\nwhen I receive [移動ステージ v]\nshow\nforever\n    repeat (40)\n        change y by (-3)\n    end\n    repeat (102)\n        change y by (1)\n    end\nend\n\nwhen I receive [goal v]\nhide\nstop [this script v]\n\nforever\n\nwait (100000) seconds\n\n@next\n\nwhen I receive [next stage v]\nstart sound [Rip v]\nclear graphic effects\nrepeat (4)\n    create clone of (_myself_ v)\n    wait (0.05) seconds\nend\n\nwhen flag clicked\nhide\ndelete this clone\n\nwhen I start as a clone\nshow\ngo to [front v] layer\ngo to x: (464) y: (0)\nrepeat (50)\n    change x by ((x position) / (-10))\nend\nrepeat (30)\n    change x by ((x position) / (5))\nend\ndelete this clone\n\n
※日本語は下にあります\n---English---\nThe first and original platformer!\nMove left or right with the left and right arrow keys\nJump with the up arrow key!\n❤ and ⭐, please follow us!\nHope to spread\n\n---日本語---\n初でかつオリジナルプラットフォーマー！\n左右矢印キーで左右に移動\n上矢印キーでジャンプ！\n❤と⭐、フォローお願いします！\n拡散希望