Eyes: A platformer #games

Instructions: I'm so glad that this many people enjoy this game! 

@Stage\n\nwhen I receive [nextlevel v]\nnext backdrop\nchange [level v] by (1)\n\nwhen backdrop switches to [level1 v]\nset [doorplace v] to [1]\n\nwhen backdrop switches to [level2 v]\nset [doorplace v] to [2]\n\nwhen backdrop switches to [level3 v]\nset [doorplace v] to [3]\n\nwhen backdrop switches to [level4 v]\nset [doorplace v] to [4]\n\nwhen backdrop switches to [level5 v]\nset [doorplace v] to [5]\n\nwhen backdrop switches to [level6 v]\nset [doorplace v] to [6]\n\nwhen flag clicked\nswitch backdrop to (play v)\nset [deathdrop v] to [1]\n\nwhen backdrop switches to [level8 v]\nset [doorplace v] to [8]\n\nwhen backdrop switches to [level9 v]\nset [doorplace v] to [9]\n\nwhen backdrop switches to [level10 v]\nset [doorplace v] to [10]\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen flag clicked\nforever\n    play sound [Throw Down v] until done\nend\n\nwhen flag clicked\nset [speedrun v] to [0]\nforever\n    if <(Death count) = [100]> then\n        switch backdrop to (gameover v)\n        set [gameover v] to [1]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Gameover) = [1]> then\n        if <key (space v) pressed?> then\n            switch backdrop to (level1 v)\n            set [level v] to [1]\n            set [death count v] to [0]\n            set [speedrun v] to [0]\n        end\n    end\nend\n\nwhen backdrop switches to [level7 v]\nset [doorplace v] to [7]\nchange [deathdrop v] by (7)\n\n@Player\n\ndefine Gravity\nset [x v] to ((x) * (.9))\nchange x by (x)\nif <touching color (#000000)?> then\n    change x by ((x) * (-1))\n    if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n        if <(x) < [0]> then\n            set [x v] to [-8]\n        else\n            set [x v] to [8]\n        end\n        set [y v] to [10]\n        if <(Direction) = [1]> then\n            change [x v] by (-15)\n            change [y v] by (4)\n        end\n        if <(Direction) = [2]> then\n            change [x v] by (15)\n            change [y v] by (4)\n        end\n    else\n        set [x v] to [0]\n    end\nend\n\ndefine Movement\nchange [y v] by (-1)\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [x v] by (0.8)\n    set [direction v] to [1]\nend\nif <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n    change [x v] by (-0.8)\n    set [direction v] to [2]\nend\nchange y by (-1)\nif <touching color (#000000)?> then\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        change [y v] by (15)\n        set [direction v] to [3]\n    end\nend\nchange y by (1)\n\ndefine Sit\nchange y by (y)\nif <touching color (#000000)?> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\n\nwhen I receive [play v]\nforever\n    if <(Gameover) = [0]> then\n        create clone of (_myself_ v)\n        wait (.05) seconds\n    else\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nif <(Direction) = [1]> then\n    switch costume to (righttrail v)\nend\nif <(Direction) = [2]> then\n    switch costume to (lefttrail v)\nend\nif <(Direction) = [3]> then\n    switch costume to (uptrail v)\nend\nshow\nrepeat (20)\n    change size by (-5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <touching (portal v)?> then\n        broadcast (NextLevel v)\n        go to x: (-205) y: (0)\n    end\nend\n\nwhen backdrop switches to [level8 v]\ngo to x: (-133) y: (-155)\n\nwhen backdrop switches to [level8 v]\nset [deathdrop v] to [8]\n\nwhen backdrop switches to [level7 v]\ngo to x: (-142) y: (-17)\n\nwhen flag clicked\nforever\n    if <touching (secretspikes v)?> then\n        go to x: (-218) y: (0)\n        change [death count v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (trampoline v)?> then\n        change [y v] by (25)\n    end\nend\n\nwhen backdrop switches to [level14 v]\ngo to x: (-208) y: (-155)\n\nwhen backdrop switches to [level15 v]\ngo to x: (-208) y: (-73)\n\nwhen backdrop switches to [level16 v]\ngo to x: (-194) y: (-152)\n\nwhen I receive [start v]\ngo to [front v] layer\nhide\ngo to x: (-205) y: (0)\nswitch backdrop to (level1 v)\nshow\nset [y v] to [0]\nset [x v] to [0]\nforever\n    Gravity\n    Movement\n    Sit\nend\n\nwhen I receive [start v]\nbroadcast (Play v)\nset [death count v] to [0]\n\nwhen I receive [start v]\nforever\n    if <(Direction) = [1]> then\n        switch costume to (right v)\n    end\n    if <(Direction) = [2]> then\n        switch costume to (left v)\n    end\n    if <(Direction) = [3]> then\n        switch costume to (up v)\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <touching color (#ff0000)?> then\n        change [death count v] by (1)\n        if <(Level) = [2]> then\n            go to x: (-184) y: (0)\n        end\n        if <(Level) = [3]> then\n            go to x: (-184) y: (0)\n        end\n        if <(Level) = [7]> then\n            go to x: (-184) y: (-17)\n        end\n        if <(Level) = [8]> then\n            go to x: (-142) y: (-153)\n        end\n        if <(Level) = [10]> then\n            go to x: (-205) y: (0)\n        end\n        if <(Level) = [11]> then\n            go to x: (-184) y: (0)\n        end\n        if <(Level) = [12]> then\n            go to x: (-184) y: (0)\n        end\n        if <(Level) = [13]> then\n            go to x: (-222) y: (-153)\n        end\n        if <(Level) = [14]> then\n            go to x: (-208) y: (-155)\n        end\n        if <(Level) = [15]> then\n            go to x: (-200) y: (-73)\n        end\n        if <(Level) = [16]> then\n            go to x: (-200) y: (-152)\n        end\n        if <(Level) = [17]> then\n            go to x: (-200) y: (-152)\n        end\n        if <(Level) = [18]> then\n            go to x: (-179) y: (-152)\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level1 v]\ngo to x: (-193) y: (0)\nshow\nset [gameover v] to [0]\n\nwhen backdrop switches to [play v]\nhide\n\nwhen backdrop switches to [gameover v]\nhide\n\nwhen backdrop switches to [level18 v]\ngo to x: (-193) y: (-149)\n\nwhen backdrop switches to [level19 v]\nwait (.5) seconds\ngo to [back v] layer\nglide (1) secs to x: (-33) y: (-68)\nwait (5) seconds\nnext backdrop\nhide\nchange [speedrun v] by (-5)\nstop [all v]\n\nwhen backdrop switches to [level7 v]\nset [doorplace v] to [7]\n\n@Portal\n\nwhen backdrop switches to [level5 v]\ngo to x: (209) y: (166)\n\nwhen backdrop switches to [level7 v]\ngo to x: (195) y: (-138)\n\nwhen backdrop switches to [level2 v]\nset [doorplace v] to [2]\n\nwhen backdrop switches to [level3 v]\nset [doorplace v] to [3]\n\nwhen backdrop switches to [level4 v]\nset [doorplace v] to [4]\n\nwhen backdrop switches to [level5 v]\nset [doorplace v] to [5]\n\nwhen backdrop switches to [level6 v]\nset [doorplace v] to [6]\n\nwhen backdrop switches to [level7 v]\nset [doorplace v] to [7]\n\nwhen backdrop switches to [level1 v]\nset [doorplace v] to [1]\n\nwhen backdrop switches to [level1 v]\ngo to x: (195) y: (-132)\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level15 v]\ngo to x: (192) y: (-139)\n\nwhen backdrop switches to [level16 v]\ngo to x: (192) y: (-139)\n\nwhen backdrop switches to [level9 v]\ngo to x: (195) y: (-138)\n\nwhen backdrop switches to [level8 v]\ngo to x: (195) y: (-138)\n\nwhen I receive [start v]\nset [doorplace v] to [0]\nset [death count v] to [0]\ngo to x: (195) y: (-132)\nshow\n\nwhen I receive [start v]\nset [speedrun v] to [0]\nforever\n    wait (.1) seconds\n    change [speedrun v] by (.1)\nend\n\nwhen backdrop switches to [gameover v]\nhide\n\nwhen backdrop switches to [level1 v]\nshow\n\nwhen backdrop switches to [level19 v]\nhide\n\n@SecretSpikes\n\nwhen backdrop switches to [level9 v]\nshow\nforever\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    wait (1) seconds\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level10 v]\nhide\n\nwhen backdrop switches to [gameover v]\nhide\n\n@Trampoline\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level10 v]\nshow\ngo to x: (-128) y: (-165)\n\nwhen backdrop switches to [level11 v]\nhide\n\nwhen backdrop switches to [level16 v]\ngo to x: (-12) y: (-175)\nshow\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to x: (152) y: (-165)\n\nwhen backdrop switches to [level17 v]\nhide\ndelete this clone\n\nwhen backdrop switches to [level16 v]\nshow\ngo to x: (-11) y: (-165)\n\nwhen backdrop switches to [gameover v]\nhide\n\n@Attacker 2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level11 v]\ngo to x: (-129) y: (-154)\n\nwhen I receive [attack v]\nshow\ngo to x: (-7) y: (-155)\nforever\n    switch costume to (costume2 v)\n    glide (2.5) secs to x: (120) y: (-154)\n    switch costume to (costume1 v)\n    glide (2.5) secs to x: (-110) y: (-154)\nend\n\nwhen backdrop switches to [level12 v]\nhide\n\nwhen backdrop switches to [gameover v]\nhide\n\n@Attacker\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level12 v]\nhide\n\nwhen backdrop switches to [level11 v]\nbroadcast (Attack v)\n\nwhen I receive [attack v]\nshow\ngo to x: (-7) y: (-155)\nforever\n    switch costume to (costume1 v)\n    glide (2.5) secs to x: (-110) y: (-154)\n    switch costume to (costume2 v)\n    glide (2.5) secs to x: (120) y: (-154)\nend\n\nwhen backdrop switches to [gameover v]\nhide\n\n@Swinging mace!\n\nwhen flag clicked\nhide\nforever\n    turn right (5) degrees\nend\n\nwhen backdrop switches to [level12 v]\nshow\ngo to x: (-26) y: (-161)\n\nwhen backdrop switches to [level13 v]\ncreate clone of (_myself_ v)\ngo to x: (9) y: (-160)\n\nwhen I start as a clone\nforever\n    turn right (4) degrees\n    go to x: (0) y: (10)\nend\n\nwhen backdrop switches to [level14 v]\nhide\ndelete this clone\n\nwhen backdrop switches to [level14 v]\nhide\n\nwhen backdrop switches to [level15 v]\nshow\ngo to x: (104) y: (76)\n\nwhen backdrop switches to [level16 v]\nhide\n\nwhen backdrop switches to [gameover v]\nhide\n\n@Spinball\n\nwhen backdrop switches to [level17 v]\nshow\nset size to (100) %\ngo to x: (0) y: (0)\n\nwhen flag clicked\nhide\nforever\n    turn right (-2) degrees\nend\n\nwhen backdrop switches to [level18 v]\nset size to (30) %\ngo to x: (120) y: (-25)\n\nwhen backdrop switches to [level19 v]\nhide\n\nwhen backdrop switches to [gameover v]\nhide\n\n@Play\n\nwhen flag clicked\nhide\nswitch backdrop to (play v)\n\nwhen backdrop switches to [play v]\nshow\n\nwhen this sprite clicked\nbroadcast (Start v)\nhide\nswitch backdrop to (level1 v)\n\nwhen flag clicked\nshow\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (10)\n        if <[150] < (size)> then\n            set size to (150) %\n        end\n    else\n        set size to (100) %\n    end\nend\n\nwhen backdrop switches to [gameover v]\nhide\n\n@Boss\n\nwhen backdrop switches to [level19 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\n@Spinball2\n\nwhen backdrop switches to [level17 v]\nshow\nset size to (100) %\ngo to x: (0) y: (0)\n\nwhen flag clicked\nhide\nforever\n    turn right (-2) degrees\nend\n\nwhen backdrop switches to [level18 v]\nset size to (30) %\ngo to x: (120) y: (-25)\n\nwhen backdrop switches to [level19 v]\nhide\n\nwhen backdrop switches to [gameover v]\nhide\n\n