☁️Night platformer 4  #Games

Instructions:      ⇧ \n⇦  ■   ⇨\n     ⇩ \nv0.1.1\n\n=========================================\n■■■■■■■■■■■■      РУССКИЙ     ■■■■■■■■■■■■\n=========================================\nЕсли у вас заглючило нажмите на пробел и вы заспавнитесь на флажке.\n■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■\n                          Список версий:\n0.1.1  -- Сделана игра.\n\n\n=========================================\n■■■■■■■■■■■■      ENGLISH     ■■■■■■■■■■■■\n=========================================\nIf you have a glitch, press the space bar and you will spawn on the flag.\n■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■\n                           Version list:\n0.1.1 - The game is made.\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\ndelete all of [игроки v]\nrepeat (9)\n    add [] to [игроки v]\nend\nforever\n    replace item (1) of [игроки v] with (☁ и1)\n    replace item (2) of [игроки v] with (☁ и2)\n    replace item (3) of [игроки v] with (☁ и3)\n    replace item (4) of [игроки v] with (☁ и4)\n    replace item (5) of [игроки v] with (☁ и5)\n    replace item (6) of [игроки v] with (☁ и6)\n    replace item (7) of [игроки v] with (☁ и7)\n    replace item (8) of [игроки v] with (☁ и8)\n    replace item (9) of [игроки v] with (☁ и9)\nend\n\nwhen I receive [начало проекта v]\nset [brightness v] effect to (0)\nswitch backdrop to (фон 2 v)\n\nforever\n    wait (5) seconds\n    repeat (5)\n        change [brightness v] effect by (10)\n    end\n    repeat (5)\n        change [brightness v] effect by (-10)\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (фон 2 v)\n\n@игрок\n\nwhen flag clicked\nhide\n\nwhen I receive [след. уровень v]\nset x to (-230)\n\nwhen I start as a clone\nrepeat (6)\n    change size by (-2)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nwhen I receive [начало проекта v]\nset [спавн х v] to [0]\nset [спавн у v] to [0]\nset [х v] to [0]\nset [у v] to [0]\nset [прыжок v] to [0]\nset [наклон v] to [0]\nset [пад.? v] to [0]\nset [с-п v] to [0]\ngo to x: (0) y: (0)\nshow\nforever\n    set [с-х v] to ((с-х) * (0.8))\n    1\n    2\n    if <key (right arrow v) pressed?> then\n        change [с-х v] by (1.5)\n    end\n    if <key (left arrow v) pressed?> then\n        change [с-х v] by (-1.5)\n    end\n    if <(с-х) > [0.5]> then\n        --) (() - (с-х)) [90]\n    else\n        if <(с-х) < [-0.5]> then\n            --) (() - (с-х)) [-90]\n        end\n    end\n    if <key (up arrow v) pressed?> then\n        if <<(прыжок) = [0]> and <(пад.?) < [3]>> then\n            set [с-п v] to [10]\n            set [прыжок v] to [1]\n        else\n            set [прыжок v] to [0]\n        end\n    end\nend\n\nwhen I receive [начало проекта v]\nswitch costume to (1 v)\nforever\n    if <not <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>>> then\n        if <key (up arrow v) pressed?> then\n            switch costume to (3 v)\n        else\n            if <<(пад.?) > [0]> and <not <key (up arrow v) pressed?>>> then\n                switch costume to (4 v)\n            else\n                switch costume to (5 v)\n            end\n        end\n    else\n        switch costume to (1 v)\n    end\nend\n\nwhen I receive [начало проекта v]\nforever\n    create clone of (_myself_ v)\n    if <(x position) > [239]> then\n        broadcast (след. уровень v)\n    end\nend\n\nwhen I receive [начало проекта v]\nforever\n    if <touching (препятствие v)?> then\n        set y to ((спавн у) + (5))\n        set [х v] to (спавн х)\n    end\n    if <touching (батут v)?> then\n        set [с-п v] to [30]\n    end\n    if <touching (ускорение v)?> then\n        set [с-х v] to [50]\n    end\n    if <key (space v) pressed?> then\n        set y to ((спавн у) + (20))\n        set [х v] to (спавн х)\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen I receive [начало проекта v]\nforever\n    set [код v] to (join (join ((round (x position)) + (2000)) ((round (y position)) + (400))) (() + (10)))\nend\n\nwhen I receive [начало проекта v]\nforever\n    if <(№) = [1]> then\n        set [☁ и1 v] to (код)\n    end\n    if <(№) = [2]> then\n        set [☁ и2 v] to (код)\n    end\n    if <(№) = [3]> then\n        set [☁ и3 v] to (код)\n    end\n    if <(№) = [4]> then\n        set [☁ и4 v] to (код)\n    end\n    if <(№) = [5]> then\n        set [☁ и5 v] to (код)\n    end\n    if <(№) = [6]> then\n        set [☁ и6 v] to (код)\n    end\n    if <(№) = [7]> then\n        set [☁ и7 v] to (код)\n    end\n    if <(№) = [8]> then\n        set [☁ и8 v] to (код)\n    end\n    if <(№) = [9]> then\n        set [☁ и9 v] to (код)\n    end\n    if <(№) = [10]> then\n        set [☁ и10 v] to (код)\n    end\nend\n\ndefine 1\nchange [с-п v] by (-1)\nchange y by (с-п)\n\ndefine 2\nchange [пад.? v] by (1)\nrepeat until <not <touching (платформа v)?>>\n    change y by (1)\n    set [пад.? v] to [0]\n    set [с-п v] to [0]\nend\n\ndefine --) (скорость) (направлене)\npoint in direction (направлене)\nchange [х v] by (скорость)\nset [наклон v] to [0]\nrepeat until <<(наклон) = [10]> or <not <touching (платформа v)?>>>\n    change y by (1)\n    change [наклон v] by (1)\nend\nif <(наклон) = [10]> then\n    change [х v] by (() - (скорость))\n    change y by (() - (наклон))\nend\n\n@другой\n\nwhen I receive [начало проекта v]\nrepeat (9)\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\nif <(№) = (costume [number v])> then\n    delete this clone\nend\nforever\n    go to [front v] layer\n    glide (0.1) secs to x: ((join (letter (1) of (item (costume [number v]) of [игроки v])) (join (letter (2) of (item (costume [number v]) of [игроки v])) (join (letter (3) of (item (costume [number v]) of [игроки v])) (letter (4) of (item (costume [number v]) of [игроки v]))))) - (2000)) y: ((join (letter (5) of (item (costume [number v]) of [игроки v])) (join (letter (6) of (item (costume [number v]) of [игроки v])) (letter (7) of (item (costume [number v]) of [игроки v])))) - (400))\nend\n\nwhen I start as a clone\nforever\n    set [players online v] to (№)\nend\n\nwhen flag clicked\nhide variable [players online v]\n\nwhen flag clicked\nhide\n\n@платформа\n\nwhen I receive [начало проекта v]\nswitch costume to (0 v)\nrepeat (16)\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nforever\n    go to x: ((Х) + ((480) * (costume [name v]))) y: (0)\nend\n\n@препятствие\n\nwhen flag clicked\nhide variable [счет. v]\nhide\n\nwhen I receive [начало проекта v]\nshow variable [счет. v]\nforever\n    set [счет. v] to (join (join [players online:] (players online)) (join [  ] (join [your score:  ] (round (timer)))))\nend\n\nwhen I receive [начало проекта v]\nswitch costume to (0 v)\nrepeat (16)\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\nshow\nforever\n    go to x: ((Х) + ((480) * (costume [name v]))) y: (0)\nend\n\n@флажок\n\nwhen flag clicked\nhide\n\nwhen I receive [начало проекта v]\nswitch costume to (3 v)\nrepeat (3)\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\nshow\nforever\n    go to x: ((Х) + ((480) * (costume [name v]))) y: (0)\nend\n\nwhen I start as a clone\nset [color v] effect to (0)\nshow\nforever\n    if <touching (игрок v)?> then\n        set [color v] effect to (50)\n        set [спавн х v] to (Х)\n        set [спавн у v] to ((У) + (5))\n    end\nend\n\n@батут\n\nwhen flag clicked\nhide\n\nwhen I receive [начало проекта v]\nswitch costume to (3 v)\nrepeat (16)\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\nshow\nforever\n    go to x: ((Х) + ((480) * (costume [name v]))) y: (0)\nend\n\n@ускорение\n\nwhen flag clicked\nhide\n\nwhen I receive [начало проекта v]\nswitch costume to (3 v)\nrepeat (16)\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\nshow\nforever\n    go to x: ((Х) + ((480) * (costume [name v]))) y: (0)\nend\n\n@Заставка\n\nwhen flag clicked\nhide\nerase all\npen up\nset pen color to (#0a9c00)\nset pen size to (200)\ngo to x: (-240) y: (160)\nrepeat (5)\n    repeat (6)\n        pen down\n        move (80) steps\n    end\n    set x to (-240)\n    change y by (-80)\nend\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nrepeat (5)\n    wait (0.3) seconds\n    create clone of (_myself_ v)\n    next costume\nend\nwait (1) seconds\nbroadcast (начало проекта v)\nerase all\n\nwhen I start as a clone\nshow\nset size to (260) %\nrepeat (8)\n    change size by (-20)\nend\n\nwhen I receive [начало проекта v]\ndelete this clone\n\n@ОБЛОЖКА\n\nwhen flag clicked\nset [скин v] to [0]\ngo to [front v] layer\nforever\n    show\n    set [ghost v] effect to (100)\nend\n\n@вопрос\n\nwhen flag clicked\nhide\n\ndefine ефект\nrepeat (5)\n    change y by (2)\nend\nrepeat (5)\n    change y by (-2)\nend\n\nwhen I receive [начало проекта v]\n\nforever\n    if <touching (игрок v)?> then\n        broadcast (скин v)\n    end\n    if <(.уровень) = [2]> then\n        switch costume to (вопрос v)\n        go to x: (42) y: (107)\n        show\n        ефект\n    else\n        if <(.уровень) = [5]> then\n            switch costume to (вопрос v)\n            go to x: (-10) y: (135)\n            show\n            ефект\n        else\n            if <(.уровень) = [11]> then\n                switch costume to (вопрос v)\n                go to x: (16) y: (-143)\n                show\n                ефект\n            else\n                hide\n            end\n        end\n    end\nend\n\nwhen I receive [скин v]\nhide\n\ngo to [front v] layer\n\n@скины\n\nwhen I receive [скин v]\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\nif <(.уровень) = [2]> then\n    switch costume to (3 v)\nelse\n    if <(.уровень) = [5]> then\n        switch costume to (1 v)\n    else\n        if <(.уровень) = [11]> then\n            switch costume to (2 v)\n        end\n    end\nend\nset [скин v] to (costume [number v])\ngo to x: (500) y: (12)\nrepeat (45)\n    change x by (-10)\nend\nwait (1) seconds\nhide\n\nwhen flag clicked\nhide\n\n@Спрайт 1\n\nwhen I receive [начало проекта v]\nset [ghost v] effect to (0)\ngo to [front v] layer\nshow\nset [☁ и1 v] to [1]\nset [☁ и2 v] to [1]\nset [☁ и3 v] to [1]\nset [☁ и4 v] to [1]\nset [☁ и5 v] to [1]\nset [☁ и6 v] to [1]\nset [☁ и7 v] to [1]\nset [☁ и8 v] to [1]\nset [☁ и9 v] to [1]\nwait (1) seconds\nset [№ v] to [0]\nrepeat until <(item (№) of [игроки v]) = [1]>\n    change [№ v] by (1)\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nreset timer\n\nwhen flag clicked\nhide\n\n@свет\n\nwhen flag clicked\nhide\n\nwhen I receive [начало проекта v]\ngo to [front v] layer\ngo [backward v] (1) layers\nswitch costume to (costume1 v)\nshow\nforever\n    go to (игрок v)\nend\n\nwhen I receive [начало проекта v]\nforever\n    wait until <(.уровень) = [15]>\n    hide\nend\n\n