Here Comes the Sun (Platformer)

Instructions: *Note:* This will be unshared soon to add mobile\n=====Bulletin:======\n   #204 on Trending for all categories!!! \nLoved by @Capt_Boanerges , @PaddlerGames , and @skidsteerloader     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\nI am now at 100 followers! All follows are appreciated!\nWHAT 100 Views!!!!! Thank you all so much!\nThanks for checking out my game! This is a 16 level platformer with saws, spikes, and much more!\n\nCOULD SOMEONE MAYBE PROPOSE FOR THIS TO BE FEATURED (if you like it)\n\nPlease consider dropping a heart and/or fav (PLEASE)\nand maybe even a follow : P\n=============================================\n\nInstructions: =]\n WASD/arrow keys (if enough people request mobile, I will add it) R: Reset (this may be needed on one level)\nAt the start, click the start box. \nSettings: Space- adjust the volume\n                M: Mute\n                U: Unmute\nTags: #games #thebeatles #beatles #hardwork #platform #platformer #views \n

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [next v]\nnext backdrop\n\n@ Ground\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\n\nswitch costume to (costume10 v)\nswitch backdrop to (backdrop10 v)\n\nwhen I receive [intro done v]\nshow\n\nwhen flag clicked\nhide\n\ngo to [back v] layer\n\n@Dude\n\ndefine starting position\nset [fallspeed v] to [0]\nhide\nwait (0.01) seconds\nshow\ngo to x: (-201) y: (-15)\n\ndefine Define Gravity\nif <(release) = [0]> then\n    change y by (fallspeed)\n    if <<touching ( ground v)?> or <touching (moving ground v)?>> then\n        if <(fallspeed) < [0]> then\n            set [reversestep v] to [1]\n        else\n            set [reversestep v] to [-1]\n        end\n        repeat until <not <<touching ( ground v)?> or <touching (moving ground v)?>>>\n            change y by (reversestep)\n        end\n        set [fallspeed v] to [0]\n    else\n        change [fallspeed v] by (gravity)\n    end\nend\n\ndefine RUNControls\nif <(release) = [0]> then\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        switch costume to (costume16 v)\n        change x by (RUNSPEED)\n        if <<touching ( ground v)?> or <touching (moving ground v)?>> then\n            change x by ((0) - (RUNSPEED))\n        end\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        switch costume to (costume16 v)\n        change x by ((0) - (RUNSPEED))\n        if <<touching ( ground v)?> or <touching (moving ground v)?>> then\n            change x by (RUNSPEED)\n        end\n    end\nend\n\nwhen flag clicked\nset [end intro v] to [0]\nhide\n\ndefine Jump Control\nif <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n    change y by (-1)\n    if <<touching ( ground v)?> or <touching (moving ground v)?>> then\n        set [fallspeed v] to (takeoffspeed)\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <<touching (enemy 1 v)?> or <touching (enemy 2 v)?>> then\n        starting position\n    end\nend\n\nwhen flag clicked\nset [end intro v] to [1]\nshow\nset size to (65) %\nset [runspeed v] to [5]\nset [release v] to [0]\nset [gravity v] to [-1]\nset [fallspeed v] to [0]\nset [takeoffspeed v] to [12]\nstarting position\nforever\n    RUNControls\n    Jump Control\n    Define Gravity\n    if <(x position) > [232]> then\n        broadcast (next v)\n        starting position\n        wait (0.2) seconds\n    end\n    if <(y position) < [-170]> then\n        starting position\n    end\n    if <touching (spikes v)?> then\n        starting position\n    end\n    if <touching (water v)?> then\n        set [release v] to [1]\n        repeat until <(y position) < [-179]>\n            change y by (-2)\n        end\n        starting position\n        set [release v] to [0]\n    end\n    if <key (n v) pressed?> then\n        if <not <(backdrop [number v]) = [16]>> then\n            starting position\n            broadcast (next v)\n            wait (0.1) seconds\n        end\n    end\nend\n\nif <(release) = [0]> then\n\nwhen flag clicked\nforever\n    if <touching (trampoline v)?> then\n        broadcast (bounce v)\n        set [takeoffspeed v] to [19]\n        set [fallspeed v] to (takeoffspeed)\n        set [takeoffspeed v] to [12]\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        point in direction (-90)\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        point in direction (90)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Here comes the sun with The Beatles v] until done\nend\n\nwhen flag clicked\nforever\n    if <key (m v) pressed?> then\n        stop all sounds\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (p v) pressed?> then\n        forever\n            play sound [Here comes the sun with The Beatles v] until done\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (standby v)\nhide\n\nwhen I receive [intro done v]\nswitch costume to (costume16 v)\nshow\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        starting position\n    end\nend\n\nwhen flag clicked\nforever\n    set volume to (Volume:) %\nend\n\nwhen flag clicked\nhide variable [volume: v]\n\nwhen flag clicked\nset [ghost v] effect to (0)\nforever\n    if <key (space v) pressed?> then\n        show variable [volume: v]\n    else\n        hide variable [volume: v]\n    end\nend\n\nwhen flag clicked\nforever\n    repeat until <(start button) = [T]>\n        go to x: (-201) y: (-15)\n    end\nend\n\nwhen I receive [intro done v]\nswitch costume to (costume16 v)\nforever\n    repeat (7)\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nrepeat (10)\n    switch costume to (costume1 v)\n    change [ghost v] effect by (-9)\nend\ndelete this clone\n\nwhen flag clicked\nset size to (60) %\nforever\n    set size to (60) %\nend\n\nwhen I receive [skip v]\nstarting position\n\n@light\n\nwhen flag clicked\n\nwhen I start as a clone\nset [light speed v] to (pick random (-1) to (-3))\nswitch costume to (pick random (1) to (3))\nshow\ngo to [back v] layer\ngo to x: (332) y: (28)\nset [ghost v] effect to (40)\nrepeat until <(x position) = [-200]>\n    change x by (light speed)\nend\nhide\ndelete this clone\n\nclear graphic effects\n\nchange [color v] effect by (25)\n\nwhen I start as a clone\nforever\n    if <(x position) < [-200]> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nwait (1) seconds\ngo to [back v] layer\n\nwhen I receive [intro done v]\nhide\nforever\n    wait (pick random (4) to (7)) seconds\n    create clone of (_myself_ v)\nend\n\nshow\n\nwhen flag clicked\nhide\n\n@particles\n\nwhen flag clicked\nset [mode v] to [1]\nhide\n\ndefine clone\nrepeat (5)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (50)\nset [xv v] to ((((pick random (0) to (1)) - (0.5)) * (2)) * (pick random (0.1) to (0.5)))\nset [yv v] to ((((pick random (0) to (1)) - (0.5)) * (2)) * (pick random (0.1) to (0.5)))\nrepeat (50)\n    change x by (xv)\n    change y by (yv)\n    change [ghost v] effect by (1)\n    go to x: (pick random (240) to (-240)) y: (pick random (-180) to (180))\n    change [xv v] by ((xv) * (0.05))\n    change [yv v] by ((yv) * (0.05))\n    change size by (5)\nend\ndelete this clone\n\ndefine delay\nwait (pick random (0.01) to (2.5)) seconds\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nforever\n    go to x: (pick random (240) to (-240)) y: (pick random (-180) to (180))\n    delay\n    clone\nend\n\nshow\n\n@Clouds\n\nwhen I start as a clone\ngo [backward v] (pick random (10) to (20)) layers\ngo to x: (190) y: (pick random (-10) to (190))\nset [ghost v] effect to (pick random (50) to (90))\nset size to (pick random (100) to (300)) %\nshow\nset [cloud speed v] to ((size) / (120))\nrepeat until <[-240] > (x position)>\n    change x by ((Cloud Speed) / (-1))\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nforever\n    wait (0.7) seconds\n    create clone of (_myself_ v)\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\ngo [backward v] (1) layers\ngo to x: (5) y: (14)\nswitch costume to (costume1 v)\nforever\n    wait (0.1) seconds\n    next costume\nend\n\nwhen flag clicked\nwait (1) seconds\ngo to [back v] layer\n\nwhen I receive [intro done v]\nshow\n\n@enemy 1\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\ngo to x: (36) y: (28)\ngo to [back v] layer\n\nwhen I receive [next v]\nnext costume\n\nswitch costume to (costume10 v)\n\nwhen I receive [intro done v]\nshow\n\n@enemy 2\n\nwhen flag clicked\ngo to [back v] layer\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [next v]\nnext costume\ngo to x: (113) y: (10)\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [10]> then\nend\n\nrepeat (2)\n    turn right (15) degrees\n    wait (0.1) seconds\n    turn right (15) degrees\nend\nrepeat (1)\n    change x by (10)\nend\nrepeat (2)\n    turn right (15) degrees\n    wait (0.1) seconds\n    turn right (15) degrees\nend\nrepeat (1)\n    change x by (-10)\nend\nrepeat (2)\n    turn right (15) degrees\n    wait (0.1) seconds\n    turn right (15) degrees\nend\n\nhide\n\n@Intro\n\nwhen flag clicked\npen up\nset pen color to (#56f6ff)\nhide\nerase all\nwait (1) seconds\nbroadcast (Outro Start v)\n\nwhen I receive [outro start v]\nwait (1) seconds\ngo to [front v] layer\nswitch costume to (pfp v)\nset size to (100) %\ngo to [front v] layer\nrepeat (1)\n    set pen size to (200)\n    pen up\n    go to x: (-19) y: (181)\n    pen down\n    glide (0.5) secs to x: (-199) y: (59)\n    pen up\n    set pen color to (#4347ff)\n    go to x: (109) y: (103)\n    set pen size to (200)\n    pen down\n    glide (0.5) secs to x: (-167) y: (-125)\n    pen up\n    go to x: (216) y: (-32)\n    set pen color to (#2482c3)\n    pen down\n    glide (0.5) secs to x: (5) y: (-143)\n    pen up\n    go to x: (0) y: (0)\n    switch costume to (costume3 v)\n    show\nend\nbroadcast (ghost intro v)\nrepeat (2)\n    repeat (3)\n        set size to (100) %\n        repeat (10)\n            change size by (10)\n        end\n        repeat (10)\n            wait (0.05) seconds\n            turn left (18) degrees\n        end\n        repeat (10)\n            change size by (-10)\n        end\n    end\nend\nhide\nerase all\nbroadcast (intro done v)\n\nwhen I receive [outro start v]\nforever\n    play sound [Weezer - Happy Hour v] until done\nend\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen I receive [ghost intro v]\nrepeat (2)\n    set [ghost v] effect to (0)\n    repeat (3)\n        repeat (10)\n            wait (0.025) seconds\n            change [ghost v] effect by (-2)\n        end\n        repeat (10)\n            wait (0.025) seconds\n            change [ghost v] effect by (2)\n        end\n        set [ghost v] effect to (0)\n    end\nend\n\n@click me!\n\nwhen flag clicked\ngo to x: (50) y: (7)\nhide\ngo to [front v] layer\n\nwhen I receive [intro done v]\nshow\nforever\n    if <mouse down?> then\n        hide\n    end\nend\n\n@detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nshow\ngo to x: (0) y: (50)\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nhide variable [start button v]\nhide\n\nwhen I receive [intro done v]\nset [start button v] to [F]\nshow\n\nwhen this sprite clicked\nhide\nset [start button v] to [T]\n\n@Sprite3\n\nwhen flag clicked\nforever\n    show\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    go to x: (22) y: (16)\nend\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (-210) y: (157)\nhide\n\nwhen I receive [intro done v]\nset [ghost v] effect to (40)\nshow\n\nwhen this sprite clicked\nbroadcast (next v)\nbroadcast (skip v)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat until <(size) = [112]>\n            repeat (6)\n                change size by (2)\n                wait (0.05) seconds\n            end\n        end\n    else\n        set size to (100) %\n    end\nend\n\n