Cyber City || A Platformer 

Instructions: SEQUEL OUT HERES THE LINK: \nhttps://scratch.mit.edu/projects/403492609\nCHECK OUT MY NEW INTERVIEW:\nhttps://scratch.mit.edu/projects/434632613\n----------------------------------------------------\n@smiley_giggle - This is my entry for the platformer\ncontest!! :D\n------------------------------------------------------\nINSTRUCTIONS-\n-arrow keys to move \n-avoid spikes, lava, etc\nStory: You built a time machine and now you are in the\nyear 3030 in Cyber City. A part of the time machine is missing so you are on a mission to find it and fix the \ntime machine so you can go back home.\n------------------------------------------------------\nI'm sorry for any lag :/ try spamming the green flag \n------------------------------------------------------\nSequel coming soon :)

@Stage\n\n@player\n\ndefine run engine\nchange [y v] by (-0.5)\nif <key (left arrow v) pressed?> then\n    switch costume to (left v)\n    change [x v] by (-0.9)\nend\nif <key (right arrow v) pressed?> then\n    switch costume to (right v)\n    change [x v] by (0.9)\nend\nset [x v] to ((x) * (0.9))\nchange x by (x)\nif <<<touching color (#a7a7a7)?> or <touching color (#d1d1d1)?>> or <touching color (#00fcff)?>> then\n    change y by (1)\n    if <<<touching color (#a7a7a7)?> or <touching color (#d1d1d1)?>> or <touching color (#00fcff)?>> then\n        change y by (1)\n        if <<<touching color (#a7a7a7)?> or <touching color (#d1d1d1)?>> or <touching color (#00fcff)?>> then\n            change y by (1)\n            if <<<touching color (#a7a7a7)?> or <touching color (#d1d1d1)?>> or <touching color (#00fcff)?>> then\n                change y by (1)\n                if <<<touching color (#a7a7a7)?> or <touching color (#d1d1d1)?>> or <touching color (#00fcff)?>> then\n                    change y by (1)\n                    if <<<touching color (#a7a7a7)?> or <touching color (#d1d1d1)?>> or <touching color (#00fcff)?>> then\n                        change y by (1)\n                        if <<<touching color (#a7a7a7)?> or <touching color (#d1d1d1)?>> or <touching color (#00fcff)?>> then\n                            change y by (-6)\n                            change x by ((x) * (-1))\n                            if <key (up arrow v) pressed?> then\n                                set [y v] to [9]\n                                if <(x) > [0]> then\n                                    set [x v] to [-10]\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange y by (y)\nif <<<touching color (#a7a7a7)?> or <touching color (#d1d1d1)?>> or <touching color (#00fcff)?>> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-0.5)\nif <<<<<touching color (#a7a7a7)?> or <touching color (#d1d1d1)?>> or <touching color (#00fcff)?>> and <key (up arrow v) pressed?>> or <<touching color (#a7a7a7)?> and <<touching color (#d1d1d1)?> and <touching color (#00fcff)?>>>> then\n    set [y v] to [9.5]\nend\nchange y by (0.5)\nif <<touching color (#00e9ff)?> or <touching color (#00d4ff)?>> then\n    set volume to (300) %\n    start sound [Crunch v]\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    go to x: (x spawn) y: (y spawn)\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    set [x v] to [0]\n    set [y v] to [0]\nend\nif <(x position) > [233]> then\n    go to x: (x spawn) y: (y spawn)\n    next backdrop\n    set [x v] to [0]\n    set [y v] to [0]\nend\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nswitch costume to (trail v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-3)\nend\ndelete this clone\n\nwhen flag clicked\nset [y spawn v] to [-90]\nset [x spawn v] to [-190]\ngo to x: (x spawn) y: (y spawn)\nswitch costume to (right v)\nswitch backdrop to (backdrop1 v)\nshow\nset size to (100) %\nset [x v] to [0]\nset [y v] to [0]\nforever\n    run engine\nend\n\nwhen flag clicked\nforever\n    play sound [TheFatRat - Xenogenesis v] until done\nend\n\n@stuff\n\nwhen flag clicked\nhide\n\n@saw\n\nwhen flag clicked\nset size to (100) %\ngo to x: (-6) y: (-136)\nhide\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-6) y: (-136)\nshow\nforever\n    turn right (6) degrees\nend\n\nwhen backdrop switches to [backdrop5 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop11 v]\ngo to x: (-132) y: (80)\nshow\ngo to [front v] layer\nforever\n    turn right (6) degrees\nend\n\nwhen backdrop switches to [backdrop11 v]\nshow\nset size to (50) %\ngo to x: (-162) y: (23)\nforever\n    turn right (6) degrees\nend\n\nwhen backdrop switches to [backdrop11 v]\nwait (1) seconds\n\nwhen backdrop switches to [backdrop12 v]\nhide\n\n@moving spikes\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop6 v]\nshow\nset size to (100) %\nforever\n    glide (2) secs to x: (36) y: (84)\n    glide (1) secs to x: (36) y: (-59)\nend\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen backdrop switches to [backdrop12 v]\nhide\n\nwhen backdrop switches to [backdrop13 v]\nhide\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\n@spaceship\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop7 v]\nshow\ngo to x: (36) y: (28)\nforever\n    glide (1) secs to x: (43) y: (24)\n    glide (1) secs to x: (43) y: (-16)\nend\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (19) y: (-3)\nhide\n\nwhen backdrop switches to [backdrop15 v]\ngo to x: (19) y: (-3)\nshow\n\n@cover\n\nwhen flag clicked\nhide\n\nshow\n\n