A Platformer In The Mountains 
@Stage\n\nwhen flag clicked\nswitch backdrop to (level 1 v)\n\n@Player\n\nwhen flag clicked\nset [collected v] to [0]\nswitch costume to (player v)\nforever\n    set [player position v] to (x position)\nend\n\nwhen I receive [next v]\nhide\nstop all sounds\n\nwhen flag clicked\nshow\nwait (5) seconds\nbroadcast (Clouds v)\nswitch costume to (player v)\nswitch backdrop to (level 1 v)\nReset Player Position\nset [hearts v] to [3]\nset [force walk v] to [3]\nset [force gravity v] to [-1.5]\nset [force jump v] to [17]\nset [player speed x v] to [0]\nforever\n    Check Player Gravity\n    Check Player Walk\n    Check Player Touching\nend\n\ndefine move out (dx) (dy)\nrepeat until <not <<touching color (#33df7b)?> or <<touching color (#357a44)?> or <<touching color (#735532)?> or <<touching color (#3c3c3c)?> or <touching (shop v)?>>>>>>\n    change x by (dx)\n    change y by (dy)\nend\n\ndefine Check Player Walk\nif <<<mouse down?> and <(x position) > (mouse x)>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n    change [player speed x v] by ((-1) * (FORCE WALK))\nend\nif <<<mouse down?> and <(x position) < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n    change [player speed x v] by ((1) * (FORCE WALK))\nend\nset [player speed x v] to ((Player Speed X) * (0.7))\nchange x by (Player Speed X)\nif <(Player Speed X) > [0]> then\n    move out [-1] [0]\nelse\n    move out [1] [0]\nend\n\ndefine Check Player Touching\nif <touching (portal v)?> then\n    broadcast (Complete level v)\n    wait (0.1) seconds\n    wait (2.4) seconds\n    next backdrop\n    Reset Player Position\n    change [level v] by (1)\nend\nif <<touching color (#9966ff)?> or <touching color (#6946af)?>> then\n    set [player speed y v] to [24]\nend\nif <<touching (danger v)?> or <touching (opponet v)?>> then\n    play sound [Boing v] until done\n    change [hearts v] by (-1)\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    broadcast (player - dead v)\n    Reset Player Position\nend\n\ndefine Reset Player Position\nclear graphic effects\ngo to x: (-200) y: (-71)\n\ndefine Check Player Gravity\nchange [player speed y v] by (FORCE GRAVITY)\nchange y by (Player Speed Y)\nif <<touching color (#33df7b)?> or <<touching color (#357a44)?> or <<touching color (#735532)?> or <<touching color (#3c3c3c)?> or <touching (shop v)?>>>>> then\n    if <(Player Speed Y) > [0]> then\n        move out [0] [-1]\n        set [player speed y v] to [0]\n    else\n        move out [0] [1]\n        if <<<mouse down?> and <[20] < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [player speed y v] to (FORCE JUMP)\n        else\n            set [player speed y v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nset volume to (100) %\nforever\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <[20] < (mouse y)>>>> then\n        play sound [Jump v] until done\n        wait (0.4) seconds\n    end\nend\n\nwhen backdrop switches to [level 10 v]\nif <(COLLECTED) = [16]> then\n    wait (3) seconds\n    say [You collected all the coins. Good job!] for (4) seconds\nelse\n    wait (3) seconds\n    say [You didn't collect all the coins. Press the green flag to try it again.] for (5) seconds\nend\n\nwhen I receive [jump boost v]\nset [force jump v] to [22]\n\nwhen I receive [other look v]\nswitch costume to (kostüm1 v)\n\nwhen I receive [stop v]\nhide\n\nwhen I receive [shop v]\nhide\n\nwhen I receive [button v]\nshow\n\nwhen I receive [shop v]\nhide\nReset Player Position\n\n@Opponet\n\nwhen flag clicked\nset size to (30) %\ngo to x: (150) y: (-63)\nhide\n\nwhen backdrop switches to [level 11 v]\nbroadcast (opponet - start v)\n\nwhen backdrop switches to [level 7 v]\nhide\n\nwhen I receive [button v]\nhide\n\nwhen I receive [shop v]\nhide\n\nwhen I receive [stop v]\nhide\n\nwhen I receive [opponet - start v]\nshow\nif <(backdrop [number v]) = [7]> then\n    forever\n        if <(open) = [1]> then\n            go to x: (150) y: (-63)\n            hide\n        else\n            show\n            wait (0.1) seconds\n            glide (2) secs to x: (Player Position) y: (-63)\n        end\n        if <(backdrop [number v]) = [8]> then\n            hide\n            stop [this script v]\n        end\n    end\nelse\n    hide\nend\n\nwhen I receive [player - dead v]\nstop [other scripts in sprite v]\nglide (1) secs to x: (150) y: (-63)\nif <(backdrop [number v]) = [7]> then\n    forever\n        if <(open) = [1]> then\n            go to x: (150) y: (-63)\n            hide\n        else\n            show\n            wait (0.1) seconds\n            glide (2) secs to x: (Player Position) y: (-63)\n        end\n        if <(backdrop [number v]) = [8]> then\n            hide\n            stop [this script v]\n        end\n    end\nelse\n    hide\nend\n\n@Music Button\n\nwhen flag clicked\nhide\nswitch costume to (c1 v)\nwait (5.5) seconds\nshow\nset [music v] to [on]\nbroadcast (music - on v)\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        if <(music) = [off]> then\n            repeat (10)\n                set [music v] to [on]\n                switch costume to (c1 v)\n            end\n            wait (0.5) seconds\n        end\n    end\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        if <(music) = [on]> then\n            repeat (10)\n                set [music v] to [off]\n                switch costume to (c2 v)\n            end\n            wait (0.5) seconds\n        end\n    end\nend\n\nwhen I receive [music - loop v]\nif <touching (mouse-pointer v)?> then\n    set size to (90) %\nelse\n    set size to (80) %\nend\n\nwhen I receive [stop v]\nhide\n\n@Shop\n\nwhen flag clicked\nhide\nwait (5.5) seconds\nbroadcast (button v) and wait\n\nwhen I receive [close shop v]\nhide\nswitch costume to (button v)\nbroadcast (button v)\nset [open v] to [0]\n\nwhen I receive [button v]\nset [open v] to [0]\nswitch costume to (button v)\ngo to x: (-190) y: (-154)\nshow\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        repeat (1)\n            set [open v] to [1]\n            broadcast (shop v)\n            create clone of (_myself_ v)\n            switch costume to (shop v)\n            go to x: (0) y: (-240)\n            go to x: (0) y: (0)\n            stop [this script v]\n        end\n    end\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [stop v]\nhide\n\nwhen I receive [stop v]\nhide\n\nwhen I receive [button v]\nset [open v] to [0]\nswitch costume to (button v)\ngo to x: (-190) y: (-154)\nshow\n\n@Clouds\n\nwhen I start as a clone\nset size to (pick random (60) to (90)) %\nset [ghost v] effect to (pick random (10) to (40))\ngo to [back v] layer\nshow\ngo to x: (-290) y: (pick random (140) to (85))\nrepeat until <[280] < (x position)>\n    change x by (2)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [clouds v]\nforever\n    repeat (pick random (2) to (4))\n        create clone of (_myself_ v)\n        wait (1) seconds\n    end\n    wait (pick random (1) to (3)) seconds\nend\n\n@Next\n\nwhen I receive [complete level v]\npoint in direction (90)\ngo to [front v] layer\nshow\nswitch costume to (screen v)\ncreate clone of (_myself_ v)\ngo to x: (0) y: (-195)\nrepeat (10)\n    change y by (15)\nend\nstart sound [Teleport2 v]\nswitch costume to (next v)\ncreate clone of (_myself_ v)\nswitch costume to (screen v)\nwait (2) seconds\nrepeat (10)\n    change y by (-15)\nend\nhide\nstop [this script v]\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    go to x: (0) y: (195)\n    point in direction (-90)\n    repeat (10)\n        change y by (-15)\n    end\n    wait (2) seconds\n    repeat (10)\n        change y by (15)\n    end\n    delete this clone\nend\nif <(costume [number v]) = [2]> then\n    go to [front v] layer\n    go to x: (0) y: (0)\n    show\n    wait (2) seconds\n    delete this clone\nend\n\n@Danger\n\nwhen backdrop switches to [level 4 v]\nhide\nwait (0.1) seconds\nshow\nswitch costume to (lava v)\ngo to x: (108) y: (-151)\nrepeat until <(LEVEL) = [11]>\n    glide (1.5) secs to x: (108) y: (-190)\n    glide (1.5) secs to x: (108) y: (-161)\nend\nhide\nstop [this script v]\n\nwhen flag clicked\nshow\nswitch backdrop to (level 1 v)\nswitch costume to (spike v)\ngo to x: (52) y: (-70)\ncreate clone of (_myself_ v)\ngo to x: (80) y: (-70)\ncreate clone of (_myself_ v)\ngo to x: (108) y: (-70)\ncreate clone of (_myself_ v)\n\nwhen I receive [next v]\nwait (1) seconds\nhide\ndelete this clone\n\nwhen backdrop switches to [level 2 v]\nhide\nwait (0.1) seconds\nshow\ngo to x: (5) y: (-16)\n\nwhen I receive [complete level v]\nwait (1) seconds\nhide\ndelete this clone\n\nwhen backdrop switches to [level 3 v]\nhide\nwait (0.1) seconds\nshow\ngo to x: (5) y: (-16)\ncreate clone of (_myself_ v)\ngo to x: (47) y: (-70)\ncreate clone of (_myself_ v)\ngo to x: (97) y: (-70)\ncreate clone of (_myself_ v)\ngo to x: (138) y: (-4)\ncreate clone of (_myself_ v)\n\nwhen backdrop switches to [level 5 v]\nhide\n\nwhen backdrop switches to [level 6 v]\nswitch costume to (spike v)\nshow\ngo to x: (-50) y: (-70)\ncreate clone of (_myself_ v)\ngo to x: (-22) y: (-70)\ncreate clone of (_myself_ v)\ngo to x: (6) y: (-70)\ncreate clone of (_myself_ v)\ngo to x: (34) y: (-70)\ncreate clone of (_myself_ v)\ngo to x: (62) y: (-70)\ncreate clone of (_myself_ v)\ngo to x: (90) y: (-70)\nhide\n\nwhen backdrop switches to [level 9 v]\nhide\nwait (0.1) seconds\nshow\ngo to x: (-95) y: (-72)\ncreate clone of (_myself_ v)\ngo to x: (5) y: (-15)\ncreate clone of (_myself_ v)\ngo to x: (104) y: (-72)\ncreate clone of (_myself_ v)\nhide\n\nwhen backdrop switches to [level 10 v]\nhide\n\nwhen I receive [stop v]\nhide\n\nwhen backdrop switches to [level 11 v]\nhide\n\n@Portal\n\nwhen I receive [next v]\ndelete this clone\n\nwhen I receive [open portal v]\nswitch costume to (open v)\n\nwhen flag clicked\ngo to x: (210) y: (-55)\nset size to (80) %\nshow\n\nwhen backdrop switches to [level 10 v]\nhide\n\nwhen I receive [stop v]\nhide\n\n@Hidden Wall\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [level 10 v]\nwait (0.1) seconds\nshow\nforever\n    if <touching (player v)?> then\n        set [color v] effect to (0)\n        set [brightness v] effect to (20)\n        set [ghost v] effect to (27)\n        say [Wow, you found the secret. Concratulations!] for (1) seconds\n    else\n        set [color v] effect to (2)\n        set [brightness v] effect to (0)\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [stop v]\nhide\n\n@Intro\n\nwhen I start as a clone\nif <(Clone) = [Particles]> then\n    switch costume to (pick random (29) to (31))\n    set size to (pick random (50) to (150)) %\n    set [ghost v] effect to (pick random (0.) to (5.))\n    set [brightness v] effect to (pick random (-25.) to (100.))\n    go to x: (0) y: (0)\n    point in direction (pick random (-180) to (180))\n    set [x v] to (pick random (10.) to (12.))\n    set [i v] to (pick random (2.) to (9.))\n    go to [front v] layer\n    show\n    repeat until <touching (_edge_ v)?>\n        move (X) steps\n        change y by (I)\n        change [i v] by (-0.4)\n        set [x v] to ((X) * (0.95))\n    end\n    delete this clone\nend\n\ndefine Particles\nset [clone v] to [Particles]\nrepeat (50)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(Clone) = [Name]> then\n    switch costume to (name v)\n    set size to (50) %\n    clear graphic effects\n    go to [front v] layer\n    go to x: (0) y: (-100)\n    point in direction (0)\n    show\n    repeat (50)\n        go to [front v] layer\n        change size by (((130) - (size)) / (8))\n        change y by (((0) - (y position)) / (8))\n        turn right (((90) - (direction)) / (8)) degrees\n    end\n    set [i v] to [-1]\n    repeat (10)\n        go to [front v] layer\n        change size by (I)\n        change [i v] by (join [-] (([abs v] of (I) ) / (2)))\n        turn right (I) degrees\n    end\n    switch costume to (logo v)\n    repeat (40)\n        go to [front v] layer\n        change size by (((130) - (size)) / (8))\n        turn right (((90) - (direction)) / (8)) degrees\n    end\n    set [i v] to [-1]\n    repeat (20)\n        go to [front v] layer\n        change size by ((I) / (3))\n        change [i v] by (join [-] (([abs v] of (I) ) / (4)))\n        turn right ((I) / (-3)) degrees\n    end\n    delete this clone\nend\n\nwhen flag clicked\nreset timer\nhide\nstart sound [Prismo - Stronger v]\nset volume to (100) %\nclear graphic effects\nset size to (100) %\npoint in direction (90)\ngo to x: (0) y: (0)\nset [clone v] to [Square]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [clone v] to [Name]\ncreate clone of (_myself_ v)\nwait (0) seconds\nrepeat (2)\n    Spiral spline explosion\n    Particles\n    Rect\n    Spiral spline explosion\nend\nCircle\nrepeat (4)\n    Spiral spline explosion\n    Particles\n    Rect\n    Spiral spline explosion\nend\nCircle\nrepeat (2)\n    Spiral spline explosion\n    Rect\n    Spiral spline explosion\nend\n\nwhen I start as a clone\nif <(Clone) = [Square]> then\n    clear graphic effects\n    show\n    set size to (0) %\n    go to x: (0) y: (300)\n    point in direction (0)\n    switch costume to (square v)\n    repeat (20)\n        change size by (((100) - (size)) / (5))\n        turn right (((90) - (direction)) / (5)) degrees\n        change y by (((0) - (y position)) / (5))\n    end\n    point in direction (90)\n    repeat (12)\n        next costume\n    end\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((2000) - (size)) / (5))\n        switch costume to (square13 v)\n    end\n    wait (3) seconds\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((100) - (size)) / (5))\n        switch costume to (square13 v)\n    end\n    repeat (12)\n        switch costume to ((costume [number v]) - (1))\n        change size by (-5)\n    end\n    set [i v] to [-1]\n    repeat (20)\n        change size by ((I) / (3))\n        change [i v] by (join [-] (([abs v] of (I) ) / (4)))\n        turn right ((I) / (-3)) degrees\n        change y by ((I) / (3))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone) = [Bursts]> then\n    switch costume to (lineexplosion1 v)\n    clear graphic effects\n    go to [front v] layer\n    go [backward v] (1) layers\n    set [i v] to (pick random (1) to (3))\n    if <(I) = [1]> then\n        set [brightness v] effect to (100)\n    else\n        if <(I) = [2]> then\n            set [brightness v] effect to (25)\n        else\n            set [brightness v] effect to (-25)\n        end\n    end\n    show\n    set [i v] to [20]\n    Animate   x: [0] y: [0] size: [0] rotate: (pick random (-180) to (180)) speed: [1]\n    repeat (2)\n        set [i v] to ((I) * (0.9))\n        move (I) steps\n        Size: [100] speed: [5]\n    end\n    repeat (10)\n        set [i v] to ((I) * (0.9))\n        move (I) steps\n        Size: [100] speed: [5]\n        change [ghost v] effect by (10)\n        next costume\n    end\n    delete this clone\nend\n\ndefine Animate   x: (x) y: (y) size: (s) rotate: (r) speed: (s)\nchange x by (((round (x)) - (round (x position))) / (s))\nchange y by (((round (y)) - (round (y position))) / (s))\nchange size by (((round (s)) - (round (size))) / (s))\nturn right (((round (r)) - (round (direction))) / (s)) degrees\n\ndefine Spiral spline explosion\nset [clone v] to [Bursts]\nrepeat (5)\n    create clone of (_myself_ v)\nend\n\ndefine Size: (s) speed: (spd)\nchange size by (((round (s)) - (round (size))) / (spd))\n\ndefine Rect\nset [clone v] to [Rect]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(Clone) = [Rect]> then\n    clear graphic effects\n    show\n    set size to (0) %\n    go to (random position v)\n    point in direction (90)\n    switch costume to (background rect v)\n    repeat until <(round (size)) = [300]>\n        change size by (((300) - (size)) / (15))\n        change [ghost v] effect by (4)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone) = [Circle]> then\n    clear graphic effects\n    set [brightness v] effect to (100)\n    go to [front v] layer\n    go [backward v] (2) layers\n    show\n    set size to (0) %\n    go to x: (0) y: (0)\n    point in direction (90)\n    switch costume to (circle explosion 1 v)\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((300) - (size)) / (5))\n        switch costume to (circle explosion 1 v)\n    end\n    delete this clone\nend\n\ndefine Circle\nset [clone v] to [Circle]\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nset [clone v] to [Circle 2]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(Clone) = [Circle 2]> then\n    clear graphic effects\n    set [brightness v] effect to (0)\n    go to [front v] layer\n    go [backward v] (1) layers\n    show\n    set size to (0) %\n    go to x: (0) y: (0)\n    point in direction (90)\n    switch costume to (circle explosion 1 v)\n    repeat (20)\n        switch costume to (blank v)\n        change size by (((300) - (size)) / (5))\n        switch costume to (circle explosion 1 v)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nplay sound [mixkit-cinematic-transition-brass-hum-2282 \(1\) \(1\) v] until done\n\n@Slogan\n\nwhen flag clicked\nhide\n\n@Hearts\n\nwhen flag clicked\nhide\nwait (6) seconds\nshow\ngo to x: (-207) y: (150)\nset [hearts v] to [3]\nswitch costume to (kostüm2 v)\nforever\n    if <(hearts) = [6]> then\n        switch costume to (kostüm4 v)\n    end\n    if <(hearts) = [3]> then\n        switch costume to (heart3 v)\n    end\n    if <(hearts) = [5]> then\n        switch costume to (kostüm3 v)\n    end\n    if <(hearts) = [4]> then\n        switch costume to (kostüm2 v)\n    end\n    if <(hearts) = [2]> then\n        switch costume to (heart2 v)\n    end\n    if <(hearts) = [1]> then\n        switch costume to (heart v)\n    end\n    if <(hearts) = [0]> then\n        switch costume to (kostüm1 v)\n        switch backdrop to (bühnenbild1 v)\n        broadcast (stop v)\n        stop [all v]\n    end\nend\n\n@Money\n\nwhen flag clicked\nhide\nwait (5.5) seconds\ngo to x: (150) y: (143)\nshow\n\nwhen I receive [stop v]\nhide\n\nwhen I receive [next v]\nhide\n\n@Text\n\nwhen flag clicked\nset [color v] effect to (100)\nhide\nwait (5.5) seconds\nshow\nswitch costume to (x0 v)\nforever\n    if <(coins) = [0]> then\n        switch costume to (x0 v)\n    end\n    if <(coins) = [1]> then\n        switch costume to (x1 v)\n    end\n    if <(coins) = [2]> then\n        switch costume to (x2 v)\n    end\n    if <(coins) = [3]> then\n        switch costume to (x3 v)\n    end\n    if <(coins) = [4]> then\n        switch costume to (x4 v)\n    end\n    if <(coins) = [5]> then\n        switch costume to (x5 v)\n    end\n    if <(coins) = [6]> then\n        switch costume to (x6 v)\n    end\n    if <(coins) = [7]> then\n        switch costume to (x7 v)\n    end\n    if <(coins) = [8]> then\n        switch costume to (x8 v)\n    end\n    if <(coins) = [9]> then\n        switch costume to (x9 v)\n    end\n    if <(coins) = [10]> then\n        switch costume to (x10 v)\n    end\n    if <(coins) = [11]> then\n        switch costume to (x11 v)\n    end\n    if <(coins) = [12]> then\n        switch costume to (x12 v)\n    end\n    if <(coins) = [13]> then\n        switch costume to (x13 v)\n    end\n    if <(coins) = [14]> then\n        switch costume to (x14 v)\n    end\n    if <(coins) = [15]> then\n        switch costume to (x15 v)\n    end\n    if <(coins) = [16]> then\n        switch costume to (x16 v)\n    end\n    if <(coins) = [17]> then\n        switch costume to (x17 v)\n    end\n    if <(coins) = [18]> then\n        switch costume to (x18 v)\n    end\n    if <(coins) = [19]> then\n        switch costume to (x19 v)\n    end\n    if <(coins) = [20]> then\n        switch costume to (x20 v)\n    end\nend\n\nwhen I receive [next v]\nhide\n\nwhen I receive [stop v]\nhide\n\n@Collectables\n\nwhen backdrop switches to [level 4 v]\nshow\ngo to x: (105) y: (-10)\n\nwhen flag clicked\nhide\nwait (5) seconds\nshow\nset [collected v] to [0]\nset [coins v] to [0]\nset [level v] to [1]\nforever\n    if <touching (player v)?> then\n        hide\n        play sound [Collect v] until done\n        change [coins v] by (1)\n        change [collected v] by (1)\n    end\nend\n\nwhen I receive [complete level v]\nhide\ndelete this clone\n\nwhen backdrop switches to [level 1 v]\ngo to x: (-10) y: (-70)\ncreate clone of (_myself_ v)\ngo to x: (20) y: (-70)\ncreate clone of (_myself_ v)\n\nwhen I receive [next v]\nhide\ndelete this clone\n\nwhen I start as a clone\nforever\n    if <touching (player v)?> then\n        hide\n        play sound [Collect v] until done\n        change [collected v] by (1)\n        change [coins v] by (1)\n    end\nend\n\nwhen backdrop switches to [level 2 v]\nshow\ngo to x: (5) y: (20)\n\nwhen backdrop switches to [level 7 v]\nshow\ngo to x: (-100) y: (-72)\nrepeat (9)\n    change x by (28)\n    create clone of (_myself_ v)\nend\n\nwhen backdrop switches to [level 9 v]\nshow\ngo to x: (-40) y: (-16)\ncreate clone of (_myself_ v)\ngo to x: (50) y: (-16)\ncreate clone of (_myself_ v)\n\nwhen backdrop switches to [level 10 v]\nwait (2) seconds\ngo to x: (195) y: (-50)\nshow\n\nwhen I receive [stop v]\nhide\ndelete this clone\n\nwhen backdrop switches to [level 11 v]\nhide\ndelete this clone\n\n@Closer2\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen I receive [shop v]\nshow\ngo to x: (101) y: (90)\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        repeat (1)\n            broadcast (close shop v)\n        end\n        go to x: (101) y: (-200)\n    end\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen I receive [stop v]\nhide\n\n@Sign1\n\nwhen flag clicked\nhide\n\nwhen I receive [shop v]\ngo to x: (108) y: (26)\nshow\nswitch costume to (c1 v)\ngo to [front v] layer\nforever\n    if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(coins) > [5]>> then\n        switch costume to (c2 v)\n        change [coins v] by (-5)\n        change [item clicked v] by (1)\n        change [hearts v] by (1)\n        broadcast (intem1 v)\n        stop [this script v]\n    end\n    if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(coins) < [5]>> then\n        say [Not enough money.] for (1) seconds\n    end\n    if <touching (mouse-pointer v)?> then\n        set size to (100) %\n    else\n        set size to (90) %\n    end\nend\n\nwhen I receive [close shop v]\ngo to x: (108) y: (-200)\nhide\n\nwhen I receive [stop v]\nhide\n\nwhen I receive [intem1 v]\nforever\n    switch costume to (c2 v)\n    set size to (90) %\nend\n\n@Sign2\n\nwhen flag clicked\nhide\n\nwhen I receive [shop v]\ngo to x: (108) y: (-22)\nshow\nswitch costume to (c1 v)\ngo to [front v] layer\nforever\n    if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(coins) > [10]>> then\n        switch costume to (c2 v)\n        change [coins v] by (-10)\n        broadcast (item2 v)\n        broadcast (other look v)\n        change [item clicked 2 v] by (1)\n        stop [this script v]\n    end\n    if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(coins) < [10]>> then\n        say [Not enough money.] for (1) seconds\n    end\n    if <touching (mouse-pointer v)?> then\n        set size to (100) %\n    else\n        set size to (90) %\n    end\nend\n\nwhen I receive [close shop v]\ngo to x: (108) y: (-200)\nhide\n\nwhen I receive [stop v]\nhide\n\nwhen I receive [item2 v]\nforever\n    switch costume to (c2 v)\n    set size to (90) %\nend\n\n@Sign3\n\nwhen flag clicked\nhide\n\nwhen I receive [shop v]\ngo to x: (108) y: (-73)\nshow\nswitch costume to (c1 v)\ngo to [front v] layer\nforever\n    if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(coins) > [10]>> then\n        switch costume to (c2 v)\n        change [coins v] by (-10)\n        broadcast (item 3 v)\n        broadcast (jump boost v)\n        change [item clicked 3 v] by (1)\n        stop [this script v]\n    end\n    if <<<mouse down?> and <touching (mouse-pointer v)?>> and <(coins) < [10]>> then\n        say [Not enough money.] for (1) seconds\n    end\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (90) %\n    end\nend\n\nwhen I receive [close shop v]\ngo to x: (96) y: (-200)\nhide\n\nwhen I receive [stop v]\nhide\n\nwhen I receive [item 3 v]\nforever\n    switch costume to (c2 v)\n    set size to (90) %\nend\n\n@Music\n\nwhen flag clicked\nwait (5.5) seconds\nforever\n    play sound [Treenan v] until done\nend\n\nwhen flag clicked\nwait (5.5) seconds\nforever\n    if <(music) = [on]> then\n        set volume to (100) %\n    end\n    if <(music) = [off]> then\n        set volume to (0) %\n    end\nend\n\n
-------------------------------------------------------------------------\nPlease ❤️ and ⭐, it was hard work. Make sure to follow me for more stuff.\n-------------------------------------------------------------------------\nInstructions:\n• Move the player with wasd or arrow keys (mobile \n   friendly)\n• Spikes and lava are dangerous\n• Purple is bouncy\n• Collect all the coins\n-------------------------------------------------------------------------\nAbout:\n• I like to make platformer and improve my skills with \n   coding and painting \n• There are 10 levels and an easter egg (in the last \n   level)\n• If there is a bug, then please let me know it in the \n   comments\n-------------------------------------------------------------------------\nUpdates:\n• 30.06.2021 Fixed bugs in the music, danger and coin \n   sprite\n• 19.06.2021 Added a new shop system\n• 15.06.2021 Fixed player/cow bugs\n• 10.06.2021 Added a cow\n• 07.07.2021 Fixed the background\n• 07.06.2021 Fixed a bug in the shop\n• 07.06.2021 Fixed the lava\n• 06.06.2021 Fixed bugs in the shop\n• 06.06.2021 Fixed bugs\n• 06.06.2021 Added a shop\n• 04.06.2021 Added spikes\n• 21.05.2021 Started making the game\n-------------------------------------------------------------------------