A platformer "Lica Lica and the witches" #games #trending #all 

Instructions: ------LICA LICA AND THE WITCHES--------\n-READ ALL-\n*MOBILE FRIENDLY*\n\n--STORY--\nLica Lica was chilling outside with his mom when 3 witches took his mom. Your mission is to rescue her.\n\n--CONTROLS--\nCLICK THE FLAG X2 TIMES\n-In menu:- click the arrows to change the skin\n               - click on the play button to start\n               - click on the settings button to acces settings \n-In the settings menu:-click on the button near "music" "\to stop/start it\n                                  -click on the button near "watermark" to show/hide it\n                                  -click on "esc" or press R to leave \n-in game:-use arrows to move or click on the screen left/right/up to move\n               -press the settings button to acces them\n\nALL LEVELS ARE POSIBLE*\nHAVE FUN! :)

@Stage\n\nwhen flag clicked\nswitch backdrop to (menu v)\n\n@     \n\ndefine CLONE (costume) AT (x) (y) with (zise) and (direction)\nshow\nswitch costume to (costume)\ngo to x: (x) y: (y)\npoint in direction (direction)\nset size to (zise) %\ngo to [front v] layer\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [1]> then\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            start sound [SELECT v]\n            broadcast (play v)\n            set [hide-menu v] to [on]\n        end\n        if <(distance to [mouse-pointer v]) < [90]> then\n            set size to (65) %\n        else\n            set size to (60) %\n        end\n    end\n    if <(costume [number v]) = [2]> then\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            start sound [SELECT v]\n            broadcast (settings v)\n            set [hide-menu v] to [on]\n        end\n        if <(distance to [mouse-pointer v]) < [45]> then\n            set size to (55) %\n        else\n            set size to (50) %\n        end\n    end\n    if <(hide-menu) = [on]> then\n        repeat (3)\n            delete this clone\n        end\n    end\n    if <(backdrop [number v]) = [3]> then\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [menu v]\nhide\nCLONE [B. start] AT [0] [-30] with [60] and [90]\nCLONE [B. settings] AT [-210] [150] with [50] and [90]\nCLONE [B. skins] AT [130] [70] with [40] and [113]\n\nwhen flag clicked\nset [hide-menu v] to [off]\nhide variable [hide-menu v]\nset [hide-menu in game v] to [off]\n\n@      \n\nwhen backdrop switches to [menu v]\nhide\nCLONE [1] AT [0] [95] with [90] and [90]\nCLONE [left] AT [-70] [89] with [150] and [90]\nCLONE [right] AT [65] [89] with [150] and [90]\n\ndefine CLONE (costume) AT (x) (y) with (zise) and (direction)\nshow\nswitch costume to (costume)\ngo to x: (x) y: (y)\npoint in direction (direction)\nset size to (zise) %\ngo [forward v] (1) layers\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) < [6]> then\n        switch costume to (player costume)\n    end\n    if <(costume [number v]) = [6]> then\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            start sound [SELECT v]\n            if <(player costume) = [5]> then\n                set [player costume v] to [1]\n                wait (0.3) seconds\n            else\n                change [player costume v] by (1)\n                wait (0.3) seconds\n            end\n        end\n        if <(distance to [mouse-pointer v]) < [45]> then\n            set size to (155) %\n        else\n            set size to (150) %\n        end\n    end\n    if <(costume [number v]) = [7]> then\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            start sound [SELECT v]\n            if <(player costume) = [1]> then\n                set [player costume v] to [5]\n                wait (0.3) seconds\n            else\n                change [player costume v] by (-1)\n                wait (0.3) seconds\n            end\n        end\n        if <(distance to [mouse-pointer v]) < [45]> then\n            set size to (155) %\n        else\n            set size to (150) %\n        end\n    end\n    if <(hide-menu) = [on]> then\n        repeat (3)\n            delete this clone\n        end\n    end\nend\n\nwhen flag clicked\nset [player costume v] to [1]\nhide variable [player costume v]\n\n@        \n\ndefine CLONE (costume) AT (x) (y) with (zise) and (direction)\nshow\nswitch costume to (costume)\ngo to x: (x) y: (y)\npoint in direction (direction)\nset size to (zise) %\ngo [forward v] (1) layers\ncreate clone of (_myself_ v)\nhide\n\nwhen flag clicked\nhide\nset [music v] to [on]\nbroadcast (Music v)\nstop [this script v]\n\nwhen I receive [settings v]\nCLONE [menu] AT [0] [25] with [120] and [90]\nCLONE [Music] AT [-86] [80] with [100] and [90]\nCLONE [on Watermark] AT [-37] [51] with [100] and [90]\nCLONE [ESC] AT [-180] [120] with [100] and [90]\n\nwhen I start as a clone\nforever\n    if <<(costume [number v]) = [2]> and <(music) = [off]>> then\n        switch costume to (off music v)\n    end\n    if <<(costume [number v]) = [4]> and <(watermark) = [off]>> then\n        switch costume to (off  watermark v)\n    end\n    if <<(costume [number v]) = [2]> and <<mouse down?> and <touching (mouse-pointer v)?>>> then\n        start sound [ON/OFF v]\n        switch costume to (off music v)\n        set [music v] to [off]\n        wait (0.3) seconds\n    end\n    if <<(costume [number v]) = [3]> and <<mouse down?> and <touching (mouse-pointer v)?>>> then\n        start sound [ON/OFF v]\n        switch costume to (music v)\n        set [music v] to [on]\n        wait (0.3) seconds\n    end\n    if <<(costume [number v]) = [4]> and <<mouse down?> and <touching (mouse-pointer v)?>>> then\n        start sound [ON/OFF v]\n        switch costume to (off  watermark v)\n        set [watermark v] to [off]\n        wait (0.3) seconds\n    end\n    if <<(costume [number v]) = [5]> and <<mouse down?> and <touching (mouse-pointer v)?>>> then\n        start sound [ON/OFF v]\n        switch costume to (on watermark v)\n        set [watermark v] to [on]\n        wait (0.3) seconds\n    end\n    if <key (e v) pressed?> then\n        repeat (4)\n            switch backdrop to (menu v)\n            set [hide-menu v] to [off]\n            delete this clone\n        end\n        stop [this script v]\n    end\n    if <<(costume [number v]) = [6]> and <<mouse down?> and <touching (mouse-pointer v)?>>> then\n        repeat (1)\n            switch backdrop to (menu v)\n            set [hide-menu v] to [off]\n            delete this clone\n        end\n        stop [this script v]\n    end\n    if <(backdrop [number v]) = [4]> then\n        stop [this script v]\n    end\n    if <(hide-menu) = [off]> then\n        if <(costume [number v]) < [7]> then\n            repeat (4)\n                delete this clone\n            end\n        end\n    end\nend\n\nwhen I receive [music v]\nforever\n    play sound [Music v] until done\nend\n\nwhen I receive [music v]\nforever\n    if <(music) = [off]> then\n        set volume to (0) %\n    end\n    if <(music) = [on]> then\n        set volume to (100) %\n    end\n    if <(backdrop [number v]) = [3]> then\n        set volume to (0) %\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\n@       \n\nwhen flag clicked\nset [watermark v] to [on]\nhide variable [watermark v]\nset size to (100) %\ngo to x: (223) y: (-169)\nshow\nforever\n    if <(watermark) = [on]> then\n        set [ghost v] effect to (0)\n        show\n        go to [front v] layer\n    else\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        hide\n    end\n    if <(backdrop [number v]) = [3]> then\n        stop [this script v]\n    end\nend\n\nwhen backdrop switches to [background v]\nforever\n    if <(watermark 2) = [on]> then\n        set [ghost v] effect to (0)\n        show\n        go to [front v] layer\n    else\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        hide\n    end\nend\n\n@           \n\nwhen flag clicked\nhide\nset size to (30) %\ngo to x: (0) y: (0)\n\nwhen backdrop switches to [background v]\nwait until <(levels) = [5]>\nswitch costume to (silver witch v)\ngo to x: (210) y: (-75)\nrepeat until <(levels) = [6]>\n    show\n    go to [front v] layer\n    if <(distance to [player v]) > [40]> then\n        point towards (player v)\n        set rotation style [left-right v]\n        move (4) steps\n    else\n        if <(distance to [player v]) < [40]> then\n            point towards (player v)\n            set rotation style [left-right v]\n            move (3) steps\n        end\n    end\n    if <touching (player v)?> then\n        go to x: (210) y: (-75)\n        broadcast (level v)\n    end\nend\nhide\nwait until <(levels) = [10]>\nswitch costume to (golden witch v)\ngo to x: (0) y: (0)\nrepeat until <(levels) = [11]>\n    show\n    go to [front v] layer\n    set rotation style [left-right v]\n    point towards (player v)\n    repeat (1)\n        wait (0.3) seconds\n        CLONE [bullet] AT [0] [0] with [30] and [90]\n        switch costume to (golden witch v)\n    end\nend\nhide\nwait until <(levels) = [14]>\nswitch costume to (diamond witch v)\ngo to x: (0) y: (130)\nrepeat until <(levels) = [15]>\n    show\n    go to [front v] layer\n    set rotation style [left-right v]\n    point towards (player v)\n    repeat (1)\n        wait (0.1) seconds\n        CLONE [laser] AT [0] [130] with [30] and [90]\n        switch costume to (diamond witch v)\n    end\nend\nhide\nwait until <(levels) = [15]>\nCLONE [silver witch] AT [210] [-75] with [30] and [90]\nCLONE [golden witch] AT [0] [0] with [30] and [90]\nCLONE [diamond witch] AT [0] [130] with [30] and [90]\n\ndefine CLONE (costume) AT (x) (y) with (zise) and (direction)\nshow\nswitch costume to (costume)\ngo to x: (x) y: (y)\npoint in direction (direction)\nset size to (zise) %\ngo to [front v] layer\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\nforever\n    if <(costume [number v]) = [4]> then\n        go to x: (pick random (-230) to (230)) y: (0)\n        repeat until <<touching (levels v)?> or <touching (player v)?>>\n            change y by (-3)\n        end\n        if <touching (player v)?> then\n            broadcast (level v)\n            delete this clone\n        end\n        if <touching (levels v)?> then\n            delete this clone\n        end\n    end\n    if <(costume [number v]) = [5]> then\n        go to x: (pick random (-230) to (230)) y: (130)\n        repeat until <<touching (levels v)?> or <touching (player v)?>>\n            change y by (-7)\n        end\n        if <touching (player v)?> then\n            broadcast (level v)\n            delete this clone\n        end\n        if <touching (levels v)?> then\n            delete this clone\n        end\n    end\n    if <(levels) = [15]> then\n        if <(costume [number v]) = [1]> then\n            show\n            go to [front v] layer\n            if <(distance to [player v]) > [40]> then\n                point towards (player v)\n                set rotation style [left-right v]\n                move (4) steps\n            else\n                if <(distance to [player v]) < [40]> then\n                    point towards (player v)\n                    set rotation style [left-right v]\n                    move (3) steps\n                end\n            end\n            if <touching (player v)?> then\n                go to x: (210) y: (-75)\n                broadcast (level v)\n            end\n        end\n        if <(costume [number v]) = [2]> then\n            show\n            go to [front v] layer\n            set rotation style [left-right v]\n            point towards (player v)\n            repeat (1)\n                wait (0.5) seconds\n                CLONE [bullet] AT [0] [0] with [30] and [90]\n                set size to (30) %\n                switch costume to (golden witch v)\n            end\n        end\n        if <(costume [number v]) = [3]> then\n            show\n            go to [front v] layer\n            set rotation style [left-right v]\n            point towards (player v)\n            repeat (1)\n                wait (0.5) seconds\n                CLONE [laser] AT [0] [130] with [30] and [90]\n                set size to (30) %\n                switch costume to (diamond witch v)\n            end\n        end\n    end\n    if <(levels) = [16]> then\n        repeat (50)\n            if <(costume [number v]) < [6]> then\n                delete this clone\n            end\n        end\n    end\nend\n\nif <(levels) = [11]> then\n    delete this clone\nend\n\n@levels\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (0) y: (0)\nset [levels v] to [1]\n\nwhen backdrop switches to [background v]\nshow\ngo to [front v] layer\ngo [backward v] (1) layers\nforever\n    switch costume to (levels)\nend\n\n@player\n\nwhen I receive [level v]\ngo to x: (-210) y: (-60)\nset [xv v] to [0]\nset [yv v] to [0]\n\nwhen backdrop switches to [background v]\nshow\nswitch costume to (player costume)\ngo to x: (-210) y: (-60)\nset rotation style [left-right v]\npoint in direction (90)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    go to [front v] layer\n    if <touching (obstacles v)?> then\n        broadcast (level v) and wait\n    end\n    if <<(x position) > [230]> and <touching (_edge_ v)?>> then\n        if <not <(levels) = [16]>> then\n            change [levels v] by (1)\n            broadcast (level v) and wait\n        end\n    end\n    if <<(y position) < [-173]> and <touching (_edge_ v)?>> then\n        broadcast (level v) and wait\n    end\n    if <not <touching color (#5900ff)?>> then\n        change [yv v] by (-0.5)\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>> then\n            point in direction (90)\n            change [xv v] by (0.8)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n            point in direction (-90)\n            change [xv v] by (-0.8)\n        end\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (levels v)?> then\n        change y by (1)\n        if <touching (levels v)?> then\n            change y by (1)\n            if <touching (levels v)?> then\n                change y by (1)\n                if <touching (levels v)?> then\n                    change y by (1)\n                    if <touching (levels v)?> then\n                        change y by (1)\n                        if <touching (levels v)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <touching (levels v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (levels v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [0]>>> then\n            if <not <touching color (#5900ff)?>> then\n                set [yv v] to [10]\n            end\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nhide\nset size to (30) %\nswitch costume to (1 v)\ngo to [front v] layer\n\nwhen I receive [hide v]\nhide\n\n@obstacles\n\nwhen backdrop switches to [background v]\nshow\ngo to [front v] layer\ngo [backward v] (2) layers\nforever\n    switch costume to (levels)\n    if <(costume [number v]) = [3]> then\n        if <(unlock) = [1]> then\n            hide\n            set [unlock v] to [0]\n            wait until <(levels) = [4]>\n            show\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (0) y: (0)\n\n@settings\n\ndefine CLONE (costume) AT (x) (y) with (zise) and (direction)\nshow\nswitch costume to (costume)\ngo to x: (x) y: (y)\npoint in direction (direction)\nset size to (zise) %\ngo to [front v] layer\ncreate clone of (_myself_ v)\nhide\n\nwhen I start as a clone\nforever\n    go to [front v] layer\n    if <(backdrop [number v]) = [3]> then\n        go to [front v] layer\n        if <(costume [number v]) = [1]> then\n            if <<touching (mouse-pointer v)?> and <mouse down?>> then\n                start sound [SELECT v]\n                broadcast (settings 2 v)\n                set [hide-menu in game v] to [on]\n            end\n            if <(distance to [mouse-pointer v]) < [45]> then\n                set size to (55) %\n            else\n                set size to (50) %\n            end\n        end\n        if <(hide-menu in game) = [on]> then\n            delete this clone\n        end\n    end\nend\n\nwhen I receive [clone back v]\nCLONE [B. settings] AT [210] [150] with [50] and [90]\n\nwhen backdrop switches to [background v]\nbroadcast (Music 2 v)\nbroadcast (clone back v)\nstop [this script v]\n\n@settings menu\n\ndefine CLONE (costume) AT (x) (y) with (zise) and (direction)\nshow\nswitch costume to (costume)\ngo to x: (x) y: (y)\npoint in direction (direction)\nset size to (zise) %\ngo to [front v] layer\ngo [forward v] (1) layers\ncreate clone of (_myself_ v)\nhide\n\nwhen flag clicked\nhide\nset [music 2 v] to [on]\nstop [this script v]\n\nwhen I receive [settings 2 v]\nCLONE [menu] AT [0] [25] with [120] and [90]\nCLONE [Music] AT [-86] [80] with [100] and [90]\nCLONE [on Watermark] AT [-37] [51] with [100] and [90]\nCLONE [ESC] AT [-180] [120] with [100] and [90]\n\nwhen I receive [music 2 v]\nforever\n    play sound [Music v] until done\nend\n\nwhen I receive [music 2 v]\nforever\n    if <(music 2) = [off]> then\n        set volume to (0) %\n    end\n    if <(music 2) = [on]> then\n        set volume to (100) %\n    end\nend\n\nwhen I start as a clone\nforever\n    if <(backdrop [number v]) = [3]> then\n        go to [front v] layer\n        go [forward v] (1) layers\n        if <<(costume [number v]) = [2]> and <(music 2) = [off]>> then\n            switch costume to (off music v)\n        end\n        if <<(costume [number v]) = [4]> and <(watermark) = [off]>> then\n            switch costume to (off  watermark v)\n        end\n        if <<(costume [number v]) = [2]> and <<mouse down?> and <touching (mouse-pointer v)?>>> then\n            start sound [ON/OFF v]\n            switch costume to (off music v)\n            set [music 2 v] to [off]\n            wait (0.3) seconds\n        end\n        if <<(costume [number v]) = [3]> and <<mouse down?> and <touching (mouse-pointer v)?>>> then\n            start sound [ON/OFF v]\n            switch costume to (music v)\n            set [music 2 v] to [on]\n            wait (0.3) seconds\n        end\n        if <<(costume [number v]) = [4]> and <<mouse down?> and <touching (mouse-pointer v)?>>> then\n            start sound [ON/OFF v]\n            switch costume to (off  watermark v)\n            set [watermark 2 v] to [off]\n            wait (0.3) seconds\n        end\n        if <<(costume [number v]) = [5]> and <<mouse down?> and <touching (mouse-pointer v)?>>> then\n            start sound [ON/OFF v]\n            switch costume to (on watermark v)\n            set [watermark 2 v] to [on]\n            wait (0.3) seconds\n        end\n        if <key (e v) pressed?> then\n            repeat (4)\n                set [hide-menu in game v] to [off]\n                broadcast (clone back v)\n                delete this clone\n            end\n            stop [this script v]\n        end\n    end\n    if <<(costume [number v]) = [6]> and <<mouse down?> and <touching (mouse-pointer v)?>>> then\n        repeat (1)\n            set [hide-menu in game v] to [off]\n            delete this clone\n        end\n        broadcast (clone back v)\n        stop [this script v]\n    end\n    if <(backdrop [number v]) = [4]> then\n        stop [this script v]\n    end\n    if <(hide-menu in game) = [off]> then\n        if <(costume [number v]) < [7]> then\n            repeat (4)\n                delete this clone\n            end\n            broadcast (clone back v)\n        end\n    end\nend\n\n@helps\n\nwhen backdrop switches to [background v]\nshow\ngo to [front v] layer\ngo [backward v] (2) layers\nforever\n    switch costume to (levels)\n    if <(costume [number v]) = [3]> then\n        if <touching (player v)?> then\n            start sound [Collect v]\n            hide\n            set [unlock v] to [1]\n            wait until <(levels) = [4]>\n            show\n            set [unlock v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (0) y: (0)\nset [unlock v] to [0]\n\n@MOM\n\nwhen flag clicked\nhide\nswitch costume to (mom v)\nset size to (40) %\nwait until <(levels) = [16]>\ngo to x: (120) y: (-75)\nshow\nrepeat (2)\n    repeat (10)\n        change x by (3)\n    end\n    repeat (10)\n        change x by (-3)\n    end\n    repeat (10)\n        change y by (2)\n    end\n    wait (0.1) seconds\n    repeat (10)\n        change y by (-2)\n    end\nend\nhide\ngo to x: (0) y: (0)\nswitch costume to (finish v)\nset size to (100) %\ngo to [front v] layer\ngo [forward v] (999) layers\nshow\nbroadcast (hide v)\n\n@for mobile players\n\nwhen flag clicked\nhide\nset size to (100) %\ngo to x: (0) y: (0)\n\nwhen backdrop switches to [background v]\nset [ghost v] effect to (100)\nshow\ngo to [front v] layer\ngo [forward v] (999) layers\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n@Thumbnail\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\n    go [forward v] (99999) layers\nend\n\n@         \n\ndefine CLONE (costume) AT (x) (y) with (zise) and (direction)\nshow\nswitch costume to (costume)\ngo to x: (x) y: (y)\npoint in direction (direction)\nset size to (zise) %\ngo [forward v] (1) layers\ncreate clone of (_myself_ v)\nhide\n\nwhen flag clicked\nhide\nswitch costume to (1 v)\nset size to (50) %\nset [go v] to [0]\n\nwhen I receive [play v]\nswitch backdrop to (story v)\nCLONE [1] AT [-120] [88] with [50] and [90]\nwait (4) seconds\nCLONE [2] AT [120] [88] with [50] and [90]\nwait (4) seconds\nCLONE [3] AT [-120] [-98] with [50] and [90]\nwait (4) seconds\nCLONE [4] AT [120] [-98] with [50] and [90]\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    set [ghost v] effect to (100)\n    repeat (25)\n        change [ghost v] effect by (-4)\n        wait (0.1) seconds\n    end\nend\nif <(costume [number v]) = [2]> then\n    set [ghost v] effect to (100)\n    repeat (25)\n        change [ghost v] effect by (-4)\n        wait (0.1) seconds\n    end\nend\nif <(costume [number v]) = [3]> then\n    set [ghost v] effect to (100)\n    repeat (25)\n        change [ghost v] effect by (-4)\n        wait (0.1) seconds\n    end\nend\nif <(costume [number v]) = [4]> then\n    set [ghost v] effect to (100)\n    repeat (25)\n        change [ghost v] effect by (-4)\n        wait (0.1) seconds\n    end\n    set [go v] to [1]\nend\nwait until <(go) = [1]>\nrepeat (20)\n    change [ghost v] effect by (4)\n    change [brightness v] effect by (4)\nend\nwait (0.3) seconds\nswitch backdrop to (background v)\nrepeat (4)\n    delete this clone\nend\n\n