Draw / A Platformer

Instructions: Te movés con las flechas\nATENCIÓN : ESTO NO ES UN TUTORIAL DE COMO DIBUJAR, ESTO ES UN JUEGO\nCon Q saltás la introducción

@Stage\n\nwhen I receive [start v]\nforever\n    play sound [Canción v] until done\nend\n\nwhen flag clicked\nplay sound [Dance Chill Out v] until done\n\n@Objeto1\n\nwhen flag clicked\nclear graphic effects\nhide\n\nwhen I receive [b v]\nset [b v] to [1]\nswitch costume to (disfraz7 v)\nwait (0.3) seconds\nset [b v] to [0]\n\nwhen I receive [muerte v]\nhide\n\nwhen I receive [muerte2 v]\nshow\n\nwhen I receive [start v]\ngo to x: (200) y: (0)\nshow\nset rotation style [left-right v]\nswitch costume to (disfraz3 v)\nforever\n    go to (player v)\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        repeat until <not <key (right arrow v) pressed?>>\n            switch costume to (disfraz2 v)\n            go to (player v)\n            wait (0.1.0) seconds\n            go to (player v)\n            switch costume to (disfraz4 v)\n            wait (0.1.0) seconds\n            go to (player v)\n            switch costume to (disfraz5 v)\n            go to (player v)\n            wait (0.1.0) seconds\n            switch costume to (disfraz3 v)\n            go to (player v)\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        repeat until <not <key (left arrow v) pressed?>>\n            switch costume to (disfraz2 v)\n            go to (player v)\n            wait (0.1.0) seconds\n            switch costume to (disfraz4 v)\n            go to (player v)\n            wait (0.1.0) seconds\n            go to (player v)\n            switch costume to (disfraz5 v)\n            go to (player v)\n            wait (0.1.0) seconds\n            go to (player v)\n            switch costume to (disfraz3 v)\n            go to (player v)\n        end\n    end\n    if <<not <<key (left arrow v) pressed?> or <<key (right arrow v) pressed?> or <<key (down arrow v) pressed?> or <key (up arrow v) pressed?>>>>> and <(b) = [0]>> then\n        switch costume to (disfraz3 v)\n    end\n    if <key (up arrow v) pressed?> then\n        switch costume to (disfraz6 v)\n        broadcast (a v)\n    end\nend\n\nwhen I receive [muerte v]\nhide\n\nwhen I receive [color v]\nset [color v] effect to (pick random (-100) to (100))\nset [brightness v] effect to (pick random (0) to (20))\n\n@PISO\n\nwhen I receive [next v]\nnext costume\nchange [nivel v] by (1)\n\nwhen flag clicked\nhide variable [nivel v]\nset [nivel v] to [1]\nhide\nswitch costume to (disfraz1 v)\n\nwhen I receive [start v]\nshow variable [nivel v]\nshow\nforever\n    if <touching (abajo v)?> then\n        set [piso v] to [1]\n    else\n        set [piso v] to [0]\n    end\nend\n\n@Player\n\nwhen flag clicked\nset [nm v] to [0]\nset [m v] to [0]\nhide\nset [ghost v] effect to (999999999)\ngo to [back v] layer\ngo to x: (-200) y: (0)\n\nwhen I receive [a v]\nwait (0.5) seconds\nbroadcast (b v)\n\nwhen I receive [start v]\nshow\n\nwhen I receive [muerte2 v]\nset [m v] to [1]\nwait (0.3) seconds\nset [m v] to [0]\n\nwhen I receive [muerte v]\nset [nm v] to [1]\ngo to x: (-200) y: (0)\nwait (0.3) seconds\nset [nm v] to [0]\n\ndefine GRAVEDAD\nchange y by (-6)\n\nwhen I receive [start v]\nset [level v] to [1]\nshow\npoint in direction (90)\nset rotation style [left-right v]\ngo to x: (-200) y: (0)\nset size to (30) %\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n    end\n    if <<key (up arrow v) pressed?> and <(piso) = [1]>> then\n        repeat (13)\n            change y by (10)\n            if <touching (piso v)?> then\n                change y by (-10)\n            end\n        end\n    end\n    if <not <(piso) = [1]>> then\n        GRAVEDAD\n    end\n    if <(NM) = [1]> then\n        wait until <(M) = [1]>\n    end\n    if <(x position) > [227]> then\n        go to x: (-200) y: (0)\n        broadcast (Next v)\n    end\nend\n\nwhen I receive [derecha v]\nchange x by (10)\n\nwhen I receive [izquierda v]\nchange x by (-10)\n\n@Objeto2\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nforever\n    if <touching (objeto1 v)?> then\n        broadcast (muerte v)\n        play sound [Splash v] until done\n        broadcast (muerte2 v)\n        wait (0.1) seconds\n    end\nend\n\n@Objeto3\n\nwhen flag clicked\nshow\nswitch costume to (disfraz28 v)\ngo to x: (0) y: (0)\nrepeat (17)\n    wait (1) seconds\n    next costume\nend\nwait (2) seconds\nrepeat (7)\n    wait (1) seconds\n    next costume\nend\nwait (1) seconds\nnext costume\nwait (1.5) seconds\nnext costume\nwait (1.5) seconds\nbroadcast (Start v)\nhide\n\nwhen [q v] key pressed\nstop all sounds\nhide\nbroadcast (Start v)\n\n@Hitbox2\n\nwhen flag clicked\nset [ghost v] effect to (999999999)\nshow\ngo to (player v)\n\nwhen I receive [start v]\nshow\nforever\n    go to (player v)\n    if <touching color (#00eaff)?> then\n        go to (player v)\n        broadcast (muerte v)\n        start sound [Splash v]\n        go to (player v)\n        go to (player v)\n        broadcast (muerte2 v)\n        go to (player v)\n        wait (0.1) seconds\n        go to (player v)\n    end\nend\n\n@Objeto4\n\nwhen flag clicked\nset [\( ºuº \) v] to [8]\ngo to x: (0) y: (0)\nhide\nwait (0.1) seconds\nforever\n    if <(Nivel) = (\( ºuº \))> then\n        change [\( ºuº \) v] by (8)\n        show\n        broadcast (color v)\n        wait (1) seconds\n        hide\n    end\nend\n\n@Objeto5\n\nwhen flag clicked\nshow\nset [ghost v] effect to (99999999)\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\n\n@abajo\n\nwhen flag clicked\nset [ghost v] effect to (9999)\nforever\n    go to (player v)\nend\n\n@hitbox izquierda\n\nwhen flag clicked\nset [ghost v] effect to (9999)\nforever\n    go to (player v)\n    if <<not <touching (piso v)?>> and <key (left arrow v) pressed?>> then\n        broadcast (izquierda v)\n    end\nend\n\n@hitbox derecha\n\nwhen flag clicked\nset [ghost v] effect to (9999)\nforever\n    go to (player v)\n    if <<not <touching (piso v)?>> and <key (right arrow v) pressed?>> then\n        broadcast (derecha v)\n    end\nend\n\n