Pen Platformer 

Instructions: \n\n日本語は下\n【English】\nThis platform was made with a forest theme\nAim for the goal while avoiding the needles!\nIf you find it even a little interesting, press the stars and hearts!\nYou can operate it by pressing the arrow keys or tapping\n\n\n\n【日本語】\nこのプラットフォーマーは森をテーマにして作りました\n針をよけてゴールを目指しましょう！\n少しでも面白いと感じたら是非星とハートを押してください！\n矢印キーまたはタップして操作してください\n\n\n\n\n\n\n\nゴールした状態で星とハートを押すと…？

@Stage\n\n@Player\n\nwhen flag clicked\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-214) y: (-90)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x velocity v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x velocity v] by (-1)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change x by ((x velocity) * (-1))\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 <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (level v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (15)\n        end\n    end\n    change y by (1)\n    if <(x position) > [160]> then\n        change [level v] by (1)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        go to x: (-214) y: (-91)\n    end\nend\n\nwhen flag clicked\nif <touching (level v)?> then\n    change x by ((x velocity) * (-1))\n    change y by (-5)\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        go to x: (-214) y: (-97)\n    else\n        go to x: (x position) y: (y position)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        forever\n            set [level v] to [10]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@Level\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\ngo to [back v] layer\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (Level)\n    go to [back v] layer\nend\n\nwhen flag clicked\nset [level v] to [1]\n\n@Thumbnail\n\nwhen flag clicked\ngo to [back v] layer\nset [ghost v] effect to (100)\n\n@Skip Button\n\nwhen this sprite clicked\nchange [level v] by (1)\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\nrepeat until <(costume [number v]) = [12]>\n    wait (0.03) seconds\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\nforever\n    go to x: (pick random (-1) to (1)) y: (pick random (49) to (51))\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [8]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nforever\n    if <<(Level) = [1]> or <(Level) = [8]>> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n