//SATURN// A Mobile Platformer                                       #games
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Plugged by -Xaf- v] until done\nend\n\nwhen I receive [game over v]\nswitch backdrop to (game over v)\n\n@Player\n\nwhen flag clicked\nshow\nswitch costume to (right v)\nset [level v] to [1]\nswitch costume to (right v)\ngo to x: (-159) y: (-42)\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        switch costume to (right v)\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        switch costume to (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 (ground levels v)?> then\n        Speedy\n        if <touching (ground levels v)?> then\n            change y by (-6)\n            X Collision\n            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n                set [y v] to [12]\n                if <([abs v] of (X) ) = (X)> then\n                    set [x v] to [-8]\n                else\n                    set [x v] to [8]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n    end\n    change y by (Y)\n    if <touching (ground levels v)?> then\n        Y Collision\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <<(y position) < (mouse y)> and <(Y) < [0]>>>>> then\n            set [y v] to [14]\n        else\n            set [y v] to [0]\n        end\n    end\n    if <(x position) > [255]> then\n        go to x: (-159) y: (-42)\n        change [level v] by (1)\n        set [x v] to [0]\n        set [y v] to [0]\n        broadcast (Next v)\n    end\n    if <<touching (dangers v)?> and <touching color (#ff0000)?>> then\n        Death\n    end\nend\n\ndefine Speedy\nrepeat (6)\n    if <touching (ground levels v)?> then\n        change y by (1)\n    end\nend\n\ndefine Y Collision\nrepeat until <not <touching (ground levels v)?>>\n    if <(Y) > [0]> then\n        change y by (-1)\n    else\n        change y by (1)\n    end\nend\n\ndefine X Collision\nrepeat until <not <touching (ground levels v)?>>\n    if <(X) > [0]> then\n        change x by (-1)\n    else\n        change x by (1)\n    end\nend\n\ndefine Death\ngo to x: (-159) y: (-42)\nset [x v] to [0]\nset [y v] to [0]\n\nwhen I receive [game over v]\nhide\n\n@Ground Levels\n\nwhen flag clicked\nswitch costume to (level 1 v)\nshow\n\nwhen I receive [next v]\nforever\n    switch costume to (LEVEL)\nend\n\nwhen I receive [game over v]\nhide\n\n@Dangers\n\nwhen I receive [next v]\nforever\n    switch costume to (LEVEL)\nend\n\nwhen flag clicked\nswitch costume to (level 1 v)\nshow\n\nwhen I receive [game over v]\nhide\n\n@Stars\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    set size to (pick random (40) to (90)) %\n    go to x: (200) y: (pick random (-100) to (300))\n    switch costume to (star v)\n    create clone of (_myself_ v)\n    wait (pick random (0.1) to (0.5)) seconds\nend\n\nwhen I start as a clone\nset [ghost v] effect to (40)\ngo to [back v] layer\nshow\nif <(size) > [99]> then\n    glide (6) secs to x: (-200) y: (y position)\n    delete this clone\nend\nif <(size) > [80]> then\n    glide (5) secs to x: (-200) y: (y position)\n    delete this clone\nend\nif <(size) > [65]> then\n    glide (4) secs to x: (-200) y: (y position)\n    delete this clone\nend\nif <(size) > [50]> then\n    glide (3) secs to x: (-200) y: (y position)\n    delete this clone\nend\nif <(size) > [40]> then\n    glide (2) secs to x: (-200) y: (y position)\n    delete this clone\nend\n\nwhen flag clicked\nwait (60) seconds\nif <not <(LEVEL) = [15]>> then\n    switch costume to (dark star v)\n    broadcast (Game Over v)\nend\n\n@Game Over\n\nwhen flag clicked\nhide\n\nwhen I receive [game over v]\nshow\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    show\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n@Blank\n\n@Blank 2\n\n
NEW AND MUCH BETTER MULTIPLAYER GAME: https://scratch.mit.edu/projects/414678508/\n\n===============DISCLAIMER===================\nPlease don't attack me for making this a "generic platformer". I made this project for myself, not for fame. I was just messing around with some art and stuff. And if for whatever reason it gets pOpUlaR, don't hate on me for it. Also I know that you can't walk on Saturn, please stop being mean to me about it! This is just for entertainment purposes only, and I love space and like to learn about it. Also, advertising is not allowed and all advertisements will be reported. Now, onto the normal instructions! \n==============INSTRUCTIONS=================\nYou are an astronaut who has lost his/her/their way on the planet Saturn. The rocket that is supposed to take you home is about to leave without you, and you have to get back in time! Will you make it? You are timed, and only have 60 seconds!\nUse the arrow keys, WASD, or mobile controls to move!\n=============================================\nPlease don't forget to love, fave, and follow! Even though a lot of you will hate this game because there's nothing that special about it, I'm really proud! So show your support and drop a love :)\nHave a lovely day!\nLove,\nTropicalCoder13\n=============================================