Mars Platformer Again
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\nplay sound [TheFatRat - Monody \(feat. Laura Brehm\).mp4 v] until done\n\nwhen I receive [lol v]\nstop all sounds\nswitch backdrop to (backdrop4 v)\nforever\n    play sound [Inferno v] until done\nend\n\n@download\n\nwhen flag clicked\nshow\npoint in direction (90)\nset size to (150) %\ngo to x: (0) y: (0)\nrepeat (9)\n    turn right (15) degrees\n    change size by (-10)\n    wait (0.05) seconds\nend\nbroadcast (message1 v)\nrepeat (1)\n    turn right (15) degrees\n    change size by (-10)\n    wait (0.05) seconds\nend\nhide\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [message1 v]\nwait (0) seconds\nshow\nrepeat (4)\n    set x to (-1)\n    go to [front v] layer\n    show\n    repeat (25)\n        set x to ((x position) / (0.9))\n    end\n    go to x: (300) y: (0)\n    next costume\n    repeat (30)\n        set x to ((x position) * (0.85))\n    end\nend\nwait (1) seconds\nbroadcast (lol v)\nhide\n\n@Level\n\nwhen flag clicked\nhide\n\nwhen I receive [lol v]\nshow\nforever\n    switch costume to (Level)\nend\n\n@Player\n\nwhen I start as a clone\nclear graphic effects\nrepeat (5)\n    change [ghost v] effect by (10)\n    change size by (-2)\nend\ndelete this clone\n\nwhen I receive [next level v]\nbroadcast (Restart v)\n\nwhen I receive [restart v]\nset [x vel v] to [0]\nset [y vel v] to [0]\ngo to x: (-214) y: (125)\n\nwhen I receive [lol v]\nshow\nbroadcast (Restart v)\nset [level v] to [1]\nforever\n    if <key (left arrow v) pressed?> then\n        change [x vel v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x vel v] by (1)\n    end\n    set [x vel v] to ((x vel) * (0.9))\n    change x by (x vel)\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (-4)\n        change x by ((x vel) * (-1))\n        if <key (up arrow v) pressed?> then\n            if <(x vel) > [0]> then\n                set [x vel v] to [-10]\n            else\n                set [x vel v] to [10]\n            end\n            set [y vel v] to [15]\n        else\n            set [x vel v] to [0]\n        end\n    end\n    change [y vel v] by (-1)\n    change y by (y vel)\n    if <touching (level v)?> then\n        change y by ((y vel) - ((y vel) * (2)))\n        set [y vel v] to [0]\n    end\n    change y by (-1)\n    if <<touching (level v)?> and <key (up arrow v) pressed?>> then\n        set [y vel v] to [15]\n    end\n    change y by (1)\n    create clone of (_myself_ v)\n    if <(x position) > [239]> then\n        broadcast (Next Level v) and wait\n        change [level v] by (1)\n    end\n    if <touching (spikes v)?> then\n        broadcast (Restart v)\n    end\n    if <touching (sprite3 v)?> then\n        broadcast (Restart v)\n    end\nend\n\nwhen flag clicked\nhide\n\n@Spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [lol v]\nshow\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [lol v]\nset [time v] to [0]\nshow variable [time v]\nforever\n    wait (1) seconds\n    change [time v] by (1)\nend\n\nwhen flag clicked\nhide variable [time v]\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [lol v]\nshow\nforever\n    switch costume to (Level)\nend\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [lol v]\nshow\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [lol v]\nset [color v] effect to (0)\nforever\n    change [brightness v] effect by (5)\n    wait (1) seconds\n    change [brightness v] effect by (-5)\n    wait (2) seconds\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\nset [my variable v] to [1]\nwait (8) seconds\nset [my variable v] to [0]\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\nwhen flag clicked\nset [my variable v] to [0]\n\nwhen flag clicked\nforever\n    if <(my variable) = [1]> then\n        change [time v] by (-15)\n        wait (1) seconds\n        go to x: (0) y: (0)\n        show\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\n    end\nend\n\n@notif2\n\nwhen I receive [lol v]\nswitch costume to (costume3 v)\nwait (2) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (14) to (26)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\n    next costume\nend\n\nwhen flag clicked\ngo to x: (0) y: (50)\nhide\n\nwhen I receive [alert v]\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\nwhen I receive [tick v]\ngo to [front v] layer\n\n
HEART AND STAR FOR 15 SECONDS OFF YOUR TIME :)\n\n\nJust press space. Follow all rules. Comment PG for a chance at getting followed by me and my alts!\nCheck out my newest game:\nhttps://scratch.mit.edu/projects/801480909/\n\nDeadline: April 30\n\n\n\n\n\n\n\n\n#games #all #contest #huge #win #followers #fun #1k #game #makedatcode