Food Platformer! V 3.0!!!!
@Stage\n\n@Player\n\nwhen flag clicked\nset [level v] to [1]\nhide\n\nwhen I receive [backstory v]\nshow\nif <(Colour Chosen) = [1]> then\n    switch costume to (1 v)\nelse\n    if <(Colour Chosen) = [2]> then\n        switch costume to (2 v)\n    else\n        if <(Colour Chosen) = [3]> then\n            switch costume to (3 v)\n        else\n            if <(Colour Chosen) = [4]> then\n                switch costume to (4 v)\n            else\n                if <(Colour Chosen) = [5]> then\n                    switch costume to (5 v)\n                else\n                    if <(Colour Chosen) = [6]> then\n                        switch costume to (6 v)\n                    else\n                        if <(Colour Chosen) = [7]> then\n                            switch costume to (7 v)\n                        else\n                            if <(Colour Chosen) = [8]> then\n                                switch costume to (8 v)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Place Player: (x) (y) Set Size To: (size)\ngo to x: (x) y: (y)\nset size to (size) %\n\ndefine Gravity, Platform Detection, Physics....\nforever\n    change [y v] by (-1)\n    if <<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n    end\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > [0]>>> then\n            set [y v] to [17]\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    change y by (y)\n    if <touching (level v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <((mouse y) - (y position)) > [50]>>> and <touching (level v)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<<touching (obstacles v)?> or <(y position) < [-175]>> or <key (r v) pressed?>> then\n        Place Player: [-173] [-100] Set Size To: [40]\n        start sound [Michael Jackson Ow v]\n    end\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        Place Player: [-173] [-100] Set Size To: [40]\n    end\n    if <touching color (#fff27b)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nstop [other scripts in sprite v]\n\nwhen I receive [backstory v]\nset [level v] to [1]\nshow\nPlace Player: [-173] [-100] Set Size To: [40]\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    Gravity, Platform Detection, Physics....\nend\n\nwhen flag clicked\nif <(Level) = [13]> then\n    broadcast (Ending v)\n    stop [other scripts in sprite v]\nend\n\n@Level\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [backstory v]\nshow\n\nwhen flag clicked\nforever\n    if <(Level) = [16]> then\n        broadcast (Ending v)\n        stop [other scripts in sprite v]\n    end\nend\n\nchange [level v] by (1)\n\n@Obstacles\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [backstory v]\nshow\n\nwhen flag clicked\nif <(Level) = [16]> then\n    broadcast (Ending v)\n    stop [other scripts in sprite v]\nend\n\n@Left Button\n\nwhen I receive [backstory v]\nhide\n\nwhen flag clicked\ngo to [front v] layer\nshow\ngo to x: (-52) y: (-115)\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (selected v)\n    else\n        switch costume to (deselected v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        start sound [Collect v]\n        broadcast (Left v)\n        wait until <not <mouse down?>>\n    end\nend\n\nset [colour chosen v] to (costume [number v])\n\n@Right Button\n\nwhen I receive [backstory v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (selected v)\n    else\n        switch costume to (deselected v)\n    end\nend\n\nwhen flag clicked\nshow\ngo to [front v] layer\ngo to x: (52) y: (-115)\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        start sound [Collect v]\n        broadcast (Right v)\n        wait until <not <mouse down?>>\n    end\nend\n\nwhen I receive [green flag v]\nhide\n\n@Player Options\n\nwhen flag clicked\nshow\ngo to [front v] layer\ngo [backward v] (1) layers\nswitch costume to (1 v)\nset [colour chosen v] to [1]\n\nwhen I receive [left v]\nswitch costume to ((costume [number v]) - (1))\nforever\n    set [colour chosen v] to (costume [name v])\n    switch costume to (Colour Chosen)\nend\n\nwhen I receive [left v]\n\nwhen I receive [right v]\n\nwhen I receive [right v]\nnext costume\nforever\n    set [colour chosen v] to (costume [name v])\n    switch costume to (Colour Chosen)\nend\n\nwhen I receive [backstory v]\nhide\n\n@Play Button\n\nwhen I receive [backstory v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (100) %\nshow\ngo to [front v] layer\nclear graphic effects\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (100) %\n    else\n        set size to (100) %\n    end\n    set y to ((([sin v] of ((timer) * (500)) ) * (5)) + (-38))\nend\n\nwhen flag clicked\nforever\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        start sound [Connect v]\n        broadcast (Backstory v)\n        wait until <not <mouse down?>>\n    end\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nbroadcast (Green Flag v)\n\nwhen I receive [green flag v]\nhide\n\nset y to (-115)\n\nwhen I receive [backstory v]\nhide\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nshow\ngo to [front v] layer\ngo [backward v] (4) layers\nforever\n    play sound [JONAS BROTHERS - EVERY SINGLE TIME \(KARAOKE   INSTRUMENTAL   LYRICS\) v] until done\nend\n\nwhen I receive [backstory v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [8]> then\n        show\n    else\n        hide\n    end\nend\n\nif  then\nend\n\n@Sprite3\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [15]> then\n        show\n        switch costume to (costume2 v)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [15]> then\n        show\n        switch costume to (costume2 v)\n    else\n        hide\n    end\nend\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen I receive [ending v]\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\n\n@Sprite5\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nshow\nclear graphic effects\ngo to [front v] layer\ngo to x: (0) y: (0)\n\n@Sprite6\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [12]> then\n        show\n        switch costume to (costume1 v)\n    else\n        hide\n    end\nend\n\n
July 13th 2022\nATTENTION!!!!\nIt turns out, V 3.0 of Food Platformer was finished quicker than I expected! V 3.0 is out right now and it is even more amazing than V 2.0! I will notify you all that commented on this project so you guys won't miss the update (I will include the new characters and levels in the instructions)!\nI hope you all enjoy the new version! Feel free to leave a comment, love, star, and follow! I hope you all have a great rest of your day!\n- LilChknPrm\n\nJuly 13th, 2022\nATTENTION!!!!\nAfter 1 year of posting v 2.0 of food platformer, v 3.0 will be coming out sometime this week along with new characters such as, tofu and avocado, and 2 more new challenging levels (I hope all of you vegans in the comments will enjoy these new characters)!\nGame difficulties or glitches may occur during the working of v 3.0, so I would not recommend playing lol. \nEnjoy this week everybody!\n- LilChknPrm\n\n\nApril 29th, 2021\nATTENTION!!!\nI am working on v 2.0 and so if the game is weird or not working then it is because I am working on the game.\nThank you for noticing - LilChknPrm\nP.S. \nThere will be more characters to choose from and maybe more levels.\n\nWelcome to Food Platformer! Pick between 8 foods:\n-Pepperoni pizza\n-Smiley Fry\n-Chocolate Chip Cookie\n-Donut\n-Fried Egg\n-Burger\n-Tofu Cube\n-Avocado\n\n\n\nInstructions:\nArrow keys to move\nUp arrow to jump\nThere are 15 levels to complete!