PLATFORMER Minecraft
@Stage\n\nwhen I receive [begin v]\nforever\n    play sound [Volume Alpha - 01 - Key v] until done\n    stop all sounds\nend\n\nwhen I receive [конец v]\nforever\n    play sound [Volume Alpha - 01 - Key v] until done\n    stop [other scripts in sprite v]\n    stop all sounds\nend\n\n@Player\n\ndefine обработка земли <подъём>\nswitch costume to (hitbox v)\nrepeat until <not <<touching (land v)?> or <touching (mills v)?>>>\n    if <подъём> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [в воздухе v] to [0]\n    end\n    set [y скорость v] to [0]\nend\nswitch costume to (костюм)\n\ndefine прогулка (шаги)\nswitch costume to (hitbox v)\nchange x by (шаги)\nset [склон v] to [0]\nrepeat until <<not <<touching (land v)?> or <touching (mills v)?>>> or <(склон) = [8]>>\n    change y by (1)\n    change [склон v] by (1)\nend\nif <(склон) = [8]> then\n    change x by ((-1) * (шаги))\n    change y by (-8)\nend\nswitch costume to (костюм)\n\nwhen I receive [begin v]\nset [костюм v] to [Nani]\nforever\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(в воздухе) < [8]>> then\n        set [y скорость v] to [14]\n    end\nend\n\nwhen I receive [begin v]\nforever\n    if <<touching (_edge_ v)?> and <(x position) > [195]>> then\n        broadcast (Next level v)\n        go to x: (-205) y: (125)\n    end\nend\n\nwhen I receive [begin v]\nforever\n    if <(y position) < [-170]> then\n        set [y скорость v] to [0]\n        go to x: (-201) y: (-125)\n    end\nend\n\nwhen I receive [begin v]\nset size to (30) %\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        прогулка [-5]\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        прогулка [5]\n    end\n    if <<not <<key (right arrow v) pressed?> or <key (d v) pressed?>>> and <not <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\nend\n\nwhen I receive [begin v]\nset [y скорость v] to [0]\nset rotation style [left-right v]\nforever\n    change [y скорость v] by (-2)\n    change y by (Y скорость)\n    change [в воздухе v] by (1)\n    обработка земли <(Y скорость) > [0]>\nend\n\nwhen I receive [begin v]\nforever\n    if <touching (hedgehog v)?> then\n        go to x: (-201) y: (-125)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (спрайт 3 v)?> then\n        pen up\n        set pen color to (#b83838)\n        set pen (saturation v) to (100)\n        broadcast (вув v)\n        start sound [minecraft-death-sound v]\n        wait (1) seconds\n        erase all\n    end\nend\n\n@Land\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [begin v]\ngo to x: (0) y: (-6)\npoint in direction (90)\nforever\n    if <(costume [name v]) = [2]> then\n        repeat (50)\n            turn right (0.1) degrees\n        end\n        repeat (50)\n            turn right (-0.1) degrees\n        end\n    else\n        point in direction (90)\n    end\nend\n\nwhen I receive [begin v]\npoint in direction (90)\nforever\n    if <(costume [name v]) = [3]> then\n        broadcast (конец v)\n        forever\n            point in direction (90)\n            broadcast (нет v)\n            stop [other scripts in sprite v]\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (2d_12402-3 v)\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [ничего]> then\n        broadcast (колесо v)\n        stop [this script v]\n    else\n        broadcast (нет v)\n    end\nend\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [9]> then\n        broadcast (all v)\n    end\nend\n\n@Mills\n\nwhen flag clicked\nhide\n\nwhen I receive [колесо v]\nshow\n\nwhen I receive [next level v]\nhide\n\nwhen I receive [begin v]\nhide\n\nwhen I receive [begin v]\nforever\n    turn right (0.1) degrees\nend\n\n@Skins\n\nwhen this sprite clicked\nif <(подсказка) = [закрыта]> then\n    set [подсказка v] to [открыта]\n    go to x: (-186) y: (119)\n    switch costume to (костюм 3 v)\n    hide list [skins v]\n    delete all of [skins v]\n    wait (0.1) seconds\n    add [трава] to [skins v]\n    wait (0) seconds\n    add [камень ] to [skins v]\n    wait (0) seconds\n    add [ТРАВА] to [skins v]\n    wait (0) seconds\n    add [Шерсть] to [skins v]\n    wait (0) seconds\n    add [Золото] to [skins v]\n    wait (0) seconds\n    add [стекло] to [skins v]\n    wait (0) seconds\n    add [Бревно] to [skins v]\n    ask [Enter skin name \( Введите имя скина\)] and wait\n    set [костюм v] to (answer)\nelse\n    switch costume to (костюм 2 v)\n    go to x: (-188) y: (-157)\n    set [подсказка v] to [закрыта]\n    show list [skins v]\nend\n\nwhen flag clicked\nhide\ngo to x: (-186) y: (-157)\nrepeat (10)\n    go to [front v] layer\nend\nshow list [skins v]\nswitch costume to (костюм 2 v)\nset [подсказка v] to [закрыта]\nforever\n    change [color v] effect by (1)\nend\n\nwhen I receive [begin v]\nshow\n\n@Play\n\nwhen flag clicked\ngo to x: (-12) y: (-12)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen this sprite clicked\nbroadcast (begin v)\nhide\n\n@ screen saver\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n@Спрайт 1\n\nwhen flag clicked\nhide\n\nwhen I receive [all v]\npoint in direction (90)\ngo to x: (-45) y: (57)\nshow\nforever\n    repeat (1)\n        turn right (15) degrees\n    end\n    wait (1) seconds\n    repeat (1)\n        turn right (-15) degrees\n    end\nend\n\n@Спрайт 2\n\nwhen flag clicked\nhide\n\nwhen I receive [вув v]\nglide (0) secs to (player v)\nrepeat (pick random (1) to (4))\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nchange x by (pick random (-2) to (2))\nshow\nswitch costume to (pick random (1) to (4))\nrepeat (10)\n    change y by (pick random (1) to (10))\nend\ndelete this clone\n\nchange x by (10)\n\n@Спрайт 3\n\n
Управление стрелками или W,A,D.\n