space platformer #all #games

Instructions: New awesome game! https://scratch.mit.edu/projects/428617094\n===Escape===\nADS AND SPAM WILL BE REPORTED!\nIf you liked this, follow me, I have even better ones planned @Darkstar177\n>Use WASD, Arrow Keys, or Mobile to move.\n>Click the player to change it's color.\n>Avoid Spikes and Saws.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nYou got scroll trolled >:)

@Stage\n\nwhen flag clicked\nforever\n    play sound [Shy Guy \(YI_ Make Eggs, Throw Eggs\) v] until done\nend\n\nwhen flag clicked\nforever\n    if <<(Stage#) = [1]> or <<(Stage#) = [2]> or <(Stage#) = [3]>>> then\n        switch backdrop to (backdrop1 v)\n    else\n        if <(Stage#) = [4]> then\n            switch backdrop to (backdrop2 v)\n        else\n            if <not <<(Stage#) = [1]> or <<(Stage#) = [2]> or <<(Stage#) = [3]> or <(Stage#) = [4]>>>>> then\n                switch backdrop to (backdrop3 v)\n            end\n        end\n    end\nend\n\n@Player\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (-180) y: (-80)\nRun\n\ndefine Run\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n        switch costume to (costume3 v)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-1)\n        switch costume to (costume2 v)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<touching color (#e9c530)?> or <<touching color (#d8b62d)?> or <touching color (#c9a92a)?>>> then\n        change y by (1)\n        if <<touching color (#e9c530)?> or <<touching color (#d8b62d)?> or <touching color (#c9a92a)?>>> then\n            change y by (1)\n            if <<touching color (#e9c530)?> or <<touching color (#d8b62d)?> or <touching color (#c9a92a)?>>> then\n                change y by (1)\n                if <<touching color (#e9c530)?> or <<touching color (#d8b62d)?> or <touching color (#c9a92a)?>>> then\n                    change y by (1)\n                    if <<touching color (#e9c530)?> or <<touching color (#d8b62d)?> or <touching color (#c9a92a)?>>> then\n                        change y by (1)\n                        if <<touching color (#e9c530)?> or <<touching color (#d8b62d)?> or <touching color (#c9a92a)?>>> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> 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 (#e9c530)?> or <<touching color (#d8b62d)?> or <touching color (#c9a92a)?>>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#e9c530)?> or <<touching color (#d8b62d)?> or <touching color (#c9a92a)?>>> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [15]\n        end\n    end\n    if <touching color (#e2b500)?> then\n        set [yv v] to [22]\n    end\n    change y by (1)\nend\n\nif <(costume [number v]) = [1]> then\n    switch costume to (costume1 v)\nelse\n    if <(costume [number v]) = [3]> then\n        switch costume to (costume4 v)\n    end\nend\nwait until <touching color (#e9c530)?>\nif <(costume [number v]) = [2]> then\n    switch costume to (costume3 v)\nelse\n    if <(costume [number v]) = [4]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#d9c679)?> or <touching color (#c4b36e)?>> then\n        go to x: (-180) y: (-80)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (nextstage v)?> then\n        go to x: (-180) y: (-80)\n        change [stage# v] by (1)\n    end\nend\n\nrepeat until <<not <key (up arrow v) pressed?>> or <<(Yv) = [15]> or <(Yv) > [15]>>>\n    change [yv v] by (5)\nend\n\nwhen [r v] key pressed\ngo to x: (-180) y: (-80)\n\n@Stage\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (costume3 v)\nforever\n    go to x: (0) y: (0)\n    switch costume to (Stage#)\nend\n\nset [stage# v] to [7]\n\ngo [forward v] (1) layers\n\n@PlayerShadow\n\nwhen flag clicked\nswitch costume to (costume2 v)\nshow\ngo to [back v] layer\nforever\n    go to (player v)\nend\n\nwhen flag clicked\nforever\n    if <<(Stage#) = [5]> or <(Stage#) > [5]>> then\n        switch costume to (costume3 v)\n    else\n        switch costume to (costume2 v)\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\n\ngo to [front v] layer\n\n@Coin1\n\nwhen flag clicked\nforever\n    if <(Stage#) = [1]> then\n        show\n        go to x: (86) y: (1)\n        wait until <not <(Stage#) = [1]>>\n    end\n    if <(Stage#) = [2]> then\n        show\n        go to x: (33) y: (-70)\n        wait until <not <(Stage#) = [2]>>\n    end\n    if <(Stage#) = [3]> then\n        hide\n    end\n    if <(Stage#) = [4]> then\n        show\n        go to x: (163) y: (79)\n        wait until <not <(Stage#) = [4]>>\n    end\n    if <(Stage#) = [5]> then\n        show\n        go to x: (179) y: (95)\n        wait until <not <(Stage#) = [5]>>\n    end\n    if <(Stage#) = [6]> then\n        show\n        go to x: (123) y: (59)\n        wait until <not <(Stage#) = [6]>>\n    end\n    if <(Stage#) = [7]> then\n        hide\n    end\n    if <(Stage#) = [8]> then\n        hide\n    end\n    if <(Stage#) = [9]> then\n        show\n        go to x: (135) y: (145)\n        wait until <not <(Stage#) = [9]>>\n    end\nend\n\ngo to x: (179) y: (18)\n\nwhen flag clicked\nhide\nset [coins v] to [0]\nshow\nswitch costume to (costume1 v)\nforever\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        start sound [Coin2 v]\n        hide\n        change [coins v] by (1)\n    end\nend\n\n@Coin2\n\nwhen flag clicked\nforever\n    if <(Stage#) = [1]> then\n        show\n        go to x: (29) y: (-14)\n        wait until <not <(Stage#) = [1]>>\n    end\n    if <(Stage#) = [2]> then\n        show\n        go to x: (5) y: (-56)\n        wait until <not <(Stage#) = [2]>>\n    end\n    if <(Stage#) = [3]> then\n        hide\n    end\n    if <(Stage#) = [4]> then\n        show\n        go to x: (132) y: (79)\n        wait until <not <(Stage#) = [4]>>\n    end\n    if <(Stage#) = [5]> then\n        show\n        go to x: (148) y: (84)\n        wait until <not <(Stage#) = [5]>>\n    end\n    if <(Stage#) = [6]> then\n        show\n        go to x: (65) y: (41)\n        wait until <not <(Stage#) = [6]>>\n    end\n    if <(Stage#) = [7]> then\n        hide\n    end\n    if <(Stage#) = [8]> then\n        hide\n    end\n    if <(Stage#) = [9]> then\n        show\n        go to x: (103) y: (139)\n        wait until <not <(Stage#) = [9]>>\n    end\nend\n\nwhen flag clicked\nhide\nset [coins v] to [0]\nshow\nswitch costume to (costume1 v)\nforever\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        start sound [Coin2 v]\n        hide\n        change [coins v] by (1)\n    end\nend\n\n@Coin3\n\nwhen flag clicked\nset [stage# v] to [1]\nforever\n    if <(Stage#) = [1]> then\n        show\n        go to x: (57) y: (1)\n        wait until <not <(Stage#) = [1]>>\n    end\n    if <(Stage#) = [2]> then\n        show\n        go to x: (-23) y: (-70)\n        wait until <not <(Stage#) = [2]>>\n    end\n    if <(Stage#) = [3]> then\n        hide\n    end\n    if <(Stage#) = [4]> then\n        show\n        go to x: (103) y: (59)\n        wait until <not <(Stage#) = [4]>>\n    end\n    if <(Stage#) = [5]> then\n        show\n        go to x: (210) y: (84)\n        wait until <not <(Stage#) = [5]>>\n    end\n    if <(Stage#) = [6]> then\n        show\n        go to x: (93) y: (59)\n        wait until <not <(Stage#) = [6]>>\n    end\n    if <(Stage#) = [7]> then\n        hide\n    end\n    if <(Stage#) = [8]> then\n        hide\n    end\n    if <(Stage#) = [9]> then\n        show\n        go to x: (167) y: (139)\n        wait until <not <(Stage#) = [9]>>\n    end\nend\n\ngo to x: (213) y: (3)\n\nwhen flag clicked\nhide\nset [coins v] to [0]\nshow\nswitch costume to (costume1 v)\nforever\n    next costume\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        start sound [Coin2 v]\n        hide\n        change [coins v] by (1)\n    end\nend\n\n@NextStage\n\nwhen flag clicked\nshow\nset [stage# v] to [1]\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nforever\n    if <(Stage#) = [10]> then\n        hide\n    end\nend\n\n@MovingPlatform\n\nwhen flag clicked\nhide\ngo to x: (120) y: (-120)\nforever\n    if <(Stage#) = [3]> then\n        show\n        go to x: (120) y: (-120)\n        wait until <not <(Stage#) = [3]>>\n    end\nend\n\nwhen flag clicked\ngo to x: (120) y: (-120)\nforever\n    set y to ((-60) + (([sin v] of (((timer) - (1)) * (30)) ) * (90)))\nend\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (6) layers\nforever\n    if <not <(Stage#) = [3]>> then\n        hide\n    else\n        show\n    end\nend\n\n@PlatformShadow\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    go to (movingplatform v)\nend\n\nwhen flag clicked\ngo to [back v] layer\ngo [backward v] (6) layers\nforever\n    if <not <(Stage#) = [3]>> then\n        hide\n    else\n        show\n    end\nend\n\n@Background\n\nwhen flag clicked\ngo to x: (-194) y: (136)\n\n@Tens\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [front v] layer\nset size to (150) %\ngo to x: (-218) y: (148)\nshow\nforever\n    if <(Coins) > [9]> then\n        switch costume to ((((Coins) - ((Coins) mod (10))) / (10)) + (1))\n    else\n        switch costume to (costume1 v)\n    end\nend\n\n@Ones\n\nwhen flag clicked\ngo to [front v] layer\nset size to (150) %\ngo to x: (-197) y: (148)\nshow\nforever\n    if <(Coins) > [10]> then\n        switch costume to (((Coins) mod (10)) + (1))\n    else\n        switch costume to ((Coins) + (1))\n    end\nend\n\n