Nano Platformer 19 Levels!


@Stage\n\nwhen flag clicked\nset [level v] to [1]\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\n\nchange [level v] by (1)\n\nchange [level v] by (1)\n\nif <<([x position v] of [sprite1 v]) > [190]> and <(Level) = [1]>> then\n    set [level v] to [2]\n    switch backdrop to (backdrop2 v)\nend\nif <<([x position v] of [sprite1 v]) > [190]> and <(Level) = [2]>> then\n    set [level v] to [3]\n    switch backdrop to (backdrop3 v)\nend\n\nwhen I receive [next v]\nchange [level v] by (1)\nnext backdrop\n\nforever\nend\n\nwhen flag clicked\nforever\n    play sound [recording1 v] until done\nend\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (-190) y: (-100)\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        move (5) steps\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        move (5) steps\n    end\nend\n\nmove (-10) steps\n\nmove (-10) steps\n\nwhen flag clicked\nforever\n    if <touching color (#00cc44)?> then\n        point in direction (180)\n        move (-12) steps\n    end\nend\n\n\n\nwhen flag clicked\nforever\n    if <touching color (#003fff)?> then\n        point in direction (0)\n        move (1) steps\n    end\nend\n\nrepeat (10)\n    change y by (12)\nend\nwait (0.09) seconds\nrepeat (10)\n    change y by (-12)\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [200]> then\n        go to x: (-190) y: (-100)\n        broadcast (next v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-190) y: (-100)\n    end\nend\n\nmove (10) steps\npoint in direction (0)\nmove (-10) steps\n\nwhen I receive [hit v]\ngo to x: (-190) y: (-100)\n\nwhen flag clicked\n\nrepeat (9)\n    change y by (13)\nend\n\n\n\nif <<key (up arrow v) pressed?> and <touching color (#003fff)?>> then\n    repeat (10)\n        change y by (12)\n    end\n    wait (0.09) seconds\n    repeat (10)\n        change y by (-12)\n    end\nend\nif <<key (up arrow v) pressed?> and <not <touching color (#003fff)?>>> then\n    point in direction (0)\n    move (-12) steps\nend\n\nif <touching color (#003fff)?> then\n\nwhen flag clicked\nforever\n    if <<touching color (#003fff)?> and <key (down arrow v) pressed?>> then\n        point in direction (180)\n        move (2) steps\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#995900)?> then\n        point in direction (0)\n        move (-3) steps\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching color (#995900)?> and <key (space v) pressed?>> then\n        point in direction (0)\n        move (5) steps\n    end\nend\n\nwhen flag clicked\nforever\n    if  then\n        point in direction (180)\n        move (12) steps\n    end\nend\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    if <<<key (up arrow v) pressed?> and <touching color (#00cc44)?>> or <<key (up arrow v) pressed?> or <<touching color (#995900)?> or <touching color (#003fff)?>>>> then\n        repeat until <not <key (up arrow v) pressed?>>\n            repeat (9)\n                change y by (13)\n            end\n            wait (0.09) seconds\n            repeat until <<<touching color (#00cc44)?> or <touching color (#003fff)?>> or <touching color (#995900)?>>\n                change y by (-13)\n            end\n        end\n    end\n    if <<not <key (up arrow v) pressed?>> and <<not <touching color (#00cc44)?>> and <<not <touching color (#003fff)?>> and <not <touching color (#995900)?>>>>> then\n        point in direction (0)\n        move (-14) steps\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\ngo to x: (190) y: (-100)\nforever\n    if <<<(Level) = [5]> or <(Level) = [6]>> or <(Level) = [11]>> then\n        show\n        if <touching (sprite1 v)?> then\n            go to x: (190) y: (-100)\n            broadcast (hit v)\n        end\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\nend\n\nwhen flag clicked\nforever\n    point in direction (90)\n    repeat (50)\n        move (8) steps\n    end\n    wait (0) seconds\n    repeat (50)\n        move (-8) steps\n    end\n    wait (0) seconds\nend\n\n@Sprite3\n\nwhen flag clicked\nhide\ngo to x: (-100) y: (-100)\nforever\n    hide\n    if <<<(Level) = [8]> or <(Level) = [9]>> or <(Level) = [10]>> then\n        show\n        if <touching (sprite1 v)?> then\n            go to x: (0) y: (-100)\n            broadcast (hit v)\n        end\n    else\n        hide\n    end\nend\n\nif  then\nelse\nend\n\nhide\nhide\n\nif  then\nend\n\nwhen flag clicked\nforever\n    point in direction (90)\n    repeat (40)\n        move (4) steps\n    end\n    wait (0) seconds\n    repeat (40)\n        move (-4) steps\n    end\n    wait (0) seconds\nend\n\n@Sprite4\n\nwhen flag clicked\nhide\nforever\n    hide\n    if <(Level) = [19]> then\n        show\n        if <touching (sprite1 v)?> then\n            go to x: (200) y: (200)\n            broadcast (hit v)\n        end\n        point towards (sprite1 v)\n        move (5) steps\n    else\n        hide\n    end\nend\n\nif  then\nelse\nend\n\nhide\nhide\n\nif  then\nend\n\nwhen flag clicked\nforever\nend\n\npoint in direction (90)\n\nwhen flag clicked\n\nforever\nend\n\ngo to x: (200) y: (200)\n\n@Sprite5\n\nwhen flag clicked\nhide\ngo to x: (100) y: (200)\nforever\n    hide\n    if <<<(Level) = [13]> or <(Level) = [14]>> or <(Level) = [17]>> then\n        show\n        move (3) steps\n        if <touching (sprite1 v)?> then\n            go to x: (200) y: (200)\n            broadcast (hit v)\n        end\n    else\n        hide\n    end\nend\n\nif  then\nelse\nend\n\nhide\nhide\n\nif  then\nend\n\nwhen flag clicked\n\nforever\nend\n\npoint towards (sprite1 v)\n\nwhen flag clicked\nforever\n    if on edge, bounce\nend\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.1) seconds\nend\n\n@Sprite6\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [15]> then\n        show\n        glide (4) secs to x: (200) y: (0)\n        glide (4) secs to x: (-200) y: (0)\n    end\n    hide\nend\n\nwhen flag clicked\nforever\n    if <not <(Level) = [15]>> then\n        hide\n    end\nend\n\n@Sprite7\n\nwhen flag clicked\nhide\nforever\n    hide\n    if <(Level) = [15]> then\n        show\n        glide (10) secs to x: (202) y: (200)\n        glide (10) secs to x: (202) y: (-200)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(Level) = [15]>> then\n        hide\n    end\nend\n\n@Sprite9\n\nwhen flag clicked\nhide\nforever\n    hide\n    if <(Level) = [17]> then\n        show\n        glide (3) secs to x: (202) y: (200)\n        glide (3) secs to x: (202) y: (-200)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(Level) = [17]>> then\n        hide\n    end\nend\n\n@Sprite10\n\nwhen flag clicked\nhide\nforever\n    hide\n    if <(Level) = [17]> then\n        show\n        glide (15) secs to x: (202) y: (200)\n        glide (15) secs to x: (202) y: (-200)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(Level) = [17]>> then\n        hide\n    end\nend\n\n@Sprite11\n\nwhen flag clicked\nhide\nforever\n    hide\n    if <(Level) = [18]> then\n        show\n        glide (3) secs to x: (202) y: (200)\n        glide (3) secs to x: (-8) y: (-33)\n        glide (3) secs to x: (202) y: (-200)\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <(Level) = [18]>> then\n        hide\n    end\nend\n\nglide (3) secs to x: (114) y: (-49)\n\n@Sprite8\n\nwhen flag clicked\ngo to x: (-200) y: (200)\nhide\nforever\n    hide\n    if <<<(Level) = [16]> or <(Level) = [19]>> or <(Level) = [18]>> then\n        show\n        if <touching (sprite1 v)?> then\n            go to x: (-200) y: (200)\n            broadcast (hit v)\n        end\n        point towards (sprite1 v)\n        move (1.5) steps\n    else\n        hide\n    end\nend\n\nif  then\nelse\nend\n\nhide\nhide\n\nif  then\nend\n\nwhen flag clicked\nforever\nend\n\npoint in direction (90)\n\nwhen flag clicked\n\nforever\nend\n\ngo to x: (200) y: (200)\n\n