Jᴜᴍᴘᴇʀ ... ?   #Platformer #Games
@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\n@Bluish\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    if <<key (right arrow v) pressed?> or <(право) = [1]>> then\n        point in direction (90)\n        Ходьба [10]\n    end\n    if <<key (left arrow v) pressed?> or <(лево) = [1]>> then\n        point in direction (-90)\n        Ходьба [-10]\n    end\n    if <<key (up arrow v) pressed?> or <(вверх) = [1]>> then\n        if <(В воздухе) = [0]> then\n            set [скорость y v] to [15]\n        end\n    end\nend\n\ndefine Земля\nrepeat until <not <touching (земля v)?>>\n    set [в воздухе v] to [0]\n    set [скорость y v] to [0]\n    change y by (1)\nend\n\ndefine Ходьба (шаг)\nchange x by (шаг)\nset [наклон v] to [0]\nrepeat until <not <touching (земля v)?>>\n    change y by (1)\n    change [наклон v] by (1)\nend\nif <(Наклон) > [5]> then\n    change x by ((-1) * (шаг))\n    change y by (-10)\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    wait (0.01) seconds\nend\n\nwhen I start as a clone\nset [ghost v] effect to (70)\nrepeat (4)\n    wait (0.01) seconds\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\ndefine Ходьба (шаг)\nchange x by (шаг)\nset [наклон v] to [0]\nrepeat until <not <touching (земля v)?>>\n    change y by (1)\n    change [наклон v] by (1)\nend\nif <(Наклон) > [5]> then\n    change x by ((-1) * (шаг))\n    change y by (-10)\nend\n\nwhen flag clicked\n\nwhen flag clicked\ngo to x: (-145) y: (95)\nset [в воздухе v] to [0]\nset [скорость y v] to [0]\nforever\n    change [в воздухе v] by (1)\n    change [скорость y v] by (-1)\n    change y by (Скорость Y)\n    Земля\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [1]> then\n        if <touching (спрайт 1 v)?> then\n            broadcast (У2 v)\n        end\n    end\nend\n\nwhen I receive [у2 v]\ngo to x: (-189) y: (-80)\n\nwhen flag clicked\nforever\n    if <touching (lava v)?> then\n        go to x: (-189) y: (-80)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [2]> then\n        if <touching (спрайт 1 v)?> then\n            broadcast (У3 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [3]> then\n        if <touching (спрайт 1 v)?> then\n            broadcast (У4 v)\n        end\n    end\nend\n\nwhen I receive [у4 v]\ngo to x: (-189) y: (-80)\n\nwhen I receive [у12 v]\ngo to x: (-189) y: (-80)\n\nwhen flag clicked\nforever\n    if <touching (шипы  v)?> then\n        go to x: (-189) y: (-80)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (шипы 2 v)?> then\n        go to x: (-189) y: (-80)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [4]> then\n        if <touching (спрайт 1 v)?> then\n            broadcast (У5 v)\n        end\n    end\nend\n\nwhen I receive [у5 v]\ngo to x: (-189) y: (-80)\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [5]> then\n        if <touching (спрайт 1 v)?> then\n            broadcast (У6 v)\n        end\n    end\nend\n\nwhen I receive [у6 v]\ngo to x: (-189) y: (-80)\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [6]> then\n        if <touching (спрайт 1 v)?> then\n            broadcast (У7 v)\n        end\n    end\nend\n\nwhen I receive [у7 v]\ngo to x: (-189) y: (-80)\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [7]> then\n        if <touching (спрайт 1 v)?> then\n            broadcast (У8 v)\n        end\n    end\nend\n\nwhen I receive [у8 v]\ngo to x: (-189) y: (-80)\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [8]> then\n        if <touching (спрайт 1 v)?> then\n            broadcast (у9 v)\n        end\n    end\nend\n\nwhen I receive [у9 v]\ngo to x: (-189) y: (-80)\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [9]> then\n        if <touching (спрайт 1 v)?> then\n            broadcast (У10 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [10]> then\n        if <touching (спрайт 1 v)?> then\n            broadcast (у11 v)\n        end\n    end\nend\n\nwhen I receive [у10 v]\ngo to x: (-189) y: (-80)\n\nwhen I receive [у11 v]\ngo to x: (-189) y: (-80)\n\nset rotation style [left-right v]\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        Ходьба [10]\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        Ходьба [-10]\n    end\n    if <key (up arrow v) pressed?> then\n        if <(В воздухе) = [0]> then\n            set [скорость y v] to [15]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [11]> then\n        if <touching (спрайт 1 v)?> then\n            broadcast (У12 v)\n        end\n    end\nend\n\nwhen I receive [у3 v]\ngo to x: (-189) y: (-80)\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [12]> then\n        if <touching (спрайт 1 v)?> then\n            broadcast (У13 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [13]> then\n        if <touching (спрайт 1 v)?> then\n            broadcast (у14 v)\n        end\n    end\nend\n\nwhen I receive [у13 v]\ngo to x: (-189) y: (-80)\n\nwhen I receive [у14 v]\ngo to x: (-189) y: (-80)\n\n@Земля\n\nwhen flag clicked\nswitch costume to (1 уровень  v)\n\nwhen I receive [у2 v]\nswitch costume to (2 уровень v)\nswitch backdrop to (2 v)\n\nwhen I receive [у3 v]\nswitch costume to (3 уровень v)\nswitch backdrop to (3 v)\n\nwhen I receive [у4 v]\nswitch costume to (4 уровень v)\nswitch backdrop to (4 v)\n\nwhen I receive [у5 v]\nswitch costume to (5 уровень v)\nswitch backdrop to (5 v)\n\nwhen I receive [у6 v]\nswitch costume to (6 уровень! v)\nswitch backdrop to (6 v)\n\nwhen I receive [у7 v]\nswitch costume to (7 уровень v)\nswitch backdrop to (7 v)\n\nwhen I receive [у8 v]\nswitch costume to (8 уровень v)\nswitch backdrop to (8 v)\n\nwhen I receive [у9 v]\nswitch costume to (9 уровень v)\nswitch backdrop to (9 v)\n\nwhen I receive [у10 v]\nswitch costume to (10 уровень v)\nswitch backdrop to (10 v)\n\nwhen I receive [у11 v]\nswitch costume to (11 уровень v)\nswitch backdrop to (11 v)\n\nwhen I receive [у12 v]\nswitch costume to (12 уровень v)\nswitch backdrop to (12 v)\n\nwhen I receive [у13 v]\nswitch costume to (13 уровень v)\nswitch backdrop to (13 v)\n\nwhen I receive [у14 v]\nswitch costume to (14 уровень  v)\nswitch backdrop to (14 v)\nwait (2) seconds\nbroadcast (СТОП v)\n\n@Lava\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen I receive [у2 v]\ngo to x: (9) y: (-172)\nshow\n\nwhen I receive [у3 v]\ngo to x: (98) y: (-164)\nshow\n\nwhen I receive [у5 v]\ngo to x: (98) y: (-164)\nshow\n\nwhen I receive [у6 v]\ngo to [back v] layer\ngo to x: (-9) y: (-195)\nshow\n\nwhen I receive [у8 v]\nhide\n\nwhen I receive [у9 v]\ngo to [back v] layer\ngo to x: (-9) y: (-195)\nshow\n\nwhen I receive [у12 v]\nhide\n\n@Спрайт 1\n\nwhen flag clicked\ngo to x: (236) y: (61)\ngo to [back v] layer\n\n@Шипы \n\nwhen flag clicked\nhide\n\nwhen I receive [у4 v]\ngo to x: (-70) y: (-80)\nshow\n\nwhen I receive [у5 v]\nhide\n\nwhen I receive [у8 v]\ngo to x: (-3) y: (-39)\nshow\n\nwhen I receive [у9 v]\nhide\n\nwhen I receive [у13 v]\ngo to x: (0) y: (-102)\nshow\n\nwhen I receive [у14 v]\nhide\n\n@Шипы 2\n\nwhen flag clicked\nhide\n\nwhen I receive [у4 v]\ngo to x: (108) y: (-82)\nshow\n\nwhen I receive [у5 v]\nhide\n\nwhen I receive [у7 v]\ngo to x: (118) y: (-107)\nshow\n\nwhen I receive [у8 v]\nhide\n\n@Group 42\n\nwhen flag clicked\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [стоп v]\ngo to [front v] layer\nshow\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\n\nwhen flag clicked\nforever\n    play sound [tunetank v] until done\nend\n\n@Спрайт 9\n\nwhen flag clicked\nset [право v] to [0]\ngo to x: (-130) y: (-149)\nhide\nforever\n    repeat until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n        set [право v] to [1]\n    end\n    set [право v] to [0]\nend\n\nwhen [2 v] key pressed\nshow\n\nwhen [1 v] key pressed\nhide\n\n@Спрайт 8\n\nwhen flag clicked\ngo to x: (-209) y: (-150)\nhide\nforever\n    repeat until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n        set [лево v] to [1]\n    end\n    set [лево v] to [0]\nend\n\nwhen [2 v] key pressed\nshow\n\nwhen [1 v] key pressed\nhide\n\n@Спрайт 6\n\nwhen flag clicked\ngo to x: (-170) y: (-149)\nhide\nforever\n    repeat until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n        set [вверх v] to [1]\n    end\n    set [вверх v] to [0]\nend\n\nwhen [2 v] key pressed\nshow\n\nwhen [1 v] key pressed\nhide\n\n