Galaxy, A Platformer
@Stage\n\nwhen flag clicked\nforever\n    if <key (9 v) pressed?> then\n        ask [how old am I?] and wait\n        if <(answer) = [14]> then\n            broadcast (cheat v)\n        end\n        if <(answer) = [lol]> then\n            broadcast (lol v)\n        end\n    end\nend\n\n@Player\n\nwhen flag clicked\nswitch costume to (costume3 v)\ngo to x: (-199) y: (-105)\npoint in direction (90)\nshow\nset [xv v] to [0]\nset [yv v] to [0]\n\nwhen flag clicked\nforever\n    if <(x position) > [230]> then\n        go to x: (-199) y: (-105)\n        broadcast (next level v)\n    end\n    if <(y position) < [-178]> then\n        go to x: (-199) y: (-105)\n        start sound [glass breaking v]\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <not <touching color (#00cccc)?>> then\n        change [yv v] by (-0.5)\n        if <key (right arrow v) pressed?> then\n            change [xv v] by (1)\n        end\n        if <key (left arrow v) pressed?> then\n            change [xv v] by (-1)\n        end\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <touching color (#000000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            if <not <touching color (#00cccc)?>> then\n                set [yv v] to [7]\n            end\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#cc0000)?> then\n        go to x: (-199) y: (-105)\n        start sound [glass breaking v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#4c0099)?> then\n        set [yv v] to [14]\n    end\nend\n\nwhen I start as a clone\nset size to (150) %\nchange y by (4)\nswitch costume to (costume1 v)\nrepeat (5)\n    next costume\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <touching color (#4c0099)?> then\n        start sound [beamrifle v]\n        create clone of (_myself_ v)\n        wait (0.3) seconds\n    end\nend\n\nset [xv v] to [40]\n\nwhen flag clicked\nforever\n    if <touching color (#00cc44)?> then\n        set [yv v] to [4]\n        set [xv v] to [30]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00cc44)?> then\n        set [yv v] to [0.5]\n        set [xv v] to [10]\n        play sound [beamrifle v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#cccc00)?> then\n        set [yv v] to [-13]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#cccc00)?> then\n        start sound [beamrifle2 v]\n        wait (0.3) seconds\n    end\nend\n\n@Light\n\nwhen flag clicked\ngo [backward v] (100) layers\nswitch costume to (costume2 v)\nforever\n    wait (pick random (0.5) to (3)) seconds\n    repeat (10)\n        change [ghost v] effect by (1)\n    end\n    repeat (10)\n        change [ghost v] effect by (-1)\n    end\n    set [ghost v] effect to (50)\nend\n\nwhen flag clicked\nset size to (100) %\nset [ghost v] effect to (50)\nforever\n    broadcast (go v)\nend\n\nwhen I receive [cheat v]\nswitch costume to (costume3 v)\n\nwhen I receive [lol v]\nswitch costume to (lol v)\n\nset x to ([x position v] of [player v])\nset y to ([y position v] of [player v])\n\nwhen I receive [go v]\ngo to (player v)\n\n@World\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (1 v)\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <<key (m v) pressed?> and <key (k v) pressed?>> then\n        next costume\n        wait until <not <<key (m v) pressed?> and <key (k v) pressed?>>>\n    end\nend\n\nswitch costume to (37 v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [37]> then\n        broadcast (Show Spikes 1 v)\n        stop [this script v]\n    end\nend\n\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [38]> then\n        broadcast (endspikes v)\n    end\nend\n\n@start\n\nwhen flag clicked\nset [start v] to [1]\nstart sound [13 v]\nswitch costume to (presents v)\ngo to [front v] layer\nset [ghost v] effect to (100)\nshow\nwait (2) seconds\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\nwait (4) seconds\nrepeat (100)\n    change [ghost v] effect by (1)\nend\nswitch costume to (menu v)\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\nwait (4) seconds\nrepeat (100)\n    change volume by (-1)\n    change [ghost v] effect by (1)\nend\nhide\nbroadcast (Start v)\n\nwhen I receive [start v]\nhide\n\nwhen I receive [start v]\nset [start v] to [0]\nstop all sounds\nset volume to (100) %\nforever\n    play sound [City Lights v] until done\nend\n\nwhen flag clicked\nforever\n    if <(start) = [1]> then\n        if <key (s v) pressed?> then\n            broadcast (Start v)\n        end\n    end\nend\n\n@fade\n\nwhen flag clicked\nshow\n\nwhen I receive [start v]\nhide\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\n
New Clicker Game Out! :D https://scratch.mit.edu/projects/534372263/\n\nNew Game Out! :D https://scratch.mit.edu/projects/534776464/\n\n#3 On Trending 21-5-19! :D Thanks for getting my friends game trending to #10! :D\n\nPlease love and fav my friends game! :D https://scratch.mit.edu/projects/530113459/\n\n\nNew Animation Out! :D https://scratch.mit.edu/projects/531242748/\n\nArrow Keys to Move Or WASD It is also mobile Friendly\n\nComment What Time You got My best time is 40 seconds\n\nPlease Love and Fav! :D\n\nSorry If it's Generic I tryed my best not for it to be\n\n