Beach || A [mobile friendly] Platformer 
@Stage\n\nwhen flag clicked\nset [color v] effect to (0)\nforever\n    if <<(current [hour v]) = [7]> or <<(current [hour v]) = [8]> or <<(current [hour v]) = [9]> or <<(current [hour v]) = [10]> or <<(current [hour v]) = [11]> or <<(current [hour v]) = [12]> or <<(current [hour v]) = [13]> or <<(current [hour v]) = [14]> or <<(current [hour v]) = [15]> or <<(current [hour v]) = [16]> or <<(current [hour v]) = [17]> or <<(current [hour v]) = [18]> or <<(current [hour v]) = [19]> or <(current [hour v]) = [20]>>>>>>>>>>>>>> then\n        switch backdrop to (fons2 v)\n    else\n        switch backdrop to (fons1 v)\n    end\nend\n\nwhen [r v] key pressed\nbroadcast (Rainbow mode v)\nwait (0.1) seconds\nrepeat until <key (r v) pressed?>\n    change [color v] effect by (25)\nend\nset [color v] effect to (0)\n\nwhen flag clicked\nforever\n    play sound [recording1 v] until done\nend\n\n@Jugador\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (toucan-a2 v)\nset [level v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nshow\ngo to x: (-203) y: (300)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<(mouse x) > [0]> and <mouse down?>>> then\n        switch costume to (toucan-a2 v)\n        change [x v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<(mouse x) < [0]> and <mouse down?>>> then\n        switch costume to (toucan-a v)\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching (plataforma v)?> or <<touching (1a plataforma que es mou v)?> or <touching (1a plataforma que es mou2 v)?>>> then\n        change y by (1)\n        if <<touching (plataforma v)?> or <<touching (1a plataforma que es mou v)?> or <touching (1a plataforma que es mou2 v)?>>> then\n            change y by (1)\n            if <<touching (plataforma v)?> or <<touching (1a plataforma que es mou v)?> or <touching (1a plataforma que es mou2 v)?>>> then\n                change y by (1)\n                if <<touching (plataforma v)?> or <<touching (1a plataforma que es mou v)?> or <touching (1a plataforma que es mou2 v)?>>> then\n                    change y by (1)\n                    if <<touching (plataforma v)?> or <<touching (1a plataforma que es mou v)?> or <touching (1a plataforma que es mou2 v)?>>> then\n                        change x by ((x) * (-1))\n                        change y by (-4)\n                    end\n                    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > [0]> and <mouse down?>>> then\n                        if <(x) > [0]> then\n                            set [x v] to [-5]\n                        else\n                            set [x v] to [5]\n                        end\n                        set [y v] to [10]\n                    else\n                        set [y v] to [0]\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (y)\n    if <<touching (plataforma v)?> or <<touching (1a plataforma que es mou v)?> or <touching (1a plataforma que es mou2 v)?>>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<touching (plataforma v)?> or <<touching (1a plataforma que es mou v)?> or <touching (1a plataforma que es mou2 v)?>>> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > [0]> and <mouse down?>>> then\n            switch costume to (toucan-a5 v)\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\n    if <<(level) < [16]> and <(x position) > [238]>> then\n        broadcast (següent nivell v)\n        change x by (-700)\n        change [level v] by (1)\n    end\n    if <(y position) < [-178]> then\n        if <(level) = [6]> then\n            mort2\n        else\n            mort\n        end\n    end\n    if <touching (punxes v)?> then\n        if <(level) = [6]> then\n            mort2\n        else\n            mort\n        end\n    end\n    if <<touching (enemic v)?> or <touching (enemic2 v)?>> then\n        mort\n    end\n    if <touching (spinnig spike2 v)?> then\n        mort\n    end\n    if <<touching (enemic v)?> or <touching (enemic2 v)?>> then\n        mort\n    end\nend\n\nwhen [r v] key pressed\nif <(level) = [6]> then\n    mort2\nelse\n    mort\nend\n\nwhen flag clicked\nforever\n    if <touching (trampolins v)?> then\n        set [y v] to [10]\n    end\nend\n\nwhen flag clicked\npoint in direction (90)\nforever\n    if <<not <mouse down?>> and <<not <key (right arrow v) pressed?>> and <<not <key (a v) pressed?>> and <<not <key (d v) pressed?>> and <<not <key (left arrow v) pressed?>> and <<not <key (up arrow v) pressed?>> and <not <key (w v) pressed?>>>>>>>> then\n        switch costume to (toucan-a3 v)\n    end\nend\n\nwhen I start as a clone\nswitch costume to (toucan-a4 v)\nrepeat (10)\n    change [ghost v] effect by (5)\n    change size by (-5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\ndefine mort\nrepeat (15)\n    switch costume to (toucan-a6 v)\n    turn right (30) degrees\n    change y by (y)\n    change [y v] by (-1)\n    change [ghost v] effect by (10)\nend\npoint in direction (90)\ngo to x: (-203) y: (-53)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\ndefine mort2\nrepeat (15)\n    switch costume to (toucan-a6 v)\n    turn right (30) degrees\n    change y by (y)\n    change [y v] by (-1)\n    change [ghost v] effect by (10)\nend\npoint in direction (90)\ngo to x: (-203) y: (102)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen flag clicked\nforever\n    if <<<<(mouse x) > [0]> and <(mouse y) > [0]>> and <mouse down?>> or <<key (right arrow v) pressed?> and <key (up arrow v) pressed?>>> then\n        switch costume to (toucan-a7 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<<(mouse y) > [0]> and <[0] > (mouse x)>> and <mouse down?>> or <<key (left arrow v) pressed?> and <key (up arrow v) pressed?>>> then\n        switch costume to (toucan-a8 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<(level) = [11]> or <(level) = [7]>> and <(y position) < [-63]>> then\n        mort\n    end\nend\n\n@Plataforma\n\nwhen [a v] key pressed\n\nask [What level from 1 to 16 of this platformer do you want to do?] and wait\nset [level v] to (answer)\nswitch costume to (answer)\n\nwhen flag clicked\nswitch costume to (1 v)\npoint in direction (90)\ngo to x: (0) y: (0)\n\nwhen I receive [següent nivell v]\nnext costume\n\nwhen I receive [rainbow mode v]\nrepeat until <key (r v) pressed?>\n    change [color v] effect by (25)\nend\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (0) y: (-93)\nchange [brightness v] effect by (25)\nchange [ghost v] effect by (10)\nforever\n    glide (0.5) secs to x: (0) y: (-76)\n    glide (0.5) secs to x: (0) y: (-83)\nend\n\nwhen flag clicked\nforever\n    if <(level) = [19]> then\n        show\n    else\n        hide\n    end\nend\n\n@Llumetes del Jugador\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go to (jugador v)\n    if <<(current [hour v]) = [7]> or <<(current [hour v]) = [8]> or <<(current [hour v]) = [9]> or <<(current [hour v]) = [10]> or <<(current [hour v]) = [11]> or <<(current [hour v]) = [12]> or <<(current [hour v]) = [13]> or <<(current [hour v]) = [14]> or <<(current [hour v]) = [15]> or <<(current [hour v]) = [16]> or <<(current [hour v]) = [17]> or <<(current [hour v]) = [18]> or <<(current [hour v]) = [19]> or <(current [hour v]) = [20]>>>>>>>>>>>>>> then\n        hide\n    else\n        show\n    end\nend\n\n@Spinnig spike2\n\nwhen flag clicked\ngo to x: (0) y: (-81)\nforever\n    turn right (15) degrees\nend\n\nwhen flag clicked\nforever\n    if <(level) = [15]> then\n        show\n    else\n        hide\n    end\nend\n\n@Punxes\n\nwhen flag clicked\nswitch costume to (vestit1 v)\npoint in direction (90)\ngo to x: (0) y: (0)\n\nwhen I receive [següent nivell v]\nnext costume\n\n@Trampolins\n\nwhen I receive [següent nivell v]\nnext costume\n\nwhen flag clicked\nswitch costume to (vestit1 v)\npoint in direction (90)\ngo to x: (0) y: (0)\n\n@1a plataforma que es mou\n\nwhen flag clicked\ngo to x: (-12) y: (17)\nforever\n    glide (1) secs to x: (165) y: (17)\n    glide (1) secs to x: (-12) y: (17)\nend\n\nwhen flag clicked\nforever\n    if <(level) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\n@Senyals\n\nwhen flag clicked\nswitch costume to (vestit2 v)\ngo to x: (0) y: (-5)\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [2]> then\n            say [Climb the platform and get the coins!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen I receive [següent nivell v]\nnext costume\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [1]> then\n            say [Move whit arrows, WASD, or with mobile controls, and move on! ] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [3]> then\n            say [Wall jump!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [4]> then\n            say [Don't touch the spikes!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [5]> then\n            say [Jump!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [6]> then\n            say [Climb the hill!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [7]> then\n            say [A moving platform!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [8]> then\n            say [Trampoline!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [9]> then\n            say [Trampolines and spikes!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [10]> then\n            say [Enemies! Extreme Caution!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [11]> then\n            say [Avoid the enemie and jump into moving platform!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [12]> then\n            say [Spikes in exit! Avoid them!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [13]> then\n            say [An underground tunnel!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [14]> then\n            say [Many spikes!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [15]> then\n            say [A upside down wall jump!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jugador v)?> then\n        if <(costume [number v]) = [16]> then\n            say [A spinning spikes!] for <not <touching (jugador v)?>> seconds\n        end\n    end\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [17]> then\n        hide\n    end\nend\n\nif <(level) = [16]> then\n    hide\nend\n\n@Enemic\n\nwhen flag clicked\ngo to x: (193) y: (-62)\nswitch costume to (vestit3 v)\nforever\n    if <(level) = [9]> then\n        enemic\n    else\n        hide\n    end\nend\n\ndefine enemic\nif <(level) = [9]> then\n    show\n    switch costume to (vestit1 v)\n    glide (2) secs to x: (-82) y: (-63)\n    switch costume to (vestit2 v)\n    glide (2) secs to x: (193) y: (-63)\nelse\n    hide\nend\n\nwhen flag clicked\ngo to x: (193) y: (-62)\nswitch costume to (vestit3 v)\nforever\n    if <(level) = [9]> then\n        show\n    else\n        hide\n    end\nend\n\ngo to x: (137) y: (-63)\n\n@Enemic2\n\nwhen flag clicked\ngo to x: (-53) y: (-58)\nswitch costume to (vestit3 v)\nforever\n    if <(level) = [10]> then\n        enemic\n    else\n        hide\n    end\nend\n\ndefine enemic\nif <(level) = [10]> then\n    show\n    switch costume to (vestit2 v)\n    glide (0.6) secs to x: (-82) y: (88)\n    switch costume to (vestit3 v)\n    glide (0.5) secs to x: (-82) y: (-58)\nelse\n    hide\nend\n\nwhen flag clicked\ngo to x: (-53) y: (-58)\nswitch costume to (vestit3 v)\nforever\n    if <(level) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\n@1a plataforma que es mou2\n\nwhen flag clicked\ngo to x: (84) y: (-144)\nforever\n    glide (1) secs to x: (169) y: (-144)\n    glide (1) secs to x: (84) y: (-144)\nend\n\nwhen flag clicked\nforever\n    if <(level) = [10]> then\n        show\n    else\n        hide\n    end\nend\n\n@Títol\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\n\nset [ghost v] effect to (0)\n\n@Moneda 1\n\nwhen flag clicked\ngo to x: (0) y: (96)\nforever\n    if <(level) = [1]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [2]> then\n        hide\n    end\nend\n\n@Moneda 2\n\nwhen flag clicked\ngo to x: (62) y: (-47)\nforever\n    if <(level) = [2]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [3]> then\n        hide\n    end\nend\n\n@Moneda 3\n\nwhen flag clicked\ngo to x: (160) y: (77)\nforever\n    if <(level) = [3]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [4]> then\n        hide\n    end\nend\n\n@Moneda 4\n\nwhen flag clicked\ngo to x: (-57) y: (23)\nforever\n    if <(level) = [4]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [5]> then\n        hide\n    end\nend\n\n@Moneda 5\n\nwhen flag clicked\ngo to x: (-57) y: (23)\nforever\n    if <(level) = [4]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [5]> then\n        hide\n    end\nend\n\n@Moneda 6\n\nwhen flag clicked\ngo to x: (207) y: (133)\nforever\n    if <(level) = [5]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [6]> then\n        hide\n    end\nend\n\n@Moneda 7\n\nwhen flag clicked\ngo to x: (-47) y: (111)\nforever\n    if <(level) = [6]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        hide\n    end\nend\n\n@Moneda 8\n\nwhen flag clicked\ngo to x: (0) y: (15)\nforever\n    if <(level) = [7]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [8]> then\n        hide\n    end\nend\n\n@Moneda 9\n\nwhen flag clicked\ngo to x: (-53) y: (-3)\nforever\n    if <(level) = [8]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [9]> then\n        hide\n    end\nend\n\n@Moneda 10\n\nwhen flag clicked\ngo to x: (49) y: (67)\nforever\n    if <(level) = [9]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [10]> then\n        hide\n    end\nend\n\n@Moneda 13\n\nwhen flag clicked\ngo to x: (-85) y: (-51)\nforever\n    if <(level) = [10]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [11]> then\n        hide\n    end\nend\n\n@Moneda 11\n\nwhen flag clicked\ngo to x: (109) y: (3)\nforever\n    if <(level) = [11]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [12]> then\n        hide\n    end\nend\n\n@Moneda 12\n\nwhen flag clicked\ngo to x: (-217) y: (-121)\nforever\n    if <(level) = [12]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [13]> then\n        hide\n    end\nend\n\n@Moneda 15\n\nwhen flag clicked\ngo to x: (-17) y: (123)\nforever\n    if <(level) = [14]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [15]> then\n        hide\n    end\nend\n\n@Personatge2\n\n@Moneda 14\n\nwhen flag clicked\ngo to x: (15) y: (149)\nforever\n    if <(level) = [13]> then\n        show\n        stop [this script v]\n    else\n        hide\n    end\nend\n\nwhen I receive [moneda v]\nhide\nplay sound [Coin v] until done\n\nwhen flag clicked\nset [coins v] to [0]\nforever\n    if <touching (jugador v)?> then\n        broadcast (moneda v)\n        change [coins v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\nforever\n    if <(level) = [14]> then\n        hide\n    end\nend\n\n@Personatge1\n\nwhen flag clicked\nhide\nforever\n    if <(level) = [16]> then\n        show\n    end\nend\n\n@Remember to\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nset [pixelate v] effect to (150)\nset size to (40) %\ngo to x: (-140) y: (123)\nforever\n    repeat (10)\n        change [pixelate v] effect by (-15)\n        change [ghost v] effect by (-10)\n    end\n    wait (5) seconds\n    repeat (10)\n        change [pixelate v] effect by (15)\n        change [ghost v] effect by (10)\n    end\n    wait (5) seconds\nend\n\n
· Evita tocar les punxes - Aviod spikes - Evita los pinchos\n\n· Utilitza les fletxes o WASD o els controls del mòbil per moure't - Use arrows or WASD or mobile controls to move - Utilize las flechas o WASD o lo controles del móbil para moverse\n