*:Platformer:*   Night　＃games　#platformer　＃1
@Stage\n\n@プレイヤー\n\nwhen flag clicked\n１\nforever\n    左右\n    上\n    ２\nend\n\ndefine 始め\nswitch costume to (コスチューム1 v)\ngo to x: (-225) y: (-38)\nwait (0.3) seconds\nset [x v] to [8]\nset [y v] to [5]\n\nwhen flag clicked\nforever\n    if <(stage) = [9]> then\n        hide\n    else\n        show\n    end\nend\n\ndefine 左右\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>>> then\n    switch costume to (コスチューム2 v)\n    change [x v] by (0.9)\nend\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <[0] > (mouse x)>>>> then\n    switch costume to (コスチューム3 v)\n    change [x v] by (-0.9)\nend\nchange x by (X)\nset [x v] to ((X) * (0.9))\n\ndefine 上\nif <touching (地面 v)?> then\n    change y by (1)\nend\nif <touching (地面 v)?> then\n    change y by (1)\nend\nif <touching (地面 v)?> then\n    change y by (1)\nend\nif <touching (地面 v)?> then\n    change y by (1)\nend\nif <touching (地面 v)?> then\n    change y by (-3)\n    change x by ((X) * (-1.16))\n    if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<(mouse y) > [20]> and <mouse down?>>>> then\n        switch costume to (コスチューム1 v)\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 [14]\n    else\n        set [x v] to [0]\n    end\nend\nchange y by (-1)\nif <touching (地面 v)?> then\n    if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<(mouse y) > [20]> and <mouse down?>>>> then\n        set [y v] to [14]\n    end\nend\nchange [y v] by (-1)\nchange y by (Y)\nif <touching (地面 v)?> then\n    change y by ((Y) * (-1))\n    set [y v] to [0]\nend\n\nwhen flag clicked\nforever\n    play sound [Sunshine2 v] until done\nend\n\nwhen I receive [nextstage v]\nif <(stage) = [8]> then\n    set [タイム v] to (timer)\n    show variable [タイム v]\nend\n\ndefine １\nreset timer\nhide variable [stage v]\nhide variable [タイム v]\nshow\nset [stage v] to [1]\n始め\ngo to [front v] layer\n\ndefine ２\nif <(x position) > [239]> then\n    broadcast (nextstage v)\n    change [stage v] by (1)\n    始め\nend\nif <(y position) < [-179]> then\n    broadcast (うわ～死んでるだぁさー v)\n    start sound [ﾀﾋぬ v]\n    始め\nend\nif <touching (とげ v)?> then\n    broadcast (うわ～死んでるだぁさー v)\n    start sound [ﾀﾋぬ v]\n    始め\nend\n\n@地面\n\nwhen I receive [nextstage v]\nnext costume\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (コスチューム１ v)\nforever\n    go to [front v] layer\nend\n\n@光\n\nwhen flag clicked\nforever\n    go to (プレイヤー v)\nend\n\ngo to [back v] layer\n\n@雲\n\nwhen flag clicked\nforever\n    1\n    2\nend\n\ndefine 1\ngo to x: (-307) y: (pick random (148) to (110))\nrepeat (100)\n    change x by (2)\nend\nrepeat until <touching (_edge_ v)?>\n    change x by (2)\nend\nrepeat (30)\n    change x by (2)\nend\nhide\nwait (1) seconds\nshow\n\ndefine 2\ngo to x: (307) y: (pick random (148) to (110))\nrepeat (100)\n    change x by (-2)\nend\nrepeat until <touching (_edge_ v)?>\n    change x by (-2)\nend\nrepeat (30)\n    change x by (-2)\nend\nhide\nwait (1) seconds\nshow\n\nwhen flag clicked\ngo to [front v] layer\n\n@とげ\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\n\nwhen I receive [nextstage v]\nnext costume\n\n@スプライト2\n\nwhen flag clicked\ngo to [back v] layer\n\n@スプライト1\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\n    go to x: (0) y: (0)\nend\n\nchange [x v] by (0.9)\n\n
-------------------日本語---------------------------------------------\n上キー　　　ジャンプ\n右キー　　　右に移動\n左キー　　　左に移動\n難易度★★★★★\n-------------------English--------------------------------------------\nTop key jump\nRight key Move to the right\nLeft key Move to the left\nDifficulty ★★★★★