SuperMax888Test Platformer!

Instructions: RUS-------------------------------------\nВсем привет! Это платформер про меня! \nНажмите "R" для рестарта. Нажмите "S" чтобы пропустить уровень! Управление стрелками,пальцем или мышью. В игре 20 уровней.   НЕ КАСАТЬСЯ БОССА НА 12 УРОВНЕ!!! Не пропускайте уровни и вы получите энергию,которая вас ускорит и крылья,с которыми вы можете лететь 3 секунды! Приятной игры! \nENG-----------------------------------------\nHello everyone This is a platformer about me! \nPress "R" to restart. Tap "S" to skip a level! Control the arrows, finger or mouse. The game has 20 levels. DON'T TOUCH THE BOSS AT LEVEL 12!!! Do not miss the levels and you will get energy that will speed you up and wings with which you can fly for 3 seconds! Enjoy the game!\n

@Stage\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [21]> then\n        stop all sounds\n    end\nend\n\n@Я!\n\nwhen flag clicked\nset [звук/sound v] to [50]\nswitch costume to (костюм 1 v)\nset [скорость v] to [1]\nset [-скорость v] to [-1]\nswitch backdrop to (фон 1 v)\nset rotation style [left-right v]\ngo to x: (-206) y: (100)\nset [x v] to [0]\nset [y v] to [0]\nshow\nwait (.1) seconds\nforever\n    if <<touching color (#ff9800)?> or <touching (гуманоид! v)?>> then\n        go to x: (-200) y: (100)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <(x position) > [228]> then\n        next backdrop\n        go to x: (-200) y: (100)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <(y position) < [-170]> then\n        go to x: (-200) y: (100)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        change [x v] by (Скорость)\n    end\n    if <<<(mouse x) < (x position)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        change [x v] by (-Скорость)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#2aff00)?> then\n        change y by (1)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <mouse down?>> then\n            set [y v] to [10]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change [y v] by (-.6)\n    change y by (y)\n    if <touching color (#2aff00)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#2aff00)?> then\n        if <<<mouse down?> and <(mouse y) > (y position)>> or <key (up arrow v) pressed?>> then\n            set [y v] to [10]\n        end\n    end\n    change y by (1)\nend\n\nwhen [s v] key pressed\nnext backdrop\ngo to x: (-200) y: (100)\nset [x v] to [0]\nset [y v] to [0]\nbroadcast (Пропустить! v)\n\nwhen [r v] key pressed\ngo to x: (-200) y: (100)\nset [x v] to [0]\nset [y v] to [0]\n\nwhen flag clicked\nset size to (30) %\nforever\n    if <<touching color (#ff9800)?> or <touching (гуманоид! v)?>> then\n        set [x v] to [20]\n        set [y v] to [15]\n    end\n    if <<touching color (#ff9800)?> or <touching (гуманоид! v)?>> then\n        set [x v] to [-20]\n        set [y v] to [15]\n    end\n    if <<touching color (#ff9800)?> or <touching (гуманоид! v)?>> then\n        set [y v] to [17]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (энергия! v)?> then\n        set [скорость v] to [3]\n        set [-скорость v] to [-3]\n    end\nend\n\nwhen flag clicked\nset [полёт! v] to [0]\nforever\n    if <touching (полёт! v)?> then\n        forever\n            set [полёт! v] to [1]\n            wait (3.5) seconds\n            set [полёт! v] to [0]\n            broadcast (Крылья! v)\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (полёт! v)?> then\n        forever\n            switch costume to (костюм 2 v)\n            wait (0.5) seconds\n            switch costume to (костюм 3 v)\n            wait (0.5) seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Полёт!) = [1]> then\n        set y to (160)\n    end\nend\n\nwhen I receive [крылья! v]\nforever\n    switch costume to (костюм 1 v)\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [21]> then\n        go to x: (x position) y: (-76)\n        stop [all v]\n    end\nend\n\n@Музыка!\n\nwhen flag clicked\nswitch costume to (костюм 1 v)\n\nwhen this sprite clicked\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [2]> then\n        stop all sounds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        play sound [звук 1 v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    set volume to (Звук/Sound) %\nend\n\n@Энергия!\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [8]> then\n        show\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (я! v)?> then\n        wait (1) seconds\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [пропустить! v]\nstop [other scripts in sprite v]\n\n@Игра!\n\n@Полёт!\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [15]> then\n        show\n    end\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching (я! v)?> then\n        wait (1) seconds\n        hide\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [пропустить! v]\nstop [other scripts in sprite v]\n\n@Гуманоид!\n\nwhen flag clicked\nswitch costume to (костюм 1 v)\nhide\nforever\n    if <(backdrop [number v]) = [12]> then\n        show\n        go to x: (156) y: (256)\n        glide (0.5) secs to x: (176) y: (200)\n        broadcast (Гуманоид! v)\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [гуманоид! v]\nrepeat until <not <(backdrop [number v]) = [12]>>\n    switch costume to (костюм 1 v)\n    wait (1) seconds\n    switch costume to (костюм 2 v)\n    wait (1) seconds\nend\nswitch costume to (костюм 3 v)\nwait (0.05) seconds\nswitch costume to (костюм 4 v)\nwait (0.05) seconds\nswitch costume to (костюм 5 v)\nwait (0.05) seconds\nswitch costume to (костюм 6 v)\nwait (0.05) seconds\nswitch costume to (костюм 7 v)\nglide (0.5) secs to x: (86) y: (-106)\nhide\n\n