≪ Platformer-25‼ ≫ ≪ プラットフォーマ― 25‼ ≫

Instructions: 【日本語】\n≪ プラットフォーマ― 25‼ ≫\n矢印キーで操作(WASD、スマホでも可能)\n　25コース頑張って作ったので♥と★、フォローをお願いします(_ _)\n\n【English】\n≪ Platformer-25‼ ≫\nOperate with arrow keys (WASD, smartphone can also be used)\nI worked hard to make 25 courses, so please follow me ♥ and ★ (_ _)\n\n傾向にのりたいから拡散よろしく‼

@Stage\n\nwhen flag clicked\nset volume to (60) %\nforever\n    play sound [BGM v] until done\nend\n\nwhen [0 v] key pressed\nset volume to (0) %\n\nwhen [1 v] key pressed\nset volume to (60) %\n\n@プレイヤー\n\nwhen flag clicked\ngo to x: (-200) y: (100)\nset rotation style [left-right v]\nswitch costume to (普通 v)\ngo to [front v] layer\ngo [backward v] (2) layers\nshow\nset [動いていい？ v] to [OK]\nset [ステージ v] to [1]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<<mouse down?> and <[0] < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        if <touching (水 v)?> then\n            change [x v] by (0.5)\n            switch costume to (右 v)\n            create clone of (_myself_ v)\n        else\n            change [x v] by (0.88)\n            switch costume to (右 v)\n            create clone of (_myself_ v)\n        end\n    end\n    if <<<mouse down?> and <(mouse x) < [0]>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        if <touching (水 v)?> then\n            change [x v] by (-0.5)\n            switch costume to (左 v)\n            create clone of (_myself_ v)\n        else\n            change [x v] by (-0.88)\n            switch costume to (左 v)\n            create clone of (_myself_ v)\n        end\n    end\n    if <not <<<<mouse down?> and <(mouse x) < [0]>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> or <<<mouse down?> and <[0] < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>>> then\n        switch costume to (普通 v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (水 v)?> then\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 y by (-5)\n                                    change x by ((0) - (x))\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    else\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 y by (-5)\n                                    change x by ((0) - (x))\n                                    if <<<(mouse y) > (y position)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                                        start sound [壁キック v]\n                                        if <[0] < (x)> then\n                                            set [x v] to [-5]\n                                        else\n                                            set [x v] to [5]\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    end\n    if <touching (水 v)?> then\n        change [y v] by (-0.4)\n    else\n        change [y v] by (-1)\n    end\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 <<<mouse down?> and <[0] < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        if <touching (ステージ v)?> then\n            if <touching (水 v)?> then\n                set [y v] to [5]\n                create clone of (_myself_ v)\n            else\n                set [y v] to [13]\n                create clone of (_myself_ v)\n            end\n        end\n        if <touching (水 v)?> then\n            set [y v] to [5]\n            create clone of (_myself_ v)\n        end\n    end\n    change y by (1)\n    if <[235] < (x position)> then\n        go to x: (-200) y: (100)\n        set [x v] to [0]\n        set [y v] to [0]\n        broadcast (NEXT v) and wait\n    end\n    if <<touching (トゲ v)?> or <(y position) < [-178]>> then\n        start sound [う v]\n        go to x: (-200) y: (100)\n        point in direction (90)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <touching (バネ v)?> then\n        start sound [大ジャンプ v]\n        set [y v] to [20]\n    end\nend\n\nwhen I start as a clone\nhide\nset [ghost v] effect to (55)\nswitch costume to (クローン v)\ngo to [back v] layer\ngo [forward v] (1) layers\nset size to (80) %\nshow\nrepeat (10)\n    change [ghost v] effect by (5)\n    change size by (-5)\nend\ndelete this clone\n\nwhen I receive [次 v]\ngo to x: (-200) y: (100)\npoint in direction (90)\nchange [ステージ v] by (1)\nset [x v] to [0]\nset [y v] to [0]\n\n@ステージ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (ステージ1 v)\ngo to [back v] layer\ngo [forward v] (2) layers\nshow\n\nwhen I receive [ステージ系 次 v]\ngo to [back v] layer\ngo [forward v] (2) layers\nnext costume\n\n@後ろの草とか\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (ステージ1 v)\ngo to [back v] layer\nshow\n\nwhen I receive [ステージ系 次 v]\ngo to [back v] layer\nnext costume\n\n@トゲ\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [back v] layer\ngo [forward v] (1) layers\nswitch costume to (1 v)\nshow\n\nwhen I receive [ステージ系 次 v]\ngo to [back v] layer\ngo [forward v] (1) layers\nnext costume\n\nswitch costume to (4 v)\n\n@バネ\n\nwhen flag clicked\ngo to x: (0) y: (0)\ngo to [back v] layer\ngo [forward v] (1) layers\nswitch costume to (1 v)\nshow\n\nwhen I receive [ステージ系 次 v]\ngo to [back v] layer\ngo [forward v] (1) layers\nnext costume\n\nswitch costume to (4 v)\n\n@水\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (30)\ngo to [front v] layer\ngo [backward v] (1) layers\nswitch costume to (1 v)\nshow\n\nwhen I receive [ステージ系 次 v]\ngo to [front v] layer\ngo [backward v] (1) layers\nnext costume\n\n@NEXT\n\nwhen flag clicked\nset [next v] to [0]\ngo to x: (0) y: (0)\nhide\nforever\n    go to [front v] layer\nend\n\nwhen I receive [next v]\nstart sound [フォッ v]\nswitch costume to (1 v)\nrepeat (2)\n    create clone of (_myself_ v)\n    next costume\n    wait (0.15) seconds\nend\nwait until <(NEXT) = [2]>\nwait (0.8) seconds\nbroadcast (ステージ系 次 v)\nwait until <(NEXT) = [0]>\nbroadcast (次 v)\n\nwhen I start as a clone\nchange [next v] by (1)\ngo to x: (0) y: (350)\nset [ghost v] effect to (0)\nshow\nrepeat until <(round (y position)) = [0]>\n    change y by (((0) - (y position)) / (8))\nend\nwait (0.1) seconds\nrepeat (5)\n    set [ghost v] effect to (20)\nend\nchange [next v] by (-1)\ndelete this clone\n\n@サムネ\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n