Toast - Platformer || #games #all
@Stage\n\n@Blob\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nset rotation style [left-right v]\nshow\nset volume to (100) %\nswitch costume to (costume1 v)\ngo to x: (-196) y: (0)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\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 (#6be044)?> then\n        change y by (1)\n    end\n    if <touching color (#6be044)?> then\n        change y by (1)\n    end\n    if <touching color (#6be044)?> then\n        change y by (1)\n    end\n    if <touching color (#6be044)?> then\n        change y by (1)\n    end\n    if <touching color (#6be044)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> 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 (#6be044)?> 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 <<mouse down?> and <(mouse y) > (y position)>>> and <touching color (#6be044)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<touching color (#666666)?> or <touching color (#ff0000)?>> then\n        switch costume to (costume1 v)\n        wait (0.1) seconds\n        switch costume to (costume1 v)\n        go to x: (-196) y: (0)\n    end\n    if <(x position) > [222]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-196) y: (0)\n    end\n    if <(y position) < [-180]> then\n        go to x: (-196) y: (0)\n    end\n    if <touching (trampoline v)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [mbb-beach v] until done\nend\n\nwhen I receive [message1 v]\ngo to x: (-196) y: (0)\n\nwhen flag clicked\nforever\n    if <<touching color (#666666)?> or <touching color (#0008ff)?>> then\n        switch costume to (costume2 v)\n        wait (0.1) seconds\n        switch costume to (costume1 v)\n        go to x: (-196) y: (50)\n    end\n    if <(x position) > [222]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-196) y: (0)\n    end\n    if <(y position) < [-180]> then\n        go to x: (-196) y: (0)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#666666)?> or <touching color (#ff0000)?>> then\n        play sound [Roblox Death Sound \(Oof\) v] until done\n        rest for (0) beats\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#666666)?> or <touching color (#0008ff)?>> then\n        play sound [Roblox Death Sound \(Oof\) v] until done\n        rest for (0) beats\n    end\nend\n\nwhen flag clicked\nset [time v] to [0]\n\nwhen flag clicked\nwait (5) seconds\nforever\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen backdrop switches to [witch house v]\nstop [all v]\n\nwhen [s v] key pressed\nnext backdrop\ngo to x: (-196) y: (0)\n\nwhen backdrop switches to [ending v]\nswitch costume to (costume2 v)\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@enemy blobs\n\nwhen backdrop switches to [backdrop3 v]\nshow\ngo to x: (13) y: (-9)\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    glide (2) secs to x: (115) y: (-9)\n    glide (2) secs to x: (13) y: (-9)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\nwhen backdrop switches to [backdrop7 v]\nforever\n    glide (5) secs to x: (-100) y: (-9)\n    glide (5) secs to x: (13) y: (-9)\nend\n\nwhen backdrop switches to [backdrop7 v]\nshow\ngo to x: (-100) y: (-9)\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\n@enemy blobs2\n\nwhen backdrop switches to [backdrop7 v]\nshow\ngo to x: (25) y: (-9)\n\nwhen backdrop switches to [backdrop7 v]\nforever\n    glide (2) secs to x: (130) y: (-9)\n    glide (2) secs to x: (25) y: (-9)\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\n@thumbnail\n\nwhen flag clicked\nbroadcast (hello v)\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Trampoline\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop8 v]\nshow\n\nwhen backdrop switches to [ending v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\ngo to x: (-54) y: (56)\n\n
Welcome To The Third Part Of My Platformer DARK!\n\nNew Game: Halloween Clicker \nhttps://scratch.mit.edu/projects/740884198\n\nGot the engine from @JS_Coder\n\n(DARK 4) (Winter Dimension) \nhttps://scratch.mit.edu/projects/626180313\n\n(PLEASE PLAY) \nPurple! (Mobile Friendly platformer.)\nhttps://scratch.mit.edu/projects/624171535\n\n(DARK 2) https://scratch.mit.edu/projects/619623865\n\n(DARK 1) https://scratch.mit.edu/projects/614966609\n\nIf you want to make something for a future platformer made by me with full credit https://scratch.mit.edu/projects/617422412 (Make a tree pls) I'm gonna do a forest platformer.\n\n▶ I need ideas for new updates or games!\n▶ Advertising is allowed!\n▶ If you enjoy please Like, Favorite, or Follow for more!\n▶ Comment any bugs or glitches and i'll fix them.\n▶ NO F4F!\n▶ You are allowed to remix.