Alone || A Platformer  #games #all #alone #platformer #fun

Instructions:                                     ☁ Alone ☁\n                              ☁ A Platformer ☁\n\nPlease propose this to be featured here: https://scratch.mit.edu/studios/4228481/comments/\n\nLet's get this on trending! :P\nTELL UR FRIENDS!!! \n\nI know I haven't made a platformer in a while, so please like and fav! :)\n\nFollow for more great platformers! \nHope you enjoy! :D\n\n                                 ☁ Instructions ☁\n\n• Use the left and right arrow keys, A and D, or tap left or right to move. \n\n• Use the up arrow key, W, or tap up to jump.\n\n• Dodge spikes and don't fall.\n\n• Advance to the next level by touching the right edge.\n\n                                     ☁ Notes ☁\n\n• 1/16/21 Alone is now finished!!! :D Took me 3 days to make it.\n\n                                     ☁ Tags ☁\n\n#games #TrentonTNT #ez #fun #ordinary #all #quality

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Xaf - Nebula v] until done\nend\n\n@Skip\n\nwhen this sprite clicked\nnext backdrop\nbroadcast (up v)\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nshow\ngo to x: (-179) y: (125)\ngo to [front v] layer\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (100) %\n    else\n        set size to (80) %\n    end\nend\n\nwhen backdrop switches to [backdrop11 v]\nhide\n\n@Platformer Engine\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset size to (150) %\nset [ghost v] effect to (0)\nshow\nswitch costume to (big v)\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-201) y: (-59)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [xv v] by (1)\n        switch costume to (costume2 v)\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 [xv v] by (-1)\n        switch costume to (costume3 v)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<<touching color (#0d8abd)?> or <<touching color (#0b749e)?> or <touching color (#085371)?>>> or <<touching color (#ffad2b)?> or <<touching color (#ff8400)?> or <touching color (#e67700)?>>>> then\n        change y by (1)\n        if <<<touching color (#0d8abd)?> or <<touching color (#0b749e)?> or <touching color (#085371)?>>> or <<touching color (#ffad2b)?> or <<touching color (#ff8400)?> or <touching color (#e67700)?>>>> then\n            change y by (1)\n            if <<<touching color (#0d8abd)?> or <<touching color (#0b749e)?> or <touching color (#085371)?>>> or <<touching color (#ffad2b)?> or <<touching color (#ff8400)?> or <touching color (#e67700)?>>>> then\n                change y by (1)\n                if <<<touching color (#0d8abd)?> or <<touching color (#0b749e)?> or <touching color (#085371)?>>> or <<touching color (#ffad2b)?> or <<touching color (#ff8400)?> or <touching color (#e67700)?>>>> then\n                    change y by (1)\n                    if <<<touching color (#0d8abd)?> or <<touching color (#0b749e)?> or <touching color (#085371)?>>> or <<touching color (#ffad2b)?> or <<touching color (#ff8400)?> or <touching color (#e67700)?>>>> then\n                        change y by (1)\n                        if <<<touching color (#0d8abd)?> or <<touching color (#0b749e)?> or <touching color (#085371)?>>> or <<touching color (#ffad2b)?> or <<touching color (#ff8400)?> or <touching color (#e67700)?>>>> then\n                            change x by ((Xv) * (-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 <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <<<touching color (#0d8abd)?> or <<touching color (#0b749e)?> or <touching color (#085371)?>>> or <<touching color (#ffad2b)?> or <<touching color (#ff8400)?> or <touching color (#e67700)?>>>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<<touching color (#0d8abd)?> or <<touching color (#0b749e)?> or <touching color (#085371)?>>> or <<touching color (#ffad2b)?> or <<touching color (#ff8400)?> or <touching color (#e67700)?>>>> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [yv v] to [16]\n        end\n    end\n    if <<touching color (#0e63c5)?> or <touching color (#1281ff)?>> then\n        start sound [Oops v]\n        set [xv v] to [0]\n        set [yv v] to [0]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        broadcast (UNSHRINK v)\n        broadcast (up v)\n    end\n    if <touching (trampoline v)?> then\n        start sound [Big Boing v]\n        set [yv v] to [22]\n    end\n    if <<(x position) > [-230]> and <(y position) < [-179]>> then\n        start sound [Oops v]\n        set [xv v] to [0]\n        set [yv v] to [0]\n        broadcast (UNSHRINK v)\n        broadcast (up v)\n    end\n    if <(x position) > [239]> then\n        go to x: (-197) y: (-63)\n        broadcast (UNSHRINK v)\n        next backdrop\n    end\nend\n\nwhen I receive [shrink v]\nswitch costume to (tiny v)\n\nwhen I receive [up v]\nbroadcast (UNSHRINK v)\nset [ghost v] effect to (0)\nshow\ngo to x: (-201) y: (-59)\n\nwhen I receive [unshrink v]\nswitch costume to (big v)\n\nwhen [down arrow v] key pressed\nbroadcast (SHRINK v)\n\n@TB\n\nwhen flag clicked\nhide\n\n@Love & Fav\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    wait (pick random (17) to (32)) seconds\n    switch costume to (costume1 v)\n    go to x: (0) y: (50)\n    show\n    go to [front v] layer\n    start sound [FOLLOW PLZ v]\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\nif <(Costume) > [0]> then\n    hide\n    stop [this script v]\nend\n\n