Simple Platformer 2
@Stage\n\nwhen flag clicked\nset volume to (50) %\nforever\n    play sound [12707 v] until done\nend\n\n@キャラ\n\nwhen I receive [大ジャンプ v]\nstart sound [大ジャンプ v]\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to [front v] layer\nset [ステージ v] to [1]\nswitch costume to (キャラ1 v)\nset size to (50) %\nset rotation style [left-right v]\nshow\ngo to x: (-220) y: (-50)\nset [速度x v] to [0]\nset [速度y v] to [0]\nrepeat until <(ステージ) = [14]>\n    create clone of (_myself_ v)\n    change [速度y v] by (-0.8)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        point in direction (-90)\n        change [速度x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        point in direction (90)\n        change [速度x v] by (1)\n    end\n    set [速度x v] to ((速度x) * (0.9))\n    change x by (速度x)\n    if <touching color (#10ff00)?> then\n        change y by (1)\n    end\n    if <touching color (#10ff00)?> then\n        change y by (1)\n    end\n    if <touching color (#10ff00)?> then\n        change y by (1)\n    end\n    if <touching color (#10ff00)?> then\n        change y by (1)\n    end\n    if <touching color (#10ff00)?> then\n        change y by (-4)\n        change x by ((速度x) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n            set [速度y v] to [10]\n            broadcast (ジャンプ v)\n            if <([abs v] of (速度x) ) = (速度x)> then\n                set [速度x v] to [-10]\n            else\n                set [速度x v] to [10]\n            end\n        else\n            set [速度x v] to [0]\n        end\n    end\n    change y by (速度y)\n    if <touching color (#10ff00)?> then\n        change y by ((0) - (速度y))\n        set [速度y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> and <touching color (#10ff00)?>> or <<<mouse down?> and <(y position) < (mouse y)>> and <touching color (#10ff00)?>>> then\n        set [速度y v] to [13]\n        broadcast (ジャンプ v)\n    end\n    change y by (1)\n    if <[239] < (x position)> then\n        change [ステージ v] by (1)\n        go to x: (-220) y: (-50)\n    end\n    if <<<(y position) < [-178]> or <touching color (#ff5151)?>> or <touching (敵キャラ v)?>> then\n        go to x: (-220) y: (-50)\n        broadcast (死亡 v)\n    end\n    if <touching color (#51bdc9)?> then\n        set [速度y v] to [15]\n        broadcast (大ジャンプ v)\n    end\n    if <(ステージ) = [7]> then\n        if <touching (ワープ1 v)?> then\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            go to (ワープ2 v)\n            repeat (10)\n                change [ghost v] effect by (-10)\n            end\n            clear graphic effects\n            broadcast (ワープ消す v)\n        end\n    end\nend\nstop [all v]\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    switch costume to (キャラ1残像 v)\nelse\n    switch costume to (キャラ2残像 v)\nend\nclear graphic effects\nset size to (50) %\nrepeat (5)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nwhen I receive [ジャンプ v]\nstart sound [ジャンプ v]\n\nwhen [timer v] > (0)\nhide\n\nwhen I receive [死亡 v]\nstart sound [しょげる v]\n\nwhen flag clicked\nforever\n    if <<key (down arrow v) pressed?> or <<mouse down?> and <(mouse y) < [-105]>>> then\n        switch costume to (キャラ2 v)\n    else\n        switch costume to (キャラ1 v)\n    end\nend\n\n@敵キャラ\n\nwhen I receive [ジャンプ v]\nstart sound [ジャンプ v]\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to [front v] layer\nset [ステージ v] to [1]\nswitch costume to (キャラ1 v)\nset size to (50) %\nset rotation style [left-right v]\ngo to x: (89) y: (-133)\nset [速度x v] to [0]\nset [速度y v] to [0]\nforever\n    if <(ステージ) = [9]> then\n        show\n        create clone of (_myself_ v)\n        if on edge, bounce\n        move (7) steps\n    else\n        hide\n    end\nend\n\nwhen I start as a clone\nswitch costume to (キャラ2 v)\nclear graphic effects\nset size to (50) %\nrepeat (5)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nwhen I receive [死亡 v]\nstart sound [しょげる v]\n\nwhen I receive [大ジャンプ v]\nstart sound [大ジャンプ v]\n\nwhen [timer v] > (0)\nhide\n\n@ステージ\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (ステージ)\nend\n\nwhen [timer v] > (0)\nhide\n\n@ワープ1\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to x: (-65) y: (-41)\nhide\nforever\n    if <(ステージ) = [7]> then\n        show\n    end\nend\n\nwhen I receive [ワープ消す v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen [timer v] > (0)\nhide\n\n@ワープ2\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to x: (65) y: (-41)\nhide\nforever\n    if <(ステージ) = [7]> then\n        show\n    end\nend\n\nwhen I receive [ワープ消す v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen [timer v] > (0)\nhide\n\n@スプライト1\n\nwhen flag clicked\npoint in direction (90)\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\ngo to [front v] layer\nshow\nset [ghost v] effect to (100)\nswitch backdrop to (背景2 v)\nshow\npoint in direction (120)\nrepeat (10)\n    change [ghost v] effect by (-10)\n    turn left (3) degrees\nend\n\n
＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿\n-----------------日本語の説明は下にあります----------------\n￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣￣\n【English】\n＝≪how to play≫＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝\nUse the left key to move to the left and the right key to move to the right.\nJump with the up key. Crouch down. When it hits red, you go back to the beginning of the stage...\nTouch the blue and jump!\n＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝\n【日本語】\n＝≪遊び方≫＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝\n左キーで左、右キーで右に動きます。\n上キーでジャンプ。下ーでしゃがみます。赤色に当たると、そのステージの初めに戻ります...\n青に触れると大ジャンプ！\n＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝