＞＞forest＜＜　（platformer）


@Stage\n\nwhen flag clicked\nforever\n    play sound [thefatrat-unity v] until done\nend\n\n@player\n\nwhen [s v] key pressed\nif <not <(level) = [16]>> then\n    change [level v] by (1)\n    go to x: (-182) y: (-110)\nend\n\nwhen [r v] key pressed\ngo to x: (-182) y: (-110)\n\nwhen flag clicked\nshow\nset size to (100) %\nswitch backdrop to (배경 1 v)\ngo to x: (-182) y: (-110)\nset [xv v] to [0]\nset [yv v] to [0]\nset [level v] to [1]\nforever\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (ground v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [13]\n        end\n    end\n    change y by (1)\n    if <touching (death v)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        wait (0.5) seconds\n        go to x: (-182) y: (-110)\n        set [ghost v] effect to (0)\n        set [xv v] to [0]\n        set [yv v] to [0]\n    end\n    if <touching (bouncy v)?> then\n        set [yv v] to [25]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [235]> then\n        change [level v] by (1)\n        go to x: (-182) y: (-110)\n    end\nend\n\n@ground\n\nwhen flag clicked\nswitch costume to (모양 1 v)\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\n@death\n\nwhen flag clicked\nswitch costume to (모양 1 v)\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\n@bouncy\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\n@drawing\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (모양 1 v)\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\n@thumbnail\n\nwhen flag clicked\nforever\n    show\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nforever\n    play sound [thefatrat-unity v] until done\nend\n\n