Desert #all #games #platformer #mancake
@Stage\n\nwhen flag clicked\nforever\n    play sound [713137_TheFatRat---Jackpot.mp3 v] until done\nend\n\n@Player\n\nwhen flag clicked\nhide\nshow\nPlayer moves\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [next level v]\nbroadcast (restart v)\n\nwhen I receive [restart v]\nset [x_velocity v] to [0]\nset [y_velocity v] to [0]\ngo to x: (-213) y: (-59)\n\ndefine Respawn\nbroadcast (restart v)\n\ndefine Player moves\nhide variable [deaths v]\nset [deaths v] to [0]\nset [l_eve_l v] to [1]\nbroadcast (restart v)\nforever\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        switch costume to (left costume v)\n        change [x_velocity v] by (-1)\n    end\n    if <<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (right costume v)\n        change [x_velocity v] by (1)\n    end\n    set [x_velocity v] to ((X_VELOCITY) * (0.9))\n    change x by (X_VELOCITY)\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (-4)\n        change x by ((X_VELOCITY) * (-1))\n        if <key (up arrow v) pressed?> then\n            if <(X_VELOCITY) > [0]> then\n                set [x_velocity v] to [-10]\n            else\n                set [x_velocity v] to [10]\n            end\n            set [y_velocity v] to [15]\n        else\n            set [x_velocity v] to [0]\n        end\n    end\n    change [y_velocity v] by (-1)\n    change y by (Y_VELOCITY)\n    if <touching (platform v)?> then\n        change y by ((Y_VELOCITY) - ((Y_VELOCITY) * (2)))\n        set [y_velocity v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> and <touching (platform v)?>> then\n        set [y_velocity v] to [15]\n        switch costume to (up costume v)\n    end\n    change y by (1)\n    create clone of (_myself_ v)\n    if <(x position) > [239]> then\n        change [l_eve_l v] by (1)\n        broadcast (next level v) and wait\n    end\n    if <touching (deadline v)?> then\n        Respawn\n        change [deaths v] by (1)\n    end\n    if <touching (cactus v)?> then\n        Respawn\n        change [deaths v] by (1)\n    end\n    if <(y position) = [-179]> then\n        Respawn\n        change [deaths v] by (1)\n    end\n    if <(L_eve_l) = [11]> then\n        show variable [deaths v]\n    end\nend\n\nwhen flag clicked\nset [time_tester v] to [0]\nforever\n    wait (1) seconds\n    change [time_tester v] by (1)\nend\n\n@platform\n\nwhen flag clicked\nhide\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\nwhen [timer v] > (0.1)\nhide\n\nwhen flag clicked\nforever\n    go to x: (-12) y: (-3)\nend\n\nwhen flag clicked\nhide\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\nwhen flag clicked\nhide\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\nwhen flag clicked\nhide\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\nwhen flag clicked\nhide\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\n@Cactus\n\nwhen flag clicked\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\nwhen flag clicked\nforever\n    go to x: (33) y: (34)\nend\n\n@Coin\n\nwhen flag clicked\nhide\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\nwhen flag clicked\nshow\nforever\n    if <touching (player v)?> then\n        play sound [Coin v] until done\n        change [ghost v] effect by (25)\n        wait (0.2) seconds\n        change [ghost v] effect by (50)\n        wait (0.2) seconds\n        change [ghost v] effect by (75)\n        wait (0.2) seconds\n        change [ghost v] effect by (100)\n        wait (0.2) seconds\n        hide\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\n\nwhen flag clicked\nhide\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\n@Coin2\n\nwhen flag clicked\nhide\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\nwhen flag clicked\nshow\nforever\n    if <touching (player v)?> then\n        play sound [Coin v] until done\n        change [ghost v] effect by (25)\n        wait (0.2) seconds\n        change [ghost v] effect by (50)\n        wait (0.2) seconds\n        change [ghost v] effect by (75)\n        wait (0.2) seconds\n        change [ghost v] effect by (100)\n        wait (0.2) seconds\n        hide\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\n\nwhen flag clicked\nhide\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\n@Coin3\n\nwhen flag clicked\nhide\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\nwhen flag clicked\nshow\nforever\n    if <touching (player v)?> then\n        play sound [Coin v] until done\n        change [ghost v] effect by (25)\n        wait (0.2) seconds\n        change [ghost v] effect by (50)\n        wait (0.2) seconds\n        change [ghost v] effect by (75)\n        wait (0.2) seconds\n        change [ghost v] effect by (100)\n        wait (0.2) seconds\n        hide\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\n\nwhen flag clicked\nhide\nshow\nforever\n    switch costume to (L_eve_l)\nend\n\n@Thumbnail\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to x: (14) y: (-12)\nforever\n    go to [front v] layer\n    reset timer\nend\n\ndefine FINISH\nrepeat (10)\n    change y by (5)\nend\nwait (0.01) seconds\nrepeat (4)\n    change y by (-14)\nend\n\n@Deadline\n\n
2111 views! :0 Omg thank you all so much! <3! \n\nPart 1: https://scratch.mit.edu/projects/557248902\nPart 2: Making it...\nYou are lost in the desert and you have to overcome obstacles to get home. Use arrow keys to move. \nComment "I found it :D" if you found the hidden Easter egg! Like and favourite for part 2!