~Starlight~| A Platformer #games

Instructions: ~Starlight~| A Platformer\n-------------------------------------\n~Storyline~\n\nYou are an astronomer, a scientist who studies the stars. You know that there is going to be a brand new star that has just been created. But you can't observe it, because of all the clouds in the sky. You venture out to find a spot that is just right for viewing the sky\n-----------------------------\nI LOVE astronmy, don't you? That is just one reason why summer is my favorite season; because the night sky is the best for viewing the stars. Also because its warm, so you won't be cold while trying to observe space. \n----------------------------\nTheir are some things that this platformer is dedicate to. One is to NASA. It makes me sad that most people are not intrested in learning about space. In my opinion, learning about space is my favorite unit in science. It is really intresting. The other thing that this platformer is dedicated to is the light pollution. The reason why looking at the stars is harder to do now is because of all the light pollution. But we can do something about it. When you are not in a room, turn the lights off. When you are not using a computer, TV, video game system, etc., make sure to turn them off. Also, try not to flash flashlights out of your windows. To summerize, I love space, and you should try to be more intrested in learning about it. Note- I am NOT being disrectsecful. I respect your opinion, this is just what I believe.\n-------------------------\n~Credits~\n- @-SapphireDemon- for being my personial insporator\n- @StratfordJames for the cloud art\n-@Firedrake712 for the tree art\n-NASA for existing\n- Amy for the rest:D\n------------------------\nTags:\n#all #trending #games #art #music #platformer #space #NASA #astromy #astronmer #universe #@-AMETHYSTQUEEN-

@Stage\n\nwhen I receive [start v]\nforever\n    play sound [Alan Walker - Force v] until done\nend\n\n@player\n\nwhen I start as a clone\nswitch costume to (trail v)\nset [ghost v] effect to (5)\nforever\n    change [ghost v] effect by (10)\n    wait (.2) seconds\n    delete this clone\nend\n\ndefine Horizontal Movement\nset [vx v] to ((vx) * (0.75))\nchange x by (vx)\nif <key (right arrow v) pressed?> then\n    change x by (3)\n    switch costume to (facing right v)\n    create clone of (_myself_ v)\n    change [vx v] by (2)\nend\nif <key (left arrow v) pressed?> then\n    change x by (-3)\n    switch costume to (facing left v)\n    create clone of (_myself_ v)\n    change [vx v] by (-2)\nend\n\ndefine Touch Ground\nif <touching color (#914ea2)?> then\n    set [vy v] to [0]\n    repeat until <not <touching color (#914ea2)?>>\n        change y by (1)\n    end\n    set [touching ground? v] to [true]\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nswitch backdrop to (level 1 v)\nforever\n    if <touching (flag v)?> then\n        next backdrop\n        go to x: (-210) y: (-52)\n    end\n    if <touching (spikes v)?> then\n        reset\n    end\n    if <touching (saw v)?> then\n        reset\n    end\n    if <touching (trampoline v)?> then\n        change [vy v] by (30)\n        change y by (vy)\n        set [touching ground? v] to [false]\n        play sound [Boing v] until done\n    end\nend\n\nwhen I receive [start v]\nclear graphic effects\nswitch costume to (facing left v)\nset [vx v] to [0]\nset [vy v] to [0]\nset [touching ground? v] to [false]\ngo to x: (-171) y: (-26)\nforever\n    Horizontal Movement\n    Vertical Movement\nend\n\ndefine reset\nrepeat (30)\n    change [ghost v] effect by (2)\nend\ngo to x: (-210) y: (-52)\nswitch costume to (facing right v)\nclear graphic effects\n\nwhen I receive [reset v]\nrepeat (30)\n    change [ghost v] effect by (2)\nend\ngo to x: (-210) y: (-26)\nswitch costume to (facing right v)\nclear graphic effects\n\ndefine Vertical Movement\nif <<key (up arrow v) pressed?> and <(Touching Ground?) = [true]>> then\n    create clone of (_myself_ v)\n    set [vy v] to [11]\nend\nchange [vy v] by (-1)\nchange y by (vy)\nset [touching ground? v] to [false]\nTouch Ground\n\n@ground\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\n@Spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to [back v] layer\nforever\n    if <(backdrop [name v]) = [Level 2]> then\n        show\n        switch costume to (level 1 v)\n    end\n    if <(backdrop [name v]) = [Level 3]> then\n        show\n        switch costume to (level 2 v)\n    end\n    if <(backdrop [name v]) = [Level 4]> then\n        show\n        switch costume to (level 3 v)\n    end\n    if <(backdrop [name v]) = [Level 5]> then\n        hide\n    end\n    if <(backdrop [name v]) = [Level 6]> then\n        show\n        switch costume to (level 4 v)\n    end\n    if <(backdrop [name v]) = [Level 7]> then\n        show\n        switch costume to (level 5 v)\n    end\n    if <(backdrop [name v]) = [Level 8]> then\n        show\n        switch costume to (level 6 v)\n    end\n    if <(backdrop [name v]) = [Level 9]> then\n        show\n        switch costume to (level 7 v)\n    end\n    if <(backdrop [name v]) = [Level 10]> then\n        show\n        switch costume to (level 8 v)\n    end\n    if <(backdrop [name v]) = [Level 11]> then\n        switch costume to (level 9 v)\n    end\n    if <(backdrop [name v]) = [Level 12]> then\n        show\n        switch costume to (level 10 v)\n    end\n    if <(backdrop [name v]) = [Level 13]> then\n        switch costume to (level 11 v)\n    end\n    if <(backdrop [name v]) = [Level 14]> then\n        switch costume to (level 12 v)\n    end\n    if <(backdrop [name v]) = [Level 15]> then\n        switch costume to (level 13 v)\n    end\n    if <(backdrop [name v]) = [Level 16]> then\n        switch costume to (level 14 v)\n    end\n    if <(backdrop [name v]) = [Level 17]> then\n        switch costume to (level 15 v)\n    end\n    if <(backdrop [name v]) = [Level 18]> then\n        switch costume to (level 16 v)\n    end\n    if <(backdrop [name v]) = [Level 19]> then\n        switch costume to (level 17 v)\n    end\n    if <(backdrop [name v]) = [Level 20]> then\n        switch costume to (level 18 v)\n    end\n    if <(backdrop [name v]) = [Level 21]> then\n        hide\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching (player v)?> then\n        play sound [Oops v] until done\n    end\nend\n\n@Flag\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nforever\n    if <touching (player v)?> then\n        play sound [Magic Spell v] until done\n    end\nend\n\nwhen I receive [start v]\nforever\n    go to x: (270) y: (-19)\n    if <(backdrop [name v]) = [Level 2]> then\n        go to x: (230) y: (100)\n    end\n    if <(backdrop [name v]) = [Level 3]> then\n        go to x: (215) y: (107)\n    end\n    if <(backdrop [name v]) = [Level 4]> then\n        go to x: (-157) y: (150)\n    end\n    if <(backdrop [name v]) = [Level 5]> then\n        go to x: (270) y: (30)\n    end\n    if <(backdrop [name v]) = [Level 6]> then\n        go to x: (270) y: (105)\n    end\n    if <(backdrop [name v]) = [Level 7]> then\n        go to x: (270) y: (85)\n    end\n    if <(backdrop [name v]) = [Level 8]> then\n        go to x: (-158) y: (85)\n    end\n    if <(backdrop [name v]) = [Level 9]> then\n        go to x: (-140) y: (104)\n    end\n    if <(backdrop [name v]) = [Level 10]> then\n        go to x: (50) y: (100)\n    end\n    if <(backdrop [name v]) = [Level 11]> then\n        go to x: (142) y: (120)\n    end\n    if <(backdrop [name v]) = [Level 12]> then\n        go to x: (200) y: (100)\n    end\n    if <(backdrop [name v]) = [Level 13]> then\n        go to x: (0) y: (150)\n    end\n    if <(backdrop [name v]) = [Level 14]> then\n        go to x: (270) y: (135)\n    end\n    if <(backdrop [name v]) = [Level 15]> then\n        go to x: (-140) y: (145)\n    end\n    if <(backdrop [name v]) = [Level 16]> then\n        go to x: (270) y: (150)\n    end\n    if <(backdrop [name v]) = [Level 18]> then\n        go to x: (-105) y: (142)\n    end\n    if <(backdrop [name v]) = [Level 19]> then\n        go to x: (270) y: (135)\n    end\n    if <(backdrop [name v]) = [Level 20]> then\n        go to x: (-100) y: (95)\n    end\n    if <(backdrop [name v]) = [Level 21]> then\n        hide\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nchange [ghost v] effect by (100)\n\n@Saw\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\ngo to [back v] layer\nforever\n    if <<<<<(backdrop [name v]) = [Level 5]> or <(backdrop [name v]) = [Level 6]>> or <(backdrop [name v]) = [Level 12]>> or <(backdrop [name v]) = [Level 15]>> or <(backdrop [name v]) = [Level 16]>> then\n        if <<<(backdrop [name v]) = [Level 5]> or <(backdrop [name v]) = [Level 6]>> or <(backdrop [name v]) = [Level 12]>> then\n            show\n            go to [back v] layer\n            turn left (5) degrees\n            go to x: (34) y: (-84)\n        else\n            if <(backdrop [name v]) = [Level 16]> then\n                show\n                go to [back v] layer\n                turn left (5) degrees\n                go to x: (-29) y: (-84)\n            else\n                show\n                go to [back v] layer\n                turn left (5) degrees\n                go to x: (208) y: (-78)\n            end\n        end\n    else\n        hide\n    end\nend\n\n@Trampoline\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to x: (-121) y: (-20)\nswitch costume to (trampoline:\) v)\nforever\n    if <(backdrop [name v]) = [Level 7]> then\n        show\n        go to x: (-121) y: (-38)\n    else\n        if <(backdrop [name v]) = [Level 10]> then\n            show\n            go to x: (-121) y: (-38)\n        else\n            if <(backdrop [name v]) = [Level 14]> then\n                show\n                go to x: (-121) y: (-38)\n            else\n                if <(backdrop [name v]) = [Level 17]> then\n                    show\n                    go to x: (59) y: (-38)\n                else\n                    if <(backdrop [name v]) = [Level 18]> then\n                        show\n                        go to x: (146) y: (-38)\n                    else\n                        hide\n                    end\n                end\n            end\n        end\n    end\nend\n\n@clouds\n\nwhen flag clicked\nhide\nclear graphic effects\n\nwhen I receive [start v]\nshow\ngo to [back v] layer\ngo to x: (-300) y: (85)\npoint in direction (90)\nforever\n    move (2) steps\n    wait (0.01) seconds\n    if <(x position) > [300]> then\n        hide\n        go to x: (-300) y: (63)\n        wait (2) seconds\n        show\n    end\nend\n\n@Love, fav, follow banner\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to x: (-160) y: (188)\nforever\n    wait (pick random (5) to (17)) seconds\n    show\n    repeat (13)\n        change y by (-3)\n        wait (0.01) seconds\n    end\n    wait (4) seconds\n    repeat (10)\n        change y by (4)\n        wait (0.01) seconds\n    end\n    hide\nend\n\n@Skip Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (30)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n        point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\n    else\n        point in direction (90)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [ghost v] effect to (30)\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        next backdrop\n        reset\n        wait (2) seconds\n    end\n    if <(backdrop [name v]) = [Level 22]> then\n        hide\n    end\nend\n\ndefine reset\nbroadcast (reset v)\n\n@Previous Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (30)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n        point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\n    else\n        point in direction (90)\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        reset\n        switch backdrop to (previous backdrop v)\n        wait (2) seconds\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [ghost v] effect to (30)\n    end\nend\n\ndefine reset\nbroadcast (reset v)\n\n@Reset Button\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nset [ghost v] effect to (30)\ngo to x: (-152) y: (-116)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (0)\n        point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\n    else\n        point in direction (90)\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        reset\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [ghost v] effect to (30)\n    end\nend\n\ndefine reset\nbroadcast (reset v)\n\n@Icon for Intro\n\nwhen flag clicked\nwait (5) seconds\nbroadcast (start v)\nhide\n\nwhen flag clicked\nshow\nswitch backdrop to (intro v)\nforever\n    point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\nend\n\n@Particals\n\ndefine ResetGhosting\nset [ghost v] effect to (100)\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (2))\ngo [backward v] (100) layers\nResetGhosting\nshow\ngo to (random position v)\nrepeat (10)\n    change [ghost v] effect by (-4)\n    move (-1) steps\nend\nrepeat (10)\n    move (-1) steps\n    turn right (15) degrees\nend\nrepeat (10)\n    move (1) steps\n    turn right (15) degrees\nend\nrepeat (10)\n    change [ghost v] effect by (4)\n    move (1) steps\nend\ndelete this clone\n\ndefine Fade| In Or Out?| (inorout  ) Speed| (speed)\nif <(inorout  ) = [in]> then\n    repeat (speed)\n        change [ghost v] effect by (-10)\n    end\nend\nif <(inorout  ) = [out]> then\n    repeat (speed)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen I receive [start v]\nwait (0.1) seconds\nset [gameyo v] to [false]\nResetGhosting\nforever\n    if <(GameYo) = [false]> then\n        create clone of (_myself_ v)\n    else\n        delete this clone\n    end\nend\n\n@Moon\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\ngo to [back v] layer\n\n