Jungle Platformer!
@Stage\n\nwhen flag clicked\nset [ghost v] effect to (20)\n\n@主人公\n\nwhen flag clicked\ngo to [front v] layer\nset size to (20) %\npoint in direction (90)\ngo to x: (-196) y: (-46)\nshow\nset [xのやつ v] to [0]\nset [yのやつ v] to [0]\nforever\n    if <<<mouse down?> and <(mouse x) > (x position)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        change [xのやつ v] by (0.9)\n        point in direction (90)\n    end\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        change [xのやつ v] by (-0.9)\n        point in direction (-90)\n    end\n    set [xのやつ v] to ((xのやつ) * (0.9))\n    change x by (xのやつ)\n    if <touching color (#0d2b0f)?> then\n        change y by (1)\n        if <touching color (#0d2b0f)?> then\n            change y by (1)\n            if <touching color (#0d2b0f)?> then\n                change y by (1)\n                if <touching color (#0d2b0f)?> then\n                    change y by (1)\n                    if <touching color (#0d2b0f)?> then\n                        change y by (1)\n                        if <touching color (#0d2b0f)?> then\n                            change y by (1)\n                            if <touching color (#0d2b0f)?> then\n                                change x by ((0) - (xのやつ))\n                                change y by (-5)\n                                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                    if <[0] < (xのやつ)> then\n                                        set [xのやつ v] to [-7]\n                                    else\n                                        set [xのやつ v] to [7]\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 color (#0d2b0f)?> 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 <(mouse y) > (y position)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <touching color (#0d2b0f)?>> then\n        change [yのやつ v] by (15)\n        start sound [ジャンプ v]\n    else\n        if <touching (バネ v)?> then\n            set [yのやつ v] to [23]\n        end\n    end\n    change y by (1)\n    if <<<mouse down?> and <(y position) > (mouse y)>> or <<<key (down arrow v) pressed?> or <key (s v) pressed?>> and <touching color (#0d2b0f)?>>> then\n        switch costume to (しゃがみ v)\n    else\n        switch costume to (普通 v)\n    end\n    if <<touching color (#ffffff)?> or <[-175] > (y position)>> then\n        point in direction (90)\n        go to x: (-196) y: (-46)\n    end\n    if <[235] < (x position)> then\n        broadcast (Next Stage v)\n        hide\n        point in direction (90)\n        go to x: (-196) y: (-46)\n    end\nend\n\nwhen I start as a clone\nrepeat (15)\n    change [ghost v] effect by (5)\n    change size by (-1)\n    change [color v] effect by (2.2)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [次どぞ v]\nshow\ngo to x: (-196) y: (-46)\n\nwhen [timer v] > (0)\nhide\n\n@地面\n\nwhen flag clicked\nshow\nswitch costume to (1 v)\nset drag mode [not draggable v]\nforever\n    go to x: (0) y: (0)\nend\n\nwhen I receive [next stage v]\nwait (1) seconds\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [4]> then\n        set [ヴァネ v] to [1]\n    else\n        set [ヴァネ v] to [0]\n    end\n    if <(costume [number v]) = [10]> then\n        broadcast (Games Clear‼ v)\n        stop [this script v]\n    end\nend\n\nwhen [timer v] > (0)\nswitch costume to (2 v)\n\n@Next Stage\n\nwhen I receive [next stage v]\ngo to x: (0) y: (0)\nswitch costume to (コスチューム1 v)\nshow\nrepeat (3)\n    wait (0.1) seconds\n    next costume\nend\nwait (1) seconds\nswitch costume to (コスチューム3 v)\nwait (0.1) seconds\nswitch costume to (コスチューム2 v)\nwait (0.1) seconds\nswitch costume to (コスチューム1 v)\nwait (0.1) seconds\nhide\nchange [color v] effect by (25)\nbroadcast (次どぞ v)\n\nwhen flag clicked\nset [color v] effect to (0)\nhide\n\nwhen flag clicked\ngo to [front v] layer\n\n@バネ\n\nwhen flag clicked\nswitch costume to (コスチューム2 v)\ngo to x: (-149) y: (-92)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nforever\n    if <(ヴァネ) = [1]> then\n        show\n        if <touching (主人公 v)?> then\n            switch costume to (コスチューム1 v)\n            wait (0.1) seconds\n            switch costume to (コスチューム2 v)\n        end\n    else\n        hide\n    end\nend\n\nwhen I start as a clone\ngo to x: (20) y: (-92)\nforever\n    if <(ヴァネ) = [1]> then\n        show\n        if <touching (主人公 v)?> then\n            switch costume to (コスチューム1 v)\n            wait (0.1) seconds\n            switch costume to (コスチューム2 v)\n        end\n    else\n        hide\n    end\nend\n\n@スプライト1\n\nwhen flag clicked\nset [time v] to [0]\nshow variable [time v]\nset [終わり？ v] to [0]\nhide variable [☁ best time v]\nhide\n\nwhen [timer v] > (0)\nshow\nhide variable [☁ best time v]\nhide variable [time v]\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen flag clicked\nrepeat until <(終わり？) = [1]>\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen I receive [games clear‼ v]\nset [終わり？ v] to [1]\n\nwhen I receive [games clear‼ v]\nshow variable [☁ best time v]\nforever\n    if <(終わり？) = [1]> then\n        if <(☁ best time) > (time)> then\n            set [☁ best time v] to (time)\n            broadcast (best  time！ v)\n            stop [this script v]\n        end\n    end\nend\n\n@スプライト2\n\nwhen flag clicked\ngo to x: (4) y: (161)\nshow\nset [ghost v] effect to (100)\ngo to [front v] layer\nrepeat (10)\n    change [ghost v] effect by (-10)\n    change y by (-2)\nend\nwait (5) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (2)\nend\nhide\n\nwhen flag clicked\nforever\n    play sound [Different Heaven v] until done\nend\n\nwhen I receive [games clear‼ v]\nshow\nset [ghost v] effect to (100)\ngo to [front v] layer\nrepeat (10)\n    change [ghost v] effect by (-10)\n    change y by (-2)\nend\n\nwhen [timer v] > (0)\nhide\n\n@スプライト3\n\nwhen I receive [best  time！ v]\nshow\n\nwhen flag clicked\nhide\n\nwhen [timer v] > (0)\nhide\n\n
タップor矢印キーorWASDキーで移動！\nTap or arrow keys or WASD keys to move!