猫 プラットフォーマー/Cat platformer
@Stage\n\nwhen flag clicked\nforever\n    play sound [Inferno v] until done\nend\n\n@猫\n\nwhen flag clicked\ngo to [front v] layer\npoint in direction (90)\nshow\nswitch costume to (頭 v)\nrepeat (7)\n    create clone of (_myself_ v)\n    next costume\nend\nhide\n\nwhen I start as a clone\ngo to [back v] layer\nforever\n    go to (本体 v)\nend\n\nwhen I start as a clone\nforever\n    if <<(costume [number v]) = [1]> or <(costume [number v]) = [3]>> then\n        set [上がる数 v] to [2]\n        repeat (20)\n            change [上がる数 v] by (-0.1)\n            change y by (上がる数)\n        end\n        repeat (20)\n            change [上がる数 v] by (0.1)\n            change y by (上がる数)\n        end\n    else\n        if <(costume [number v]) = [2]> then\n            repeat (30)\n                turn right ((上がる数) / (5)) degrees\n            end\n            point in direction (90)\n        else\n            if <(costume [number v]) = [4]> then\n                repeat (30)\n                    turn left ((上がる数) / (5)) degrees\n                end\n                point in direction (90)\n            else\n                if <(costume [number v]) = [5]> then\n                    if <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> then\n                        if <touching (地面 v)?> then\n                            turn left (3) degrees\n                            repeat (2)\n                                move (5) steps\n                            end\n                            turn right (3) degrees\n                            repeat (2)\n                                move (5) steps\n                            end\n                            turn right (3) degrees\n                            repeat (2)\n                                move (-5) steps\n                            end\n                            turn left (3) degrees\n                            repeat (2)\n                                move (-5) steps\n                            end\n                        end\n                    else\n                        go to (本体 v)\n                    end\n                else\n                    if <(costume [number v]) = [6]> then\n                        if <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> then\n                            if <touching (地面 v)?> then\n                                turn right (3) degrees\n                                repeat (2)\n                                    move (-5) steps\n                                end\n                                turn left (3) degrees\n                                repeat (2)\n                                    move (-5) steps\n                                end\n                                turn left (3) degrees\n                                repeat (2)\n                                    move (5) steps\n                                end\n                                turn right (3) degrees\n                                repeat (2)\n                                    move (5) steps\n                                end\n                            end\n                        else\n                            go to (本体 v)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [2]> then\n        if <key (right arrow v) pressed?> then\n            go to [front v] layer\n        end\n        if <key (left arrow v) pressed?> then\n            go to [back v] layer\n        end\n    end\n    if <(costume [number v]) = [4]> then\n        if <key (right arrow v) pressed?> then\n            go to [back v] layer\n        end\n        if <key (left arrow v) pressed?> then\n            go to [front v] layer\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <key (right arrow v) pressed?> then\n        if <not <<<(costume [number v]) = [2]> or <(costume [number v]) = [4]>> or <(costume [number v]) = [7]>>> then\n            set rotation style [left-right v]\n            point in direction (90)\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        if <not <<<(costume [number v]) = [2]> or <(costume [number v]) = [4]>> or <(costume [number v]) = [7]>>> then\n            set rotation style [left-right v]\n            point in direction (-90)\n        end\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [7]> then\n        if <key (right arrow v) pressed?> then\n            set rotation style [left-right v]\n            point in direction (90)\n        end\n        if <key (left arrow v) pressed?> then\n            set rotation style [left-right v]\n            point in direction (-90)\n        end\n    end\nend\n\n@本体\n\nwhen flag clicked\n初期設定\nset [ghost v] effect to (100)\nset [ステージ v] to [1]\nforever\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((X) * (0.82))\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?> then\n                                    if <(X) > [0]> then\n                                        set [x v] to [-8]\n                                    else\n                                        set [x v] to [8]\n                                    end\n                                    set [y v] to [10]\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?> then\n        if <touching (地面 v)?> then\n            set [y v] to [13]\n            start sound [Jump v]\n        end\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        初期設定\n        change [ステージ v] by (1)\n    end\n    if <(y position) < [-185]> then\n        初期設定\n    end\nend\n\nshow\n\ngo to x: (0) y: (0)\n\ndefine 初期設定\nhide\nclear graphic effects\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-220) y: (82)\nset [ghost v] effect to (100)\nshow\n\n@地面\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\nend\n\n@イカ\n\nwhen flag clicked\npoint in direction (90)\nforever\n    if <(ステージ) = [3]> then\n        switch costume to (コスチューム1 v)\n        go to x: (59) y: (-96)\n        show\n        wait until <(ステージ) = [4]>\n        hide\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (本体 v)?> then\n        set [y v] to [15]\n        repeat (10)\n            switch costume to (pick random (2) to (4))\n            create clone of (_myself_ v)\n        end\n        hide\n    end\nend\n\nhide\n\nwhen I start as a clone\npoint in direction (90)\nturn right (pick random (0) to (360)) degrees\nrepeat (10)\n    move (10) steps\nend\nwait (1) seconds\ndelete this clone\n\nhide\n\n@サムネ\n\nwhen flag clicked\nhide\n\n
矢印キーのみの操作です\nステージは少ないですが、♥と★押してください、お願いします