Bread-a platformer
@Stage\n\n@Sprite1\n\nwhen flag clicked\nshow\n\nwhen flag clicked\ngo to x: (-197) y: (-23)\nhide variable [y v]\nhide variable [x v]\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    if <key (right arrow v) pressed?> 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 color (#795548)?> then\n        change y by (1)\n    end\n    if <touching color (#795548)?> then\n        change y by (1)\n    end\n    if <touching color (#795548)?> then\n        change y by (1)\n    end\n    if <touching color (#795548)?> then\n        change y by (1)\n    end\n    if <touching color (#795548)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> 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 color (#795548)?> 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?> and <touching color (#795548)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching (spikes v)?> then\n        go to x: (-177) y: (-30)\n        start sound [Oops v]\n    end\n    if <(x position) > [232]> then\n        broadcast (message1 v)\n        go to x: (-176) y: (-40)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [4559513546391552 v] until done\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffe866)?> then\n        go to x: (-176) y: (-40)\n    end\nend\n\n@color2\n\nwhen flag clicked\ngo to [back v] layer\n\n@spikes\n\nwhen flag clicked\nswitch costume to (spikes1 v)\n\nwhen I receive [message1 v]\nnext costume\n\n@ground\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        broadcast (butter1 v) and wait\n    else\n        broadcast (nobutter1 v) and wait\n    end\nend\n\nwhen I receive [message1 v]\nnext costume\n\nwhen I receive [message2 v]\nforever\n    hide\n    go to [back v] layer\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [4]> then\n        broadcast (butter v) and wait\n    else\n        broadcast (nobutter v) and wait\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [8]> then\n        broadcast (butter2 v) and wait\n    else\n        broadcast (nobutter2 v) and wait\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [10]> then\n        broadcast (plz v) and wait\n    else\n        broadcast (noplz v) and wait\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\n\n@Sprite3\n\nwhen flag clicked\nhide\n\n@botter\n\nwhen flag clicked\nhide\nforever\n    next costume\n    wait (0) seconds\n    wait (0) seconds\nend\n\nwhen I receive [butter v]\nshow\ngo to x: (83) y: (-132)\n\nwhen I receive [nobutter v]\nhide\n\n@Sprite4\n\nwhen I receive [nobutter1 v]\nhide\n\nwhen I receive [butter1 v]\nshow\ngo to x: (83) y: (-132)\n\nwhen flag clicked\nhide\nforever\n    next costume\n    wait () seconds\n    wait () seconds\nend\n\n@Sprite5\n\nwhen I receive [plz v]\nshow\n\ngo to x: (36) y: (28)\n\nwhen I receive [noplz v]\nhide\n\ngo to [front v] layer\n\nwhen flag clicked\n\n@bitter\n\nwhen I receive [nobutter2 v]\nhide\n\nwhen I receive [butter2 v]\nshow\ngo to x: (83) y: (-132)\n\nwhen flag clicked\nhide\nforever\n    next costume\n    wait () seconds\n    wait () seconds\nend\n\n
Yes the music will get annoying.\nThis is my FIRST platformer so ❤ and star please\nAnyways....\n\nYou are a piece of bread and you must survive. Use the arrow keys to move and stuff, knives and butter kill you. This is supposed to be like a classic pixel game. Well that's all so yea.....