Star Quest v1.6 | A Mobile Friendly Platformer | @Speedy10_ | Mothers Day | 

Instructions: Arrow Keys, or WASD, collect all the stars, and make sure to like, favorite, follow @waifu100 and comment done and I will follow you!\n\n\nMobile instructions ⬇\n\n(For mobile tap and hold the side of the screen you want to go to, to jump tap/hold the top of the screen!)\n\nI will be doing f4f until 100 followers (act now)\n\n♥ Happy Mothers Day ♥\n\nComment your time, try to beat mine (38 seconds)\n\nThank you so much to @funny-animations259 for curating my bad platformer

@Stage\n\n@Player\n\nwhen I start as a clone\nswitch costume to (costume2 v)\nrepeat (10)\n    change size by (-9)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-200) y: (0)\n\nwhen flag clicked\nset [time v] to [0]\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [start v]\nforever\n    switch costume to (costume1 v)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [100]>>> then\n        change [x velocity v] by (-0.8)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <[-100] < (mouse x)>>> then\n        change [x velocity v] by (0.8)\n    end\n    set [x velocity v] to ((X velocity) * (0.9))\n    change x by (round (X velocity))\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n        end\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n            end\n        end\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    change x by (round ((X velocity) * (-1)))\n                end\n            end\n        end\n        set [x velocity v] to [0]\n    end\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <[100] < (mouse y)>>> then\n        change y by (-1)\n        if <touching (ground v)?> then\n            set [y velocity v] to [15]\n        end\n        change y by (1)\n    end\n    change [y velocity v] by (-1)\n    change y by (Y velocity)\n    if <touching (ground v)?> then\n        change y by ((Y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    if <touching (danger v)?> then\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        go to x: (-200) y: (0)\n    end\n    if <<(x position) > [240]> and <(Star Collected) = [yes]>> then\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        go to x: (-200) y: (0)\n        broadcast (Next level v)\n    end\nend\n\n@eye\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\n    go to (player v)\n    point towards (mouse-pointer v)\nend\n\n@Ground\n\nwhen flag clicked\nhide variable [time v]\nhide variable [☁ world record time v]\nset [☁ world record time v] to (☁ World Record Time)\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [start v]\nforever\n    if <(Win) = [no]> then\n        wait (1) seconds\n        change [time v] by (1)\n        hide variable [time v]\n        hide variable [☁ world record time v]\n    end\n    if <(Win) = [yes]> then\n        show variable [☁ world record time v]\n        show variable [time v]\n        if <(Time) < (☁ World Record Time)> then\n            set [☁ world record time v] to (Time)\n        end\n    end\nend\n\n@Danger\n\nwhen flag clicked\ngo to x: (15) y: (-56)\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite1\n\nwhen flag clicked\nforever\n    set y to (0)\n    go to [back v] layer\n    glide (2) secs to x: (5) y: (0)\n    glide (2) secs to x: (-5) y: (0)\nend\n\nwhen I receive [start v]\nwait until <<(costume [number v]) = [17]> and <(Stars) = [16]>>\nset [win v] to [yes]\n\nwhen flag clicked\nswitch costume to (costume2 v)\nset [win v] to [no]\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite2\n\nwhen flag clicked\nset [star collected v] to [yes]\nswitch costume to (costume2 v)\nset [stars v] to [0]\nshow\nwait until <touching (player v)?>\nchange [stars v] by (1)\nhide\n\nwhen I receive [next level v]\nset [star collected v] to [no]\nnext costume\nshow\nwait until <touching (player v)?>\nchange [stars v] by (1)\nhide\nset [star collected v] to [yes]\n\n@Sprite3\n\nwhen flag clicked\nforever\n    switch costume to ((Stars) + (1))\nend\n\n@Sprite4\n\nwhen this sprite clicked\nbroadcast (Start v)\nhide\n\nwhen flag clicked\ngo to [front v] layer\nshow\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    play sound [Vexento - Lights  v] until done\nend\n\n@Sprite5\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\nrepeat until <(Win) = [yes]>\n    wait (1) seconds\n    if <(Win) = [no]> then\n        next costume\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(costume [number v]) > [9]> then\n        wait (1) seconds\n        broadcast (+10 v)\n    end\nend\n\n@Sprite6\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\n\nwhen I receive [start v]\nforever\n    if <(costume [number v]) > [5]> then\n        wait (10) seconds\n        wait (1) seconds\n        broadcast (+60 v)\n    end\nend\n\nwhen I receive [+10 v]\nif <(Win) = [no]> then\n    next costume\nend\n\n@Sprite8\n\n@Sprite7\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\n\nwhen I receive [+60 v]\nif <(Win) = [no]> then\n    next costume\nend\n\n@Danger2\n\nwhen flag clicked\ngo to x: (15) y: (-56)\ngo to [back v] layer\ngo [forward v] (1) layers\nforever\n    glide (1) secs to x: (15) y: (-50)\n    glide (1) secs to x: (15) y: (-56)\nend\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Detector\n\nwhen flag clicked\nhide\nset [loved v] to [0]\nset [favorited v] to [0]\nset [_id v] to [Love]\ncreate clone of (_myself_ v)\nset [_id v] to [Favorite]\ncreate clone of (_myself_ v)\nset [_id v] to [Not]\ncreate clone of (_myself_ v)\nset [_id v] to [0]\n\nwhen I start as a clone\nShow Message\nforever\n    if <(_id) = [Love]> then\n        Go To - X: [-233] Y: [-213]\n        switch costume to (love v)\n        if <<touching (mouse-pointer v)?> and <(loved) = [0]>> then\n            wait (0.25) seconds\n            if <touching (mouse-pointer v)?> then\n                set [loved v] to [1]\n                set [_id v] to [Loved]\n                create clone of (_myself_ v)\n                set [_id v] to [Love]\n            end\n        end\n    else\n        if <(_id) = [Favorite]> then\n            Go To - X: [-133] Y: [-213]\n            switch costume to (favorite v)\n            if <<touching (mouse-pointer v)?> and <(favorited) = [0]>> then\n                wait (0.25) seconds\n                if <touching (mouse-pointer v)?> then\n                    set [favorited v] to [1]\n                    set [_id v] to [Favorited]\n                    create clone of (_myself_ v)\n                    set [_id v] to [Favorite]\n                end\n            end\n        else\n            if <(_id) = [Not]> then\n                switch costume to (0 v)\n                if <((loved) + (favorited)) > [0]> then\n                    repeat (10)\n                        change [ghost v] effect by (10)\n                        change y by (((180) - (y position)) / (5))\n                    end\n                    delete this clone\n                end\n            end\n        end\n    end\nend\n\ndefine Go To - X: (x) Y: (y)\nset size to (400) %\ngo to x: (x) y: (y)\nset size to (100) %\n\ndefine Show Message\nshow\nif <(_id) = [Loved]> then\n    switch costume to (1 v)\n    set [ghost v] effect to (100)\n    go to x: (-240) y: (0)\n    Glide To X: [0] Y: [0] Speed: [3] Transition: [-1]\n    wait (1) seconds\n    Glide To X: [240] Y: [0] Speed: [3] Transition: [1]\n    delete this clone\nelse\n    if <(_id) = [Favorited]> then\n        change [stars v] by (1)\n        switch costume to (2 v)\n        set [ghost v] effect to (100)\n        go to x: (-240) y: (0)\n        Glide To X: [0] Y: [0] Speed: [3] Transition: [-1]\n        wait (1) seconds\n        Glide To X: [240] Y: [0] Speed: [3] Transition: [1]\n        delete this clone\n    end\nend\n\ndefine Glide To X: (x) Y: (y) Speed: (speed) Transition: (transition)\nrepeat until <<(round (x position)) = (x)> and <(round (y position)) = (y)>>\n    change x by (((x) - (x position)) / (speed))\n    change y by (((y) - (y position)) / (speed))\n    change [ghost v] effect by ((15) * (transition))\nend\n\n