platformer over it☁  v1.1.5 #online #scrolling #game
@Stage\n\nwhen I receive [begin v]\nif <(music?) = [on]> then\n    forever\n        play sound [Soul_and_Mind 48000 loop v] until done\n    end\nend\n\nwhen I receive [потом надо сбросить че говорил v]\nwait (5) seconds\nset [что говорит кот v] to []\n\nwhen I receive [begin v]\nforever\n    if <(скроллинг У) > [1850]> then\n        set [brightness v] effect to (((1850) - (скроллинг У)) / (8))\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\n@Player\n\ndefine set cloud # (player) to (value)\nif <(player) = [1]> then\n    set [☁ ☁ p1 v] to (value)\nelse\n    if <(player) = [2]> then\n        set [☁ ☁ p2 v] to (value)\n    else\n        if <(player) = [3]> then\n            set [☁ ☁ p3 v] to (value)\n        else\n            if <(player) = [4]> then\n                set [☁ ☁ p4 v] to (value)\n            else\n                if <(player) = [5]> then\n                    set [☁ ☁ p5 v] to (value)\n                else\n                    if <(player) = [6]> then\n                        set [☁ ☁ p6 v] to (value)\n                    else\n                        if <(player) = [7]> then\n                            set [☁ ☁ p7 v] to (value)\n                        else\n                            set [☁ ☁ p8 v] to (value)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Send Cloud Data\nif <(MY PLAYER #) < [1]> then\n    stop [this script v]\nend\nadd (Х игрока) to [buffer v]\nadd (У игрока) to [buffer v]\nadd (direction) to [buffer v]\nadd (# костюм игрока) to [buffer v]\nadd (что говорит кот) to [buffer v]\nchange [cloud timer v] by (1)\nif <(cloud timer) < [3]> then\n    stop [this script v]\nend\nset [cloud timer v] to [0]\nset [encoded v] to []\nwrite (username) to encoded\nwrite (round ((timer) * (10))) to encoded\nrepeat (length of [buffer v])\n    write (item (1) of [buffer v]) to encoded\n    delete (1) of [buffer v]\nend\nset cloud # (MY PLAYER #) to (encoded)\n\nwhen I receive [begin v]\nforever\n    Player Tick\n    Send Cloud Data\nend\n\nwhen flag clicked\n\ndefine write (val) to encoded\nset [letter # v] to [1]\nrepeat (length of (val))\n    set [encoded v] to (join (encoded) (item # of (letter (letter #) of (val)) in [code v]))\n    change [letter # v] by (1)\nend\nset [encoded v] to (join (encoded) [00])\n\ndefine Player Tick\nswitch costume to (хитбокс v)\nуправление\nif <(состояние чата) = [закрыт]> then\n    change [скроллинг х v] by (round (((Х игрока) - (скроллинг Х)) / (15)))\nelse\n    change [скроллинг х v] by (round (((Х игрока) - ((скроллинг Х) + (50))) / (15)))\nend\nchange [скроллинг у v] by (round (((У игрока) - ((скроллинг У) + (20))) / (16)))\nустановка ХУ игрока\nbroadcast (платформа v)\nрендер костюма игрока\nрендер стен карты\nswitch costume to (# костюм игрока)\nset [color v] effect to (cat color \(C\))\nпроверка че кот говорит\n\ndefine вычисления У игрока (y)\nchange [у игрока v] by (скорость У игрока)\nустановка ХУ игрока\nchange [от земли v] by (1)\nrepeat until <not <touching (платформа v)?>>\n    if <(y) < [0]> then\n        change [у игрока v] by (1)\n        set [от земли v] to [0]\n    else\n        change [у игрока v] by (-1)\n    end\n    установка ХУ игрока\n    set [скорость у игрока v] to [0]\nend\n\ndefine старт\nset rotation style [left-right v]\ngo to x: (0) y: (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 [1]\nset [что говорит кот v] to []\nset [сила гравитации игрока v] to [-1]\nset size to (50) %\n\ndefine установка ХУ игрока\ngo to x: ((Х игрока) - (скроллинг Х)) y: ((У игрока) - (скроллинг У))\n\ndefine вычисления Х игрока (x)\nchange [х игрока v] by (скорость Х игрока)\nустановка ХУ игрока\nif <touching (платформа v)?> then\n    repeat (2)\n        change [у игрока v] by (1)\n        установка ХУ игрока\n        if <not <touching (платформа v)?>> then\n            stop [this script v]\n        end\n    end\n    change [у игрока v] by (-2)\n    if <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<(mouse y) > (y position)> and <mouse down?>>> then\n        if <(x) > [0]> then\n            set [скорость х игрока v] to [-1]\n        else\n            set [скорость х игрока v] to [1]\n        end\n    else\n        set [скорость х игрока v] to [0]\n    end\n    repeat until <not <touching (платформа v)?>>\n        if <(x) > [0]> then\n            change [х игрока v] by (-1)\n        else\n            change [х игрока v] by (1)\n        end\n        установка ХУ игрока\n    end\nend\n\ndefine управление\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<(mouse x) > (x position)> and <mouse down?>>> then\n    point in direction (90)\n    change [скорость х игрока v] by (1)\n    change [# костюм игрока v] by (1)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n    point in direction (-90)\n    change [скорость х игрока v] by (-1)\n    change [# костюм игрока v] by (1)\nend\nset [скорость х игрока v] to ((скорость Х игрока) * (.8))\nif <([abs v] of (скорость Х игрока) ) > [.9]> then\n    вычисления Х игрока (скорость Х игрока)\nend\nпроверка гравитации\nchange [скорость у игрока v] by (сила гравитации игрока)\nif <(скорость У игрока) < [-24]> then\n    set [скорость у игрока v] to [-24]\nend\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <(от земли) < [4]>> then\n    set [скорость у игрока v] to [8]\nend\nвычисления У игрока (скорость У игрока)\n\ndefine рендер костюма игрока\nif <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<(mouse y) > (y position)> and <mouse down?>>> then\n    if <(скорость У игрока) > [0]> then\n        set [# костюм игрока v] to [2]\n    else\n        set [# костюм игрока v] to [3]\n    end\nelse\n    if <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<(mouse x) > (x position)> and <mouse down?>>> or <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>>> then\n        change [скорость смены костюма игрока v] by (0.5)\n        set [# костюм игрока v] to (round (скорость смены костюма игрока))\n        if <(# костюм игрока) < [4]> then\n            set [скорость смены костюма игрока v] to [4]\n            set [# костюм игрока v] to [4]\n        end\n        if <(# костюм игрока) = [20]> then\n            set [скорость смены костюма игрока v] to [4]\n            set [# костюм игрока v] to [4]\n        end\n    else\n        set [скорость смены костюма игрока v] to [1]\n        set [# костюм игрока v] to [1]\n    end\nend\n\nwhen [space v] key pressed\n\nset [х игрока v] to [660]\nset [у игрока v] to [3060]\nset [скроллинг х v] to (Х игрока)\nset [скроллинг у v] to (У игрока)\n\ndefine рендер стен карты\nif <(скроллинг У) < [-20]> then\n    set [скроллинг у v] to [-20]\nend\nif <(скроллинг Х) < [-120]> then\n    set [скроллинг х v] to [-120]\nend\nif <(скорость У игрока) < [-9]> then\n    set [скорость у игрока v] to [-9]\nend\nif <(У игрока) < [-250]> then\n    broadcast (белая штука v)\n    старт\nend\n\ndefine проверка гравитации\nset [сила гравитации игрока v] to [-1]\nif <touching (water v)?> then\n    set [сила гравитации игрока v] to [-0.1]\nend\nif <(У игрока) > [2060]> then\n    set [сила гравитации игрока v] to [-0.3]\nend\n\nwhen I receive [послеменю v]\nset [max players v] to [8]\nset [my player # v] to [0]\ndelete all of [buffer v]\nbroadcast (setup - opponents v) and wait\nbroadcast (Join Game v) and wait\nif <(MY PLAYER #) > [0]> then\n    broadcast (подклучено! v)\nelse\n    broadcast (не подключено\( v)\nend\nстарт\nbroadcast (begin v)\n\ndefine проверка че кот говорит\nif <(что говорит кот) > [0]> then\n    if <(что говорит кот) = [1]> then\n        say [Hello!]\n    else\n        if <(что говорит кот) = [2]> then\n            say [come with me]\n        else\n            if <(что говорит кот) = [3]> then\n                say [okey]\n            else\n                if <(что говорит кот) = [4]> then\n                    say [nice!]\n                else\n                    if <(что говорит кот) = [5]> then\n                        say [sorry i am out]\n                    else\n                        if <(что говорит кот) = [6]> then\n                            say [you are good]\n                        else\n                            if <(что говорит кот) = [7]> then\n                                say [noo]\n                            else\n                                if <(что говорит кот) = [8]> then\n                                    say [thanks]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nelse\n    say []\nend\n\nwhen I receive [не подключено\( v]\nif <(player #) > [1]> then\n    set [ghost v] effect to (50)\nend\n\nset [х игрока v] to [3050]\n\nset [у игрока v] to [550]\n\n@Opponents\n\ndefine begin decode of (encoded)\nset [encoded v] to (encoded)\nset [letter # v] to [1]\n\ndefine value = read from encoded\nset [value v] to []\nforever\n    set [idx v] to (join (letter (letter #) of (encoded)) (letter ((letter #) + (1)) of (encoded)))\n    change [letter # v] by (2)\n    if <(idx) < [1]> then\n        stop [this script v]\n    end\n    set [value v] to (join (value) (item (idx) of [code v]))\nend\n\ndefine setup players\ndelete all of [buffer v]\nset rotation style [left-right v]\nset size to (50) %\nset [offline v] to [100]\nhide\nset [player # v] to [1]\nrepeat ((MAX PLAYERS) - (1))\n    create clone of (_myself_ v)\n    change [player # v] by (1)\nend\n\nwhen I receive [begin v]\nforever\n    if <(MY PLAYER #) = (player #)> then\n        set [offline v] to [100]\n        hide\n    else\n        tick\n    end\nend\n\ndefine value = cloud # (player)\nif <(player) = [1]> then\n    set [value v] to (☁ ☁ P1)\nelse\n    if <(player) = [2]> then\n        set [value v] to (☁ ☁ P2)\n    else\n        if <(player) = [3]> then\n            set [value v] to (☁ ☁ P3)\n        else\n            if <(player) = [4]> then\n                set [value v] to (☁ ☁ P4)\n            else\n                if <(player) = [5]> then\n                    set [value v] to (☁ ☁ P5)\n                else\n                    if <(player) = [6]> then\n                        set [value v] to (☁ ☁ P6)\n                    else\n                        if <(player) = [7]> then\n                            set [value v] to (☁ ☁ P7)\n                        else\n                            set [value v] to (☁ ☁ P8)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [setup - opponents v]\nsetup players\n\ndefine tick\nvalue = cloud # (player #)\nif <(join [A] (value)) = (last value)> then\n    change [offline v] by (1)\n    if <(offline) = [100]> then\n        hide\n    end\nelse\n    set [last value v] to (join [A] (value))\n    if <(offline) > [99]> then\n        show\n    end\n    set [offline v] to [0]\n    begin decode of (value)\n    value = read from encoded\n    set [че кот мультипульти говорит v] to (join (player #) (join [: ] (value)))\n    say (join (player #) (join [: ] (value)))\n    value = read from encoded\n    value = read from encoded\n    repeat until <(value) = []>\n        add (value) to [buffer v]\n        value = read from encoded\n    end\nend\nif <(length of [buffer v]) > [0]> then\n    set x to ((item (1) of [buffer v]) - (скроллинг Х))\n    delete (1) of [buffer v]\n    set y to ((item (1) of [buffer v]) - (скроллинг У))\n    delete (1) of [buffer v]\n    point in direction (item (1) of [buffer v])\n    delete (1) of [buffer v]\n    if <(› press N \(animation\)) = [0]> then\n        switch costume to (item (1) of [buffer v])\n    else\n        switch costume to (stand v)\n    end\n    delete (1) of [buffer v]\n    if <(item (1) of [buffer v]) = []> then\n    delete (1) of [buffer v]\nend\n\nwhen I receive [join game v]\nvalue = cloud # (player #)\nset [last value v] to (join [A] (value))\nwait (3) seconds\nvalue = cloud # (player #)\nif <(join [A] (value)) = (last value)> then\n    set [my player # v] to (player #)\nend\n\ndefine проверка че кот говорит\nif <(item (1) of [buffer v]) = [1]> then\n    say (join (че кот мультипульти говорит) (join [ - ] [hello]))\nelse\n    if <(item (1) of [buffer v]) = [2]> then\n        say (join (че кот мультипульти говорит) (join [ - ] [come with me]))\n    else\n        if <(item (1) of [buffer v]) = [3]> then\n            say (join (че кот мультипульти говорит) (join [ - ] [okey]))\n        else\n            if <(item (1) of [buffer v]) = [4]> then\n                say (join (че кот мультипульти говорит) (join [ - ] [nice!]))\n            else\n                if <(item (1) of [buffer v]) = [5]> then\n                    say (join (че кот мультипульти говорит) (join [ - ] [sorry i am out]))\n                else\n                    if <(item (1) of [buffer v]) = [6]> then\n                        say (join (че кот мультипульти говорит) (join [ - ] [you are good]))\n                    else\n                        if <(item (1) of [buffer v]) = [7]> then\n                            say (join (че кот мультипульти говорит) (join [ - ] [noo]))\n                        else\n                            if <(item (1) of [buffer v]) = [8]> then\n                                say (join (че кот мультипульти говорит) (join [ - ] [thanks]))\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@платформа\n\nwhen I receive [платформа v]\nswitch costume to (  v)\ngo to x: ((смещение х платформы) - (скроллинг Х)) y: ((смещение у платформы) - (скроллинг У))\nswitch costume to (костюм платформы)\nif <<(костюм платформы) = [15]> or <(костюм платформы) = [14]>> then\n    change [color v] effect by (1)\nend\n\nrepeat (4)\n    change [смещение х платформы v] by (-480)\n    change [костюм платформы v] by (1)\n    create clone of (_myself_ v)\nend\n\nwhen I receive [begin v]\nset [смещение х платформы v] to [0]\nset [костюм платформы v] to [1]\nset [смещение у платформы v] to [0]\ncreate clone of (_myself_ v)\nrepeat (5)\n    change [смещение х платформы v] by (480)\n    change [костюм платформы v] by (1)\n    set [смещение у платформы v] to [0]\n    create clone of (_myself_ v)\nend\nrepeat (3)\n    change [смещение х платформы v] by (480)\n    change [костюм платформы v] by (1)\n    change [смещение у платформы v] by (360)\n    create clone of (_myself_ v)\nend\nrepeat (2)\n    change [смещение х платформы v] by (-480)\n    change [костюм платформы v] by (1)\n    change [смещение у платформы v] by (360)\n    create clone of (_myself_ v)\nend\nrepeat (4)\n    change [смещение х платформы v] by (-480)\n    change [костюм платформы v] by (1)\n    create clone of (_myself_ v)\nend\nchange [смещение х платформы v] by (-480)\nrepeat (3)\n    change [смещение у платформы v] by (360)\n    change [костюм платформы v] by (1)\n    create clone of (_myself_ v)\nend\n\n@scratch blocks\n\n@Background\n\nwhen I receive [платформа v]\nустановиться\ngo to [back v] layer\ngo [backward v] (100) layers\n\nwhen I receive [setup - opponents v]\nset [ghost v] effect to (30)\nswitch costume to (background3 v)\nset size to (100) %\ngo [backward v] (100000) layers\nset [х фона v] to [0]\nset [у фона v] to [0]\ncreate clone of (_myself_ v)\nset [х фона v] to [1]\ncreate clone of (_myself_ v)\nset [у фона v] to [1]\ncreate clone of (_myself_ v)\nset [х фона v] to [0]\n\ndefine перейти в (x) (y)\nif <(x) < [-448]> then\n    change [х фона v] by (2)\n    установиться\nelse\n    if <(x) > [448]> then\n        change [х фона v] by (-2)\n        установиться\n    else\n        if <(y) < [-308]> then\n            change [у фона v] by (2)\n            установиться\n        else\n            if <(y) > [308]> then\n                change [у фона v] by (-2)\n                установиться\n            else\n                go to x: (x) y: (y)\n            end\n        end\n    end\nend\n\ndefine установиться\nперейти в (((х фона) * (448)) - ((скроллинг Х) / (4))) (((у фона) * (308)) - ((скроллинг У) / (4)))\n\n@Water\n\nwhen I receive [платформа v]\ngo to x: (((((timer) * (30)) - (скроллинг Х)) mod (480)) - (480)) y: (((-116) + ((10) * ([sin v] of ((timer) * (90)) ))) - (скроллинг У))\n\nwhen I receive [begin v]\nif <(sound effect?) = [on]> then\n    forever\n        if <touching (player v)?> then\n            play sound [Plunge v] until done\n            wait until <not <touching (player v)?>>\n        end\n    end\nend\n\nwhen I receive [begin v]\nif <(sound effect?) = [on]> then\n    forever\n        if <(y position) > [-200]> then\n            play sound [Ocean Wave v] until done\n        end\n    end\nend\n\n@Спрайт 2\n\nwhen flag clicked\ngo to [back v] layer\ngo [backward v] (99) layers\nshow\n\nwhen I receive [платформа v]\nswitch costume to (костюм 2 v)\ngo to x: ((200) - ((скроллинг Х) / (3))) y: (() - ((скроллинг У) / (3)))\nswitch costume to (костюм 1 v)\n\n@футаж\n\nwhen I receive [не подключено\( v]\nswitch costume to (costume3 v)\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [подклучено! v]\nif <(costume [number v]) < [4]> then\n    switch costume to (costume2 v)\n    wait (0.2) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [4]> then\n    wait (0) seconds\nelse\n    if <(costume [number v]) = [5]> then\n        wait (0.5) seconds\n    else\n        wait (1) seconds\n    end\nend\ngo to [front v] layer\nset size to (1) %\nif <(sound effect?) = [on]> then\n    start sound [Lo Geh Tabla v]\nend\nrepeat (10)\n    change size by (((100) - (size)) / (3))\nend\nif <(costume [number v]) = [4]> then\n    wait (1) seconds\nelse\n    if <(costume [number v]) = [5]> then\n        wait (0.5) seconds\n    else\n        wait (0) seconds\n    end\nend\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [послеменю v]\nswitch costume to (costume1 v)\nset size to (100) %\ngo to x: (0) y: (0)\nshow\nrepeat (2)\n    switch costume to (костюм 1 v)\n    create clone of (_myself_ v)\n    switch costume to (костюм 2 v)\n    create clone of (_myself_ v)\n    switch costume to (костюм 3 v)\n    create clone of (_myself_ v)\n    switch costume to (costume1 v)\n    wait (2) seconds\nend\n\n@прибабасы\n\nwhen I receive [платформа v]\nswitch costume to (костюм 2 v)\ngo to x: ((3360) - (скроллинг Х)) y: ((720) - (скроллинг У))\nswitch costume to (костюм прибабаса)\n\nwhen I receive [begin v]\ngo to [front v] layer\nshow\nforever\n    if <touching (player v)?> then\n        set [brightness v] effect to (5)\n        set [костюм прибабаса v] to [2]\n        if <(sound effect?) = [on]> then\n            play sound [Meow2 v] until done\n        else\n            wait (0.59) seconds\n        end\n        set [костюм прибабаса v] to [1]\n        set [brightness v] effect to (0)\n        wait until <not <touching (player v)?>>\n    end\nend\n\nwhen flag clicked\nset [костюм прибабаса v] to [1]\nhide\n\n@чат\n\nwhen flag clicked\nset [состояние чата v] to [закрыт]\nswitch costume to (chat v)\nset size to (100) %\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [подклучено! v]\nshow\nforever\n    set [color v] effect to (chat color \(H\))\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (5)\n        if <mouse down?> then\n            hide\n            broadcast (показать чат v)\n            repeat (8)\n                next costume\n                create clone of (_myself_ v)\n            end\n            go to [front v] layer\n            set [состояние чата v] to [открыт]\n            switch costume to (chat v)\n            show\n            wait until <not <mouse down?>>\n            repeat until <<mouse down?> and <touching (mouse-pointer v)?>>\n                if <touching (mouse-pointer v)?> then\n                    set [brightness v] effect to (5)\n                else\n                    set [brightness v] effect to (0)\n                end\n            end\n            set [состояние чата v] to [закрыт]\n            broadcast (спрятать чат v)\n        end\n        wait until <not <mouse down?>>\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I start as a clone\ngo to [front v] layer\nset size to (2) %\nset [ghost v] effect to (100)\nshow\nrepeat (20)\n    change size by (((100) - (size)) / (5))\n    change [ghost v] effect by (-5)\nend\nforever\n    set [color v] effect to (chat color \(H\))\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (5)\n        if <mouse down?> then\n            set [что говорит кот v] to ((costume [number v]) - (2))\n            broadcast (потом надо сбросить че говорил v)\n            wait until <not <mouse down?>>\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [спрятать чат v]\nif <(costume [number v]) = [2]> then\n\n@белая штука\n\nwhen flag clicked\nhide\n\nwhen I receive [белая штука v]\nstart sound [Cymbal v]\nset [ghost v] effect to (0)\nshow\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nhide\n\n@обложка\n\nwhen flag clicked\nhide\n\n@прибабас 2\n\nwhen I receive [платформа v]\nif <(costume [number v]) = [1]> then\n    switch costume to (костюм 2 v)\n    go to x: ((480) - (скроллинг Х)) y: ((2880) - (скроллинг У))\n    switch costume to (костюм 1 v)\nend\n\nwhen flag clicked\nswitch costume to (костюм 1 v)\nhide\n\nwhen I receive [begin v]\nshow\nwait (1) seconds\nwait until <touching (player v)?>\nset [brightness v] effect to (50)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nswitch costume to (костюм 3 v)\nset [brightness v] effect to (0)\nset [ghost v] effect to (100)\nset size to (100) %\ngo to [front v] layer\ngo to x: (0) y: (0)\nshow\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\n\n@Спрайт 1\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset size to (100) %\nhide\n\nwhen I receive [спрятать чат v]\nset [ghost v] effect to (0)\nshow\nrepeat (15)\n    change x by (((-100) - (x position)) / (4))\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [показать чат v]\ngo to x: (-100) y: (0)\nset [ghost v] effect to (100)\nshow\nrepeat (15)\n    change x by (((0) - (x position)) / (4))\n    change [ghost v] effect by (-5)\nend\n\nwhen I receive [begin v]\nforever\n    set [color v] effect to (chat color \(H\))\nend\n\n@меню\n\nwhen flag clicked\nset [music? v] to [on]\nset [sound effect? v] to [on]\nswitch costume to (menu v)\nset size to (100) %\ngo to x: (0) y: (0)\nshow\nswitch costume to (menu-start.game v)\ncreate clone of (_myself_ v)\nswitch costume to (menu-settings v)\ncreate clone of (_myself_ v)\nswitch costume to (menu-credits v)\ncreate clone of (_myself_ v)\nswitch costume to (menu v)\n\nbroadcast (послеменю v)\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    set [ghost v] effect to (100)\n    go to x: (0) y: (-20)\n    go to [front v] layer\n    repeat (10)\n        change y by (((0) - (y position)) / (3))\n        change [ghost v] effect by (-10)\n    end\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (10)\n            if <mouse down?> then\n                broadcast (послеменю v)\n            end\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\nif <(costume [number v]) = [3]> then\n    set [ghost v] effect to (100)\n    go to x: (0) y: (-20)\n    go to [front v] layer\n    repeat (10)\n        change y by (((0) - (y position)) / (3))\n        change [ghost v] effect by (-10)\n    end\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (10)\n            if <mouse down?> then\n                switch costume to (settings-music-on v)\n                create clone of (_myself_ v)\n                switch costume to (settings-se-on v)\n                create clone of (_myself_ v)\n                switch costume to (settings-bck v)\n                create clone of (_myself_ v)\n                switch costume to (back button v)\n                create clone of (_myself_ v)\n                broadcast (закрыть задний фон меню v)\n            end\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\nif <(costume [number v]) = [4]> then\n    set [ghost v] effect to (100)\n    go to x: (0) y: (-20)\n    go to [front v] layer\n    repeat (10)\n        change y by (((0) - (y position)) / (3))\n        change [ghost v] effect by (-10)\n    end\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (10)\n            if <mouse down?> then\n                switch costume to (credits v)\n                create clone of (_myself_ v)\n                switch costume to (back button v)\n                create clone of (_myself_ v)\n                switch costume to (menu-credits v)\n                broadcast (закрыть задний фон меню v)\n                delete this clone\n            end\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\nif <(costume [number v]) = [5]> then\n    set [ghost v] effect to (100)\n    go to x: (0) y: (-20)\n    go to [front v] layer\n    set [brightness v] effect to (0)\n    repeat (10)\n        change y by (((0) - (y position)) / (3))\n        change [ghost v] effect by (-10)\n    end\nend\nif <(costume [number v]) = [11]> then\n    set [ghost v] effect to (100)\n    go to x: (0) y: (-20)\n    go to [front v] layer\n    set [brightness v] effect to (0)\n    repeat (10)\n        change y by (((0) - (y position)) / (3))\n        change [ghost v] effect by (-10)\n    end\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (10)\n            if <mouse down?> then\n                broadcast (back нажат v)\n                repeat (10)\n                    change [ghost v] effect by (10)\n                end\n                delete this clone\n            end\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\nif <(costume [number v]) = [6]> then\n    go to [front v] layer\n    set [ghost v] effect to (100)\n    go to x: (0) y: (-20)\n    set [brightness v] effect to (0)\n    repeat (10)\n        change y by (((0) - (y position)) / (3))\n        change [ghost v] effect by (-10)\n    end\nend\nif <(costume [number v]) = [8]> then\n    set [ghost v] effect to (100)\n    go to x: (0) y: (-20)\n    set [brightness v] effect to (0)\n    repeat (10)\n        change y by (((0) - (y position)) / (3))\n        change [ghost v] effect by (-10)\n        go to [front v] layer\n    end\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (10)\n            if <mouse down?> then\n                if <(costume [number v]) = [8]> then\n                    switch costume to (settings-music-off v)\n                    set [music? v] to [off]\n                else\n                    switch costume to (settings-music-on v)\n                    set [music? v] to [on]\n                end\n                wait until <not <mouse down?>>\n            end\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\nif <(costume [number v]) = [10]> then\n    set [ghost v] effect to (100)\n    go to x: (0) y: (-20)\n    set [brightness v] effect to (0)\n    repeat (10)\n        change y by (((0) - (y position)) / (3))\n        change [ghost v] effect by (-10)\n        go to [front v] layer\n    end\n    forever\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (10)\n            if <mouse down?> then\n                if <(costume [number v]) = [10]> then\n                    switch costume to (settings-se-off v)\n                    set [sound effect? v] to [off]\n                else\n                    switch costume to (settings-se-on v)\n                    set [sound effect? v] to [on]\n                end\n                wait until <not <mouse down?>>\n            end\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\n\nwhen I receive [послеменю v]\nhide\ndelete this clone\n\nwhen I receive [back нажат v]\nif <(costume [number v]) > [4]> then\n    delete this clone\nend\n\nwhen I receive [back нажат v]\nif <(costume [number v]) = [1]> then\n    switch costume to (menu-start.game v)\n    create clone of (_myself_ v)\n    switch costume to (menu-settings v)\n    create clone of (_myself_ v)\n    switch costume to (menu-credits v)\n    create clone of (_myself_ v)\n    switch costume to (menu v)\nend\n\nwhen I receive [закрыть задний фон меню v]\nif <(costume [number v]) < [5]> then\n    delete this clone\nend\n\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@турбомод детектор\n\nwhen flag clicked\nset [turbo? \(tmd\) v] to [false]\nhide\nset [2 \(tmd\) v] to [0]\nset [1 \(tmd\) v] to [0]\nforever\n    set [2 \(tmd\) v] to (tick \(tmd\))\n    wait (0.01) seconds\n    set [1 \(tmd\) v] to ((((tick \(tmd\)) - (2 \(tmd\))) * (1)) * (1))\n    set [turbo? \(tmd\) v] to <((1 \(tmd\)) * (1)) > [10]>\nend\n\nwhen flag clicked\nset [tick \(tmd\) v] to [0]\nforever\n    change [tick \(tmd\) v] by (1)\nend\n\nwhen flag clicked\nforever\n    if <(turbo? \(tmd\)) = [true]> then\n        show\n        stop [all v]\n    end\nend\n\n@privilege\n\ndefine привилегия\nset [привилегия \(privilege\) v] to [no]\nset [chat color \(h\) v] to [0]\nset [cat color \(c\) v] to [0]\nset [› press n \(animation\) v] to [0]\nhide variable [chat color \(h\) v]\nhide variable [cat color \(c\) v]\ndelete all of [privilege users v]\nadd [-Andye-] to [privilege users v]\nadd [Obstagoon2] to [privilege users v]\nadd [Universal_Wolf] to [privilege users v]\nadd [TheNewEASMan] to [privilege users v]\nadd [-sparklegirl123] to [privilege users v]\nadd [MrAlwaysSus] to [privilege users v]\nadd [v-x-nadia-y-c] to [privilege users v]\nadd [BluishBarley] to [privilege users v]\nadd [ironkid1212] to [privilege users v]\nadd [BAD_CODER_9000] to [privilege users v]\nadd [fun19567] to [privilege users v]\nadd [Structed] to [privilege users v]\nadd [snniperwwolf] to [privilege users v]\nadd [adobeflash4life] to [privilege users v]\nadd [_FBItoons_] to [privilege users v]\nadd [cakesareyummy11] to [privilege users v]\nadd [SAKA_G050412] to [privilege users v]\nadd [BB8UltraG] to [privilege users v]\nadd (username) to [privilege users v]\n\nwhen flag clicked\nпривилегия\nif < (privilege users) contains (username)?> then\n    set [привилегия \(privilege\) v] to [yes]\nend\n\nwhen [c v] key pressed\nif <(привилегия \(privilege\)) = [yes]> then\n    if <(› press C \(color\)) = [0]> then\n        show variable [cat color \(c\) v]\n        set [› press c \(color\) v] to [1]\n    else\n        hide variable [cat color \(c\) v]\n        set [› press c \(color\) v] to [0]\n    end\nend\n\nwhen [n v] key pressed\nif <(привилегия \(privilege\)) = [yes]> then\n    if <(› press N \(animation\)) = [0]> then\n        set [› press n \(animation\) v] to [1]\n    else\n        set [› press n \(animation\) v] to [0]\n    end\nend\n\nwhen [h v] key pressed\nif <(привилегия \(privilege\)) = [yes]> then\n    if <(› press H \(chat\)) = [0]> then\n        show variable [chat color \(h\) v]\n        set [› press h \(chat\) v] to [1]\n    else\n        hide variable [chat color \(h\) v]\n        set [› press h \(chat\) v] to [0]\n    end\nend\n\n@монетки\n\ndefine монетка в (х) (у)\nset [х монеток v] to (х)\nset [у монеток v] to (у)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nswitch costume to (костюм 1 v)\nset [количество монеток v] to [0]\nhide\n\nwhen I receive [begin v]\nshow\nмонетка в [-290] [220]\nмонетка в [620] [100]\nмонетка в [1650] [200]\nмонетка в [1600] [70]\nмонетка в [2530] [250]\nмонетка в [3360] [630]\nмонетка в [3000] [1750]\nмонетка в [2630] [2200]\nмонетка в [1650] [1900]\nмонетка в [320] [2490]\nhide\n\nwhen I receive [платформа v]\nswitch costume to (костюм 2 v)\ngo to x: ((х монеток) - (скроллинг Х)) y: ((у монеток) - (скроллинг У))\nswitch costume to (костюм 1 v)\n\nwhen I start as a clone\nrepeat until <touching (player v)?>\n    change [у монеток v] by (([cos v] of ((timer) * (200)) ) * (0.5))\nend\nif <(sound effect?) = [on]> then\n    start sound [Coin v]\nend\nchange [количество монеток v] by (1)\nrepeat (10)\n    change [у монеток v] by (5)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@Спрайт 3\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nif <(username) = [-Andye-]> then\n    forever\n        go to (mouse-pointer v)\n        say (join ((mouse x) + (скроллинг Х)) (join [ : ] ((mouse y) + (скроллинг У))))\n    end\nend\n\nwhen I receive [begin v]\nshow\nforever\n    go to [front v] layer\n    switch costume to ((количество монеток) + (1))\nend\n\n
★★★ Project ★★★\nthis project where you have to go through a scrolling platformer, it is quite complicated\n\n★★★ My new game is out! ★★★\nplease: https://scratch.mit.edu/projects/804509693/\nFollow me for cookie!!!\n★★★ instructions ★★★\n› player control arrows / wasd or by touching the screen. mobile friendly\n› you need collect exactly 10 coins\n\n★★★ multiplayer ★★★\nyou can play with other players!\nuse chat to talk to yourself\n! if you are not logged in or you are a new scratcher then the multiplayer will not work!\n› if there are too many scratchers, then you can go to \n★ second official server: ★\nhttps://scratch.mit.edu/projects/784230004\n\n★★★ You can get new stuff! ★★★\nif it's on this list then you can use the new stuff!\n› press C (color) to change your color (other users will not see this.\n› press N (animation) to enable/disable drawing for other players.\n› press H (chat) to change the color of your chat\nto get the privilege you have to like and favorite this project and comment: "!P" and I will give you the privilege\n\nP.s I did not think that there would be so many requests for the privilege, so I added it to everyone\n\n★★★ thanks ★★★\n@mason123mason for blocks costume\n(here: https://scratch.mit.edu/projects/483569461/)\n@griffpatch for online engine and scratch cat costume and water costume and music: "Soul_and_Mind 48000 loop"\ninspired by original getting over it (here)\nhttps://scratch.mit.edu/projects/389464290\n\n★★★ abaut chekpoints ★★★\nGuys, I will not make checkpoints because this is a game of difficulty, in the original getting over it there are no checkpoints!\n\n★★★ Tags ★★★\n#online #scrolling #platformer #GettingOverIt #getting #over #it #remake #by #-Andye- #and #inspired #griffpatch #good #games #super #all #cool #nice #scratchstyle #cat #games