Platformer || A Platformer
@Stage\n\nwhen I receive [start the project v]\nforever\n    play sound [Unity v] until done\nend\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@Intro\n\nwhen flag clicked\nswitch backdrop to (intro v)\nswitch costume to (grab v)\ngo to x: (350) y: (-230)\nshow\nglide (1.5) secs to x: (0) y: (0)\nswitch costume to (done v)\nrepeat (4)\n    wait (0.1) seconds\n    next costume\nend\nwait (0.5) seconds\nbroadcast (start the project v)\nhide\n\n@square\n\nwhen flag clicked\ngo to x: (-210) y: (-120)\nhide\n\nwhen I receive [start the project v]\nshow\nforever\n    if <(y position) = [-180]> then\n        go to x: (-210) y: (-120)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (ball right v)\n        change [x v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (ball left v)\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 (#00d60f)?> or <<touching color (#000000)?> or <touching color (#e70000)?>>> then\n        change y by (1)\n        if <<touching color (#00d60f)?> or <<touching color (#000000)?> or <touching color (#e70000)?>>> then\n            change y by (1)\n            if <<touching color (#00d60f)?> or <<touching color (#000000)?> or <touching color (#e70000)?>>> then\n                change y by (1)\n                if <<touching color (#00d60f)?> or <<touching color (#000000)?> or <touching color (#e70000)?>>> then\n                    change y by (1)\n                    if <<touching color (#00d60f)?> or <<touching color (#000000)?> or <touching color (#e70000)?>>> then\n                        change y by (1)\n                        if <<touching color (#00d60f)?> or <<touching color (#000000)?> or <touching color (#e70000)?>>> then\n                            change x by ((X) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-5]\n                                else\n                                    set [x v] to [5]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <<touching color (#00d60f)?> or <<touching color (#000000)?> or <touching color (#e70000)?>>> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#00d60f)?> or <<touching color (#000000)?> or <touching color (#e70000)?>>> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <<touching color (#ff0000)?> or <(y position) < [-180]>> then\n        broadcast (death v)\n        go to x: (-210) y: (-110)\n    end\n    if <(x position) > [230]> then\n        go to x: (-210) y: (-110)\n        broadcast (next v)\n    end\n    if <touching color (#ff9400)?> then\n        set [y v] to [24]\n    end\n    if <touching color (#003fff)?> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [10]\n        else\n            set [y v] to [-1]\n        end\n        if <key (down arrow v) pressed?> then\n            set [y v] to [-5]\n        end\n    end\nend\n\n@level\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [start the project v]\nshow\nswitch backdrop to (i'm blue v)\n\n
Instructions are in-game.\n\nThis is a platformer which aims at representing how a bunch of platformers on Scratch are like.\n\nCriticism is obviously allowed, but I don't want you saying "i hate you lol" in the comments just because of my opinion on these types of platformers. If you like them, that's perfectly fine, just don't get salty over my opinion.