TRON: LEGACY ~ A Platformer

Instructions: SPAM that green program!!\n________________________\nOk, I know that this project has hit 100+ loves and 50+ and I am now again working on the Final Battle after almost a year!!! Thanks for all the support. \nI still can't believe that this is so POPULAR!!! :O\n====================\n@HyperEel viewed!!\n#125 on games!!!!\n#43 on Popular if you search Tron\n====================\nWatch and Play! Thank you so much to my friends and followers for all the support.\nThis project has been a couple of weeks in the making. Almost 500 blocks, and about 30 hours of work!\n=========================\nNOTICE: You can actually skip the intro clicking space.\n=========================\nTRON: LEGACY is honestly one of the most awesome movies I have ever seen. I love the graphics and the whole idea of going inside a video game.\n________________________________\n| STORY |\nThe nefarious program Clu has taken over the Grid! Journey across this dangerous landscape to overtake Clu and bring him down. \n___________________________________\n| INSTRUCTIONS |\n- WAD or Arrow Keys to Move\n- Space Bar can also be used to jump\n- Avoid the spikes\n- Defeat Clu!\n\nLET'S GET THIS ON TRENDING OR FEATURED!!!\nAlso check out this platformer It's pretty awesome\nhttps://scratch.mit.edu/projects/505627008

@Stage\n\nwhen flag clicked\nset [brightness v] effect to (0)\nchange [brightness v] effect by (-100)\nswitch backdrop to (black v)\nstart sound [Tron Legacy the grid a digital frontier v]\nwait (1) seconds\nrepeat (10)\n    change [brightness v] effect by (10)\nend\nwait (3) seconds\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nwait (5) seconds\nbroadcast (clip v)\nswitch backdrop to (tron logo v)\nwait (37) seconds\nrepeat (20)\n    change [brightness v] effect by (5)\nend\nwait (4) seconds\nbroadcast (A Platformer v)\n\nwhen I receive [start game v]\nset [brightness v] effect to (0)\nstop [other scripts in sprite v]\nstop all sounds\nswitch backdrop to (level1 v)\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen flag clicked\nwait until <(backdrop [number v]) = [12]>\nbroadcast (Normal Player v)\n\nwhen I receive [end show v]\nswitch backdrop to (end show v)\n\n@Player\n\nwhen flag clicked\nhide\n\ndefine Run Game\nchange [speed y v] by (-1)\nif <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n    change [speed x v] by (-2)\n    if <(costume [number v]) = [1]> then\n        switch costume to (small player v)\n    else\n        switch costume to (left normal player v)\n    end\nend\nif <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n    change [speed x v] by (2)\n    if <(costume [number v]) = [1]> then\n        switch costume to (small player v)\n    else\n        switch costume to (right normal player  v)\n    end\nend\nset [speed x v] to ((Speed X) * (0.7))\nchange x by (Speed X)\nif <touching (ground v)?> then\n    change y by (1)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change y by (1)\n                            if <touching (ground v)?> then\n                                change y by (1)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nif <touching (ground v)?> then\n    change y by (-8)\n    repeat until <not <touching (ground v)?>>\n        change x by ((Speed X) * (-1))\n    end\n    if <<key (up arrow v) pressed?> or <<key (space v) pressed?> or <key (w v) pressed?>>> then\n        set [speed y v] to [10]\n        if <(Speed X) < [0]> then\n            set [speed x v] to [16]\n        else\n            set [speed x v] to [-16]\n        end\n    else\n        set [speed x v] to [0]\n    end\nend\nchange y by (Speed Y)\nif <touching (ground v)?> then\n    repeat until <not <touching (ground v)?>>\n        change y by ((Speed Y) * (-1))\n    end\n    set [speed y v] to [0]\nend\nchange y by (-1)\nif <<<key (w v) pressed?> or <key (up arrow v) pressed?>> and <touching (ground v)?>> then\n    set [speed y v] to [14]\nend\nchange y by (1)\nif <touching (_edge_ v)?> then\n    broadcast (Next Level v)\nend\nif <<touching (dangers v)?> or <touching (moving dangers v)?>> then\n    repeat (5)\n        change [ghost v] effect by (20)\n    end\n    set [speed x v] to [0]\n    set [speed y v] to [0]\n    set [ghost v] effect to (0)\n    go to x: (-215) y: (-70)\nend\n\nwhen I receive [next level v]\ngo to x: (-215) y: (-70)\n\nwhen I receive [start game v]\nset size to (100) %\npoint in direction (90)\nshow\nswitch costume to (right normal player  v)\nset [speed y v] to [0]\nset [speed x v] to [0]\ngo to x: (-215) y: (-70)\nset rotation style [left-right v]\nset drag mode [not draggable v]\nrepeat until <(costume [name v]) = [End Person]>\n    Run Game\nend\n\nwhen I receive [small player v]\nswitch costume to (small player v)\n\nwhen I receive [start game v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    switch costume to (small shadow v)\nend\nif <(costume [number v]) = [4]> then\n    switch costume to (normal shadow v)\nend\nif <(costume [number v]) = [7]> then\n    switch costume to (normal shadow v)\nend\nset [ghost v] effect to (0)\nset size to (100) %\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [normal player v]\nset size to (100) %\nswitch costume to (end person v)\ngo to x: (-250) y: (-132)\nglide (1) secs to x: (-210) y: (-132)\nwait (3) seconds\nsay [Clu!] for (4) seconds\nhide\n\nbroadcast (Next Level v)\n\n@Clu\n\nwhen flag clicked\nswitch costume to (normal v)\nset size to (100) %\ngo to x: (255) y: (-132)\nset drag mode [not draggable v]\nhide\n\nwhen I receive [normal player v]\nwait (2) seconds\nshow\nglide (1) secs to x: (204) y: (-132)\nwait (5) seconds\nhide\nbroadcast (End Show v)\n\n@Ground\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (level1 v)\nhide\n\nwhen I receive [start game v]\nshow\n\nbroadcast (Start Game v)\n\nwhen flag clicked\nset drag mode [not draggable v]\nwait until <(costume [number v]) = [8]>\nbroadcast (Small Player v)\nwait until <(costume [number v]) = [10]>\nbroadcast (Final Battle v)\nbroadcast (Normal Player v)\n\nwhen I receive [end show v]\nhide\n\n@A Platformer\n\nwhen flag clicked\nset drag mode [not draggable v]\nset [brightness v] effect to (0)\ngo to x: (0) y: (0)\ngo to [front v] layer\nchange [brightness v] effect by (-100)\nhide\n\nwhen I receive [a platformer v]\nshow\nrepeat (20)\n    change [brightness v] effect by (5)\nend\nbroadcast (Press Space to Start v)\n\nwhen I receive [start game v]\nhide\n\n@Start Button\n\nwhen flag clicked\nset drag mode [not draggable v]\nset [brightness v] effect to (-100)\ngo to x: (-160) y: (-50)\nhide\n\nwhen I receive [press space to start v]\nwait (4) seconds\nshow\nrepeat (25)\n    change [brightness v] effect by (4)\nend\nforever\n    repeat (25)\n        change [brightness v] effect by (-2)\n    end\n    repeat (25)\n        change [brightness v] effect by (2)\n    end\nend\n\nwhen [space v] key pressed\nbroadcast (Start Game v)\nhide\n\n@TRON PLAYLIST\n\nwhen flag clicked\nset [song v] to [0]\nhide\n\nwhen I receive [start game v]\nbroadcast (Song Playlist v)\n\nbroadcast (Next Level v)\n\nwhen I receive [song playlist v]\nplay sound [The Son of Flynn v] until done\nif <(Song) = [0]> then\n    broadcast (Song Playlist 2 v)\nend\n\nwhen I receive [final battle v]\nset [song v] to [3]\n\nstop all sounds\n\nwhen I receive [song playlist v]\nforever\n    Check Song\nend\n\ndefine Check Song\nif <(Song) = [3]> then\n    set volume to (200) %\n    stop all sounds\n    play sound [TRON Legacy v] until done\nend\n\nwhen I receive [song playlist 2 v]\nplay sound [Castor v] until done\nif <(Song) = [0]> then\n    broadcast (Song Playlist 3 v)\nend\n\nwhen I receive [song playlist 3 v]\nplay sound [TRON Legacy v] until done\nif <(Song) = [0]> then\n    broadcast (Song Playlist v)\nend\n\n@Dangers\n\nwhen flag clicked\nset drag mode [not draggable v]\nswitch costume to (level1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [next level v]\nnext costume\n\n@Moving Dangers\n\nwhen flag clicked\nset drag mode [not draggable v]\nshow\nswitch costume to (level1 v)\ngo to x: (0) y: (0)\nset rotation style [left-right v]\nforever\n    if <(costume [number v]) = [8]> then\n        go to x: (-1) y: (-12)\n        repeat until <(costume [number v]) = [9]>\n            glide (2) secs to x: (130) y: (-12)\n            glide (2) secs to x: (-1) y: (-12)\n        end\n        hide\n    end\nend\n\nwhen I receive [next level v]\nnext costume\n\n@Tron Shockwave\n\nwhen I start as a clone\nset size to (0) %\nif <(Clone ID) = [Shockwave]> then\n    switch costume to (costume1 v)\n    repeat (5)\n        next costume\n        change size by (((350) - (size)) / (5))\n    end\n    repeat (7)\n        next costume\n        change size by (((350) - (size)) / (5))\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nset drag mode [not draggable v]\ngo to x: (0) y: (0)\nwait (1) seconds\nshow\nset [clone id v] to [Shockwave]\ncreate clone of (_myself_ v)\nset [ghost v] effect to (0)\nhide\n\ndefine Smooth Grow | size: (size) speed: (speed)\nrepeat until <(round (size)) = (round (size))>\n    change size by (((size) - (size)) / (speed))\nend\nset size to (size) %\n\nwhen I receive [start game v]\nstop [other scripts in sprite v]\nhide\n\n@Tron Intro\n\nwhen flag clicked\nset drag mode [not draggable v]\nhide\ngo to [front v] layer\nset [ghost v] effect to (0)\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\npoint in direction (90)\nset size to (10) %\nclear graphic effects\nwait (1) seconds\nshow\nSmooth Grow | size: [95] speed: [4]\nSmooth Grow | size: [105] speed: [10]\nwait (1) seconds\nbroadcast (Shrink and Fade v)\nSmooth Grow | size: [10] speed: [5]\n\ndefine Smooth Grow | size: (size) speed: (speed)\nrepeat until <(round (size)) = (round (size))>\n    change size by (((size) - (size)) / (speed))\nend\nset size to (size) %\n\nhide\n\nwhen I receive [shrink and fade v]\nrepeat (25)\n    change [ghost v] effect by (4)\nend\n\nwhen I receive [start game v]\nstop [other scripts in sprite v]\nhide\n\n@1st GIF\n\nwhen flag clicked\nset drag mode [not draggable v]\nhide\n\nwhen I receive [clip v]\nwait (3) seconds\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\nset size to (200) %\nswitch costume to (tron_legacy 1st gif v)\nrepeat (140)\n    next costume\n    wait (0.066) seconds\nend\nbroadcast (clip2 v)\nhide\n\nwhen I receive [start game v]\nstop [other scripts in sprite v]\nhide\n\n@2nd GIF\n\nwhen flag clicked\nset drag mode [not draggable v]\nhide\n\nwhen I receive [clip2 v]\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\nset size to (200) %\nswitch costume to (tron_legacy 2nd gif v)\nrepeat (139)\n    next costume\n    wait (0.066) seconds\nend\nbroadcast (clip3 v)\nhide\n\nwhen I receive [start game v]\nstop [other scripts in sprite v]\nhide\n\n@3rd GIF\n\nwhen flag clicked\nset drag mode [not draggable v]\nhide\n\nwhen I receive [clip3 v]\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\nset size to (200) %\nswitch costume to (tron_legacy 3rd gif v)\nrepeat (139)\n    next costume\n    wait (0.066) seconds\nend\nbroadcast (clip4 v)\nhide\n\nwhen I receive [start game v]\nstop [other scripts in sprite v]\nhide\n\n@4th GIF\n\nwhen flag clicked\nset drag mode [not draggable v]\nset [ghost v] effect to (0)\nhide\n\nwhen I receive [clip4 v]\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\nset size to (200) %\nswitch costume to (tron_legacy 4th and final gif v)\nrepeat (28)\n    next costume\n    wait (0.066) seconds\nend\nrepeat (41)\n    next costume\n    change [ghost v] effect by (3)\n    wait (0.066) seconds\nend\nhide\n\nwhen I receive [start game v]\nstop [other scripts in sprite v]\nhide\n\n@Love and Fave\n\nwhen flag clicked\nset size to (100) %\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [end show v]\nshow\nforever\n    Smooth Grow | size: [98] speed: [4]\n    Smooth Grow | size: [100] speed: [4]\nend\n\ndefine Smooth Grow | size: (size) speed: (speed)\nrepeat until <(round (size)) = (round (size))>\n    change size by (((size) - (size)) / (speed))\nend\nset size to (size) %\n\n@Thumbnail\n\nwhen [timer v] > (0.01)\nswitch costume to (costume2 v)\nshow\ngo to x: (0) y: (100000)\nrepeat until <(round (y position)) = [0]>\n    go to [front v] layer\n    change y by (((0) - (y position)) / (4))\nend\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nshow\ngo to [front v] layer\n\n