sharkyshar a platformer (reshared)
@Stage\n\nwhen I receive [yay! v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        broadcast (sorry! v)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [steampianist - the Undertaker's Daughter Instrumental v] until done\nend\n\nswitch backdrop to (backdrop12 v)\n\n@sharky\n\nwhen I receive [sorry! v]\ngo to x: (-139) y: (-63)\n\nwhen flag clicked\nforever\n    if <touching (_edge_ v)?> then\n        broadcast (yay! v)\n    end\nend\n\nwhen I receive [yay! v]\ngo to x: (-139) y: (-63)\n\nwhen flag clicked\ngo to x: (-139) y: (-63)\n\nwhen I receive [done v]\nrepeat until <(backdrop [name v]) = [hsgfhjkdhcgdh]>\n    if <touching color (#000000)?> then\n        change y by (0.5)\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            change x by ((x) * (-1))\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching color (#000000)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching color (#000000)?> and <key (up arrow v) pressed?>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\n    if <touching color (#ff0000)?> then\n        broadcast (sorry! v)\n    end\n    change [y v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\nend\n\nwhen flag clicked\nforever\n    if <([backdrop name v] of [_stage_ v]) = [sound]> then\n        repeat (15)\n            play sound [Scream2 v] until done\n        end\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nshow\nwait (1) seconds\nhide\nswitch backdrop to (backdrop1 v)\nbroadcast (done v)\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@easter egg\n\nwhen flag clicked\nforever\n    if <touching (sharky v)?> then\n        switch backdrop to (sound3 v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <([backdrop name v] of [_stage_ v]) = [sound2]> then\n        show\n    end\nend\n\n@detector\n\nwhen flag clicked\nforever\n    hide\n    set [clone id v] to [0]\n    create clone of (_myself_ v)\n    wait (0.2) seconds\n    set [clone id v] to [1]\n    create clone of (_myself_ v)\n    wait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\n    wait (0.5) seconds\n    show\n    go to x: (0) y: (-100)\n    reset timer\n    switch costume to (pick random (1) to (4))\n    set [ghost v] effect to (100)\n    repeat until <(timer) > [3.5]>\n        change y by ((y position) / (-15))\n        change [ghost v] effect by (-3)\n    end\n    reset timer\n    repeat until <(timer) > [3.5]>\n        change y by (((y position) - (-100)) / (-15))\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(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                wait (0.2) seconds\n                if <touching (mouse-pointer v)?> then\n                    set [loved__ v] to [1]\n                end\n            end\n        end\n    end\n    if <(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                wait (0.2) seconds\n                if <touching (mouse-pointer v)?> then\n                    set [faved___ v] to [1]\n                end\n            end\n        end\n    end\nend\n\n
 ARROWW KKEYSS TTO  MMMOVEE.there is an easter egg. hope you enjoy it! This is my first platformer ever!\n@shrkyshar loved!\nworld record no deaths: 17 sec by @hipsterfox19