the forest |Platformer|| mobile friendly   |#games

Instructions: Hello unknown Person!\nthis is another Platformer game!\nyou can use use the arrow keys,WASD or mobile controls to move\n\n-----------------------------------------------------------------------\n\nincludes  \n-12 levels\n-enemys\n-bouncpads\n-Water(only thing that is blue)\n-play button(very nice)\n+everything is green \n\n\n\n\n\n\n\neehhm .. 500 views? 51 likes and 41 faves?\n\n\n\n\n\n\n\ndon´t say this projects get 1000 views\n\n\n\n\n\nreal gamers kill the endboss before going to the end\ncan this project get 1000 views? would be nice

@Stage\n\n@BLANK\n\n@player\n\nwhen I receive [setup v]\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\ngo to x: (-220) y: (-50)\nshow\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\ngo to x: (round (x position)) y: (round (y position))\nswitch costume to (fade v)\nrepeat (10)\n    change [ghost v] effect by (15)\n    change size by (-5)\nend\ndelete this clone\n\nwhen I receive [play v]\nbroadcast (restart v)\nforever\n    set size to (100) %\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-2)\n        switch costume to (left v)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (2)\n        switch costume to (right v)\n    end\n    set [x v] to ((x) * (0.8))\n    change x by (x)\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n            if <(x) > [0]> then\n                set [x v] to [-7]\n            else\n                set [x v] to [7]\n            end\n            set [y v] to [15]\n        else\n            set [x v] to [0]\n        end\n    end\n    if <touching (water v)?> then\n        change [y v] by (-.2)\n    else\n        change [y v] by (-1)\n    end\n    change y by (y)\n    if <touching (level v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching (water v)?> then\n        set [ghost v] effect to (30)\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>> then\n            set [y v] to [2]\n        end\n    else\n        if <<touching (level v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>> then\n            set [y v] to [15]\n        end\n        set [ghost v] effect to (0)\n    end\n    change y by (1)\n    set rotation style [all around v]\n    point in direction (((x) * (1.2)) + (90))\n    create clone of (_myself_ v)\n    if <(x position) > [235]> then\n        change [level v] by (1)\n        broadcast (next level v) and wait\n    end\n    if <touching (dangers v)?> then\n        repeat (20)\n            change [pixelate v] effect by (10)\n            change [mosaic v] effect by (0.1)\n            change [pitch v] effect by (-5)\n        end\n        broadcast (next level v) and wait\n        broadcast (restart v)\n    end\n    if <touching (bouncpads v)?> then\n        start sound [Jump v]\n        set [y v] to [20]\n    end\n    set [pitch v] effect to (0)\nend\n\nwhen I receive [next level v]\nbroadcast (restart v)\n\nwhen I receive [restart v]\nclear graphic effects\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-220) y: (-50)\nshow\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    play sound [bensound-creativeminds v] until done\nend\n\nwhen I receive [enemy kill v]\nset [y v] to [15]\n\n@Level\n\nwhen I receive [play v]\nforever\n    go to x: (0) y: (0)\n    show\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide\n\n@dangers\n\nwhen I receive [play v]\nforever\n    go to x: (0) y: (0)\n    show\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide\n\n@Enemy\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nbroadcast (restart v)\nif  then\n    delete this clone\nend\nif <(Level) = [6]> then\n    clone at x [150] y [-80]\nend\nif <(Level) = [7]> then\n    clone at x [150] y [-80]\nend\nif <(Level) = [8]> then\n    clone at x [180] y [-85]\n    clone at x [0] y [-85]\nend\nif <(Level) = [9]> then\n    clone at x [-220] y [165]\nend\n\nwhen I start as a clone\nshow\nset size to (100) %\nforever\n    if <([x position v] of [player v]) < (x position)> then\n        change [x v] by (-1)\n        switch costume to (left v)\n    end\n    if <(x position) < ([x position v] of [player v])> then\n        change [x v] by (1)\n        switch costume to (right v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <(([y position v] of [player v]) - (50)) > (y position)> then\n            if <(x) > [0]> then\n                set [x v] to [-7]\n            else\n                set [x v] to [7]\n            end\n            set [y v] to [15]\n        else\n            set [x v] to [0]\n        end\n    end\n    if <touching (water v)?> then\n        change [y v] by (-.2)\n    else\n        change [y v] by (-1)\n    end\n    change y by (y)\n    if <touching (level v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching (water v)?> then\n        set [ghost v] effect to (30)\n        if <(([y position v] of [player v]) - (100)) > (y position)> then\n            set [y v] to [2]\n        end\n    else\n        if <<(([y position v] of [player v]) - (200)) > (y position)> and <touching (level v)?>> then\n            set [y v] to [10]\n        end\n        set [ghost v] effect to (0)\n    end\n    change y by (1)\n    set rotation style [all around v]\n    point in direction (((x) * (1.2)) + (90))\n    if <touching (dangers v)?> then\n        delete this clone\n    end\n    if <touching (bouncpads v)?> then\n        start sound [Jump v]\n        set [y v] to [15]\n    end\n    set [pitch v] effect to (0)\n    change y by (-1)\n    if <<<touching (player v)?> and <touching (level v)?>> and <(([y position v] of [player v]) - (10)) > (y position)>> then\n        switch costume to (join (costume [name v]) [2])\n        point in direction (90)\n        broadcast (enemy kill v)\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        delete this clone\n    end\n    change y by (1)\n    if <<touching (player v)?> and <not <(([y position v] of [player v]) - (10)) > (y position)>>> then\n        broadcast (restart v)\n        broadcast (next level v) and wait\n        delete this clone\n    end\nend\n\ndefine clone at x (x) y (y)\nhide\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\n@Water\n\nwhen I receive [play v]\nforever\n    go to x: (0) y: (0)\n    go to [back v] layer\n    show\n    switch costume to (Level)\n    set y to ((([sin v] of ((timer) * (50)) ) * (15)) + (0))\nend\n\nwhen flag clicked\nhide\n\n@play button\n\nwhen flag clicked\nshow\ngo to x: (-500) y: (0)\nrepeat (20)\n    change x by (((20) - (x position)) / (3))\nend\nforever\n    go to [back v] layer\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (5))\n        set [brightness v] effect to (5)\n    else\n        change size by (((100) - (size)) / (5))\n    end\n    set [brightness v] effect to (0)\nend\n\nwhen this sprite clicked\nhide\nbroadcast (setup v) and wait\nbroadcast (Play v)\nstop all sounds\nstop [other scripts in sprite v]\nstop [this script v]\n\n@menu 2\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    set size to ((([sin v] of ((50) * (timer)) ) * (10)) + (100)) %\nend\n\nwhen I receive [play v]\nhide\n\n@dekorations back\n\nwhen I receive [play v]\nforever\n    go to x: (0) y: (0)\n    go to [back v] layer\n    show\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide\n\n@dekorations front\n\nwhen I receive [play v]\nforever\n    go to x: (0) y: (0)\n    go to [front v] layer\n    show\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide\n\n@bouncpads\n\nwhen I receive [play v]\nforever\n    go to x: (0) y: (0)\n    show\n    switch costume to (Level)\nend\n\nwhen flag clicked\nhide\n\n@clouds\n\nwhen flag clicked\nwait (1) seconds\nforever\n    hide\n    go to [back v] layer\n    set y to (pick random (-100) to (170))\n    if <(pick random (1) to (2)) = [1]> then\n        set x to (-99999)\n    else\n        set x to (99999)\n    end\n    create clone of (_myself_ v)\n    wait (1) seconds\nend\n\nwhen I start as a clone\nshow\nset size to (pick random (70) to (120)) %\nswitch costume to (pick random (1) to (2))\nset [ghost v] effect to (pick random (10) to (30))\nif <(x position) < [0]> then\n    repeat until <(x position) > [250]>\n        go to [back v] layer\n        change x by (pick random (2) to (5))\n    end\nelse\n    repeat until <(x position) < [-250]>\n        go to [back v] layer\n        change x by (pick random (-2) to (-5))\n    end\nend\ndelete this clone\n\n@bossfight\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nbroadcast (restart v)\nif  then\n    delete this clone\nend\nif <(Level) = [11]> then\n    clone at x [175] y [-50]\nend\n\nwhen I start as a clone\nset [health v] to [100]\nshow\nset size to (200) %\nforever\n    if <([x position v] of [player v]) < (x position)> then\n        change [x v] by (-.5)\n        switch costume to (left v)\n    end\n    if <(x position) < ([x position v] of [player v])> then\n        change [x v] by (0.5)\n        switch costume to (right v)\n    end\n    set [x v] to ((x) * (0.85))\n    change x by (x)\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <(([y position v] of [player v]) - (50)) > (y position)> then\n            if <(x) > [0]> then\n                set [x v] to [-15]\n            else\n                set [x v] to [15]\n            end\n            set [y v] to [17]\n        else\n            set [x v] to [0]\n        end\n    end\n    if <touching (water v)?> then\n        change [y v] by (-.2)\n    else\n        change [y v] by (-1)\n    end\n    change y by (y)\n    if <touching (level v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching (water v)?> then\n        set [ghost v] effect to (30)\n        if <(([y position v] of [player v]) - (100)) > (y position)> then\n            set [y v] to [2]\n        end\n    else\n        if <<(([y position v] of [player v]) - (200)) > (y position)> and <touching (level v)?>> then\n            set [y v] to [15]\n        end\n        set [ghost v] effect to (0)\n    end\n    change y by (1)\n    set rotation style [all around v]\n    point in direction (((x) * (1.2)) + (90))\n    if <touching (dangers v)?> then\n        delete this clone\n    end\n    if <touching (bouncpads v)?> then\n        start sound [Jump v]\n        set [y v] to [15]\n    end\n    set [pitch v] effect to (0)\n    change y by (-1)\n    if <<<touching (player v)?> and <touching (level v)?>> and <(([y position v] of [player v]) - (10)) > (y position)>> then\n        change [health v] by (-10)\n        change size by (-10)\n        broadcast (enemy kill v) and wait\n        if <(health) < [1]> then\n            switch costume to (join (costume [name v]) [2])\n            point in direction (90)\n            repeat (20)\n                change [ghost v] effect by (5)\n            end\n            delete this clone\n        end\n    end\n    change y by (1)\n    if <<touching (player v)?> and <not <(([y position v] of [player v]) - (10)) > (y position)>>> then\n        set [health v] to [100]\n        broadcast (restart v)\n        broadcast (next level v) and wait\n        delete this clone\n    end\nend\n\ndefine clone at x (x) y (y)\nhide\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\ndelete this clone\n\n@best thumbnail ever made in the universe\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    go to [front v] layer\n    show\nend\n\n