DAT POTATO PLATFORMER - MOBILE FRIENDLY

Instructions: Thx for top-loved! 9/18/19\nThx for 10k views! 9/23/29\nThx for top-remixed! 9/26/29\n--------------------\nWelcome to Dat Potato Platformer!\n--------------------\nLove if you like potatoes!\nLove and fav if you love potatoes and love this project!\n--------------------\nUse arrow keys or WASD keys to move around or, if you're on mobile, click dat screen to move.\n\nAvoid dat 1000 degree knife and use dat gloop to bounce!\n-------------------\n19 levels of dat potatoness! NO SKIP\n------------------\n@Good-Website, @AndrewDai, @xamuil2, and @-Imagineer- loved! (I may have missed some Scratchers as I have to open 419 messages)

@Stage\n\nwhen flag clicked\nforever\n    play sound [Fig_Leaf_Rag_SCOTT_JOPLIN_1908_Ragtime_Piano_Roll v] until done\nend\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    switch backdrop to (Level)\nend\n\n@>:D\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@Bouncy Stuff\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@Sprite2\n\nwhen [timer v] > (0.1)\ngo to x: (0) y: (300)\nshow\nglide (0.5) secs to x: (0) y: (0)\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (stop v)\ngo to [front v] layer\nhide\nforever\n    reset timer\nend\n\n@Sprite3\n\nwhen flag clicked\nhide\n\n@That Potato\n\nwhen flag clicked\npoint in direction (90)\nset size to (30) %\nset [y spawn v] to [-89]\nset [x spawn v] to [-209]\ngo to x: (X Spawn) y: (Y Spawn)\nshow\nset size to (50) %\nset [x v] to [0]\nset [y v] to [0]\nforever\n    Platformer engine\nend\n\ndefine Platformer engine\nif on edge, bounce\nchange [y v] by (-0.5)\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    turn left (15) degrees\n    change [x v] by (-1)\nend\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    turn right (15) degrees\n    change [x v] by (1)\nend\nset [x v] to ((x) * (0.9))\nchange x by (x)\nif <touching color (#949494)?> then\n    change y by (1)\n    if <touching color (#949494)?> then\n        change y by (1)\n        if <touching color (#949494)?> then\n            change y by (1)\n            if <touching color (#949494)?> then\n                change y by (1)\n                if <touching color (#949494)?> then\n                    change y by (1)\n                    if <touching color (#949494)?> then\n                        change y by (1)\n                        if <touching color (#949494)?> then\n                            change y by (-6)\n                            change x by ((x) * (-1))\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                set [y v] to [10]\n                                if <(x) > [0]> 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                    end\n                end\n            end\n        end\n    end\nend\nchange y by (y)\nif <touching color (#949494)?> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-0.5)\nif <<touching color (#949494)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n    set [y v] to [10]\nend\nchange y by (0.5)\nif <touching (>:d v)?> then\n    go to x: (X Spawn) y: (Y Spawn)\nend\nif <touching (bouncy stuff v)?> then\n    set [y v] to [15]\nend\nif <(x position) > [213]> then\n    change [level v] by (1)\n    go to x: (X Spawn) y: (Y Spawn)\nend\n\n