Nice, A Mobile Friendly Platformer! #games #all

Instructions: NEW GAMES EVERY WEDNESDAY AND SUNDAY\n\n--Nice A Mobile-Friendly Platformer--\n\n---INSTRUCTIONS---\nUse WASD, →↑←, or mobile controls \n\n---GAME DESCRIPTIONS---\n-Play through all 11 levels while doing obstacles, spikes, saws, and lava. reach the green flag, it might be hard to spot so look closely! You can skip any level you want BUT try yourself to beat the levels. This is my best platformer by far, with grass, trees, flowers, shadows, tips, text, etc.! \n\n

@Stage\n\nwhen flag clicked\nforever\n    if <(level) = [10]> then\n        switch backdrop to (2 v)\n    else\n        switch backdrop to (1 v)\n    end\nend\n\n@player\n\nwhen I start as a clone\nswitch costume to (trail v)\n\nchange [color v] effect by (10)\n\nchange size by (-2)\nchange [ghost v] effect by (10)\n\ndelete this clone\n\nwhen I receive [restart v]\nstart sound [Crunch v]\nset rotation style [left-right v]\nset [x v] to [0]\nset [y v] to [0]\nclear graphic effects\nrepeat (10)\n    change y by (6)\n    change [ghost v] effect by (10)\nend\ngo to x: (x spawn) y: (y spawn)\nrepeat (10)\n    change y by (-1)\n    change [ghost v] effect by (-10)\nend\n\nwhen flag clicked\nhide\nbroadcast (BEGIN NOW v)\n\ndefine run engine\nchange [y v] by (-0.5)\nif <<<key (left arrow v) pressed?> or <<(x position) > (mouse x)> and <mouse down?>>> or <key (a v) pressed?>> then\n    change [x v] by (-0.9)\n    point in direction (-90)\nend\nif <<<key (right arrow v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>> or <key (d v) pressed?>> then\n    change [x v] by (0.9)\n    point in direction (90)\nend\nset [x v] to ((x) * (0.9))\nchange x by (x)\nif <touching (ground v)?> then\n    change y by (1)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change y by (-6)\n                            change x by ((x) * (-1))\n                            if <<<key (up arrow v) pressed?> or <<(mouse y) > (y position)> and <mouse down?>>> or <key (w v) pressed?>> then\n                                set [y v] to [9]\n                                if <(x) > [0]> then\n                                    set [x v] to [-10]\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange y by (y)\nif <touching (ground v)?> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-0.5)\nif <<<touching (ground v)?> and <key (up arrow v) pressed?>> or <<<touching (ground v)?> and <<(mouse y) > (y position)> and <mouse down?>>> or <<touching (ground v)?> and <key (w v) pressed?>>>> then\n    set [y v] to [9.5]\nend\nchange y by (0.5)\nif <<touching (danger v)?> or <<touching (saw v)?> or <touching (lava v)?>>> then\n    broadcast (Restart v)\nend\nif <touching (flag v)?> then\n    broadcast (next v)\n    change [level v] by (1)\n    go to x: (x spawn) y: (y spawn)\n    set [x v] to [0]\n    set [y v] to [0]\nend\n\nwhen I receive [next v]\ngo to x: (x spawn) y: (y spawn)\n\nwhen flag clicked\nforever\n    if <(level) = [11]> then\n        switch costume to (trail v)\n        broadcast (doneee v)\n    end\nend\n\nwhen I receive [begin now v]\nset rotation style [left-right v]\nset [level v] to [1]\nshow\nset [x spawn v] to [-199]\nset [y spawn v] to [-76]\ngo to x: (x spawn) y: (y spawn)\nswitch costume to (1 v)\nswitch backdrop to (backdrop3 v)\nset size to (50) %\nset [x v] to [0]\nset [y v] to [0]\nforever\n    run engine\nend\n\nwhen [r v] key pressed\nbroadcast (Restart v)\n\nwhen flag clicked\nforever\n    repeat (10)\n    end\nend\n\ncreate clone of (_myself_ v)\n\ngo [backward v] (1) layers\n\n@ground\n\nwhen flag clicked\ngo to x: (1) y: (-8)\nforever\n    switch costume to (level)\nend\n\ngo to [front v] layer\n\nwhen flag clicked\nforever\n    if <(level) = [11]> then\n        broadcast (doneee v)\n    end\nend\n\n@flag\n\nwhen I receive [next v]\nstart sound [ding sound v]\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\ngo to [back v] layer\n\n@danger\n\nwhen flag clicked\nshow\nforever\n    switch costume to (level)\nend\n\nhide\n\nshow\n\ngo to [back v] layer\n\n@saw\n\nwhen flag clicked\nforever\n    turn right (4) degrees\nend\n\ngo to [back v] layer\n\nwhen flag clicked\nset size to (100) %\nforever\n    if <<(level) = [4]> or <<(level) = [5]> or >> then\n        show\n        if <<(level) = [4]> or <(level) = [8]>> then\n            set size to (100) %\n            go to x: (0) y: (-120)\n        end\n        if <(level) = [5]> then\n            set size to (70) %\n            go to x: (-120) y: (-115)\n        end\n    else\n        hide\n    end\nend\n\n@lava\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    glide (1) secs to x: (0) y: (15)\n    glide (1) secs to x: (0) y: (0)\nend\n\ngo to [back v] layer\n\n@shadow\n\nwhen flag clicked\nset [ghost v] effect to (80)\ngo to [back v] layer\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\nhide\n\n@transition\n\nwhen flag clicked\nhide\ngo to [front v] layer\ngo to x: (0) y: (347)\n\nwhen I receive [trans v]\nswitch costume to (pick random (1) to (6))\nshow\nrepeat until <(round (y position)) = [0]>\n    go to [front v] layer\n    change y by (((0) - (y position)) / (5))\nend\nrepeat until <(round (y position)) = [347]>\n    go to [front v] layer\n    change y by (15)\nend\nhide\n\nwhen I receive [next v]\nwait (.000000000000000000000001) seconds\nbroadcast (trans v)\n\nwhen I receive [end trans v]\n\n@skip\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nchange [level v] by (1)\nbroadcast (next v)\n\nwhen flag clicked\nforever\n    wait until <touching (mouse-pointer v)?>\n    switch costume to (skip2 v)\n    repeat (5)\n        change size by (3)\n    end\n    wait until <not <touching (mouse-pointer v)?>>\n    switch costume to (skip v)\n    repeat (5)\n        change size by (-3)\n    end\nend\n\nwhen I receive [doneee v]\nhide\n\nwhen I receive [begin now v]\nset size to (100) %\nshow\ngo to x: (-185) y: (-150)\nforever\n    go to [front v] layer\nend\n\n@mute\n\nwhen this sprite clicked\nif <(volume) = [100]> then\n    set volume to (0) %\n    switch costume to (muted v)\nelse\n    set volume to (200) %\n    switch costume to (umuted v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [doneee v]\nhide\n\nwhen flag clicked\nforever\n    wait until <touching (mouse-pointer v)?>\n    repeat (5)\n        change size by (2)\n    end\n    wait until <not <touching (mouse-pointer v)?>>\n    repeat (5)\n        change size by (-2)\n    end\nend\n\nwhen I receive [begin now v]\nshow\ngo to x: (-199) y: (150)\nforever\n    go to [front v] layer\n    play sound [Vexento - Sunrise  v] until done\nend\n\n@tn\n\nwhen [timer v] > (0.01)\nshow\ngo to [front v] layer\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nforever\n    reset timer\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\nset [level v] to [1]\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\n\nwhen I receive [begin now v]\nhide\n\ngo to [front v] layer\nshow\n\n@report detector\n\nwhen flag clicked\nswitch costume to (detector v)\ncreate clone of (_myself_ v)\nforever\n    if <(Report?) = [NO NO NO PLEASE I BEG YOU]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I start as a clone\ngo to x: (50) y: (-80)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [report? v] to [NO NO NO PLEASE I BEG YOU]\n    else\n        set [report? v] to [Phew!]\n    end\nend\n\nwhen flag clicked\nwait (0.1) seconds\nswitch costume to (costume1 v)\nforever\n    if <(Report?) = [NO NO NO PLEASE I BEG YOU]> then\n        set x to (pick random (-10) to (10))\n        set y to (pick random (-10) to (10))\n    end\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    switch costume to (costume1 v)\n    wait (1) seconds\n    switch costume to (costume2 v)\n    wait (1) seconds\n    switch costume to (costume3 v)\n    wait (1) seconds\n    switch costume to (costume4 v)\nend\n\ngo to [front v] layer\n\n@notif\n\nwhen flag clicked\ngo to x: (0) y: (50)\nhide\nwait (pick random (8) to (15)) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (14) to (26)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\nwhen I receive [alert v]\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\nwhen I receive [tick v]\ngo to [front v] layer\n\n@ clouds\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset size to (pick random (50) to (80)) %\nshow\ngo to [back v] layer\nset [ghost v] effect to (40)\nswitch costume to (pick random (1) to (4))\nif <(side) = [1]> then\n    go to x: (300) y: (pick random (150) to (100))\n    repeat until <(x position) < [-250]>\n        change x by (-1)\n    end\n    delete this clone\nend\nif <(side) = [2]> then\n    go to x: (-300) y: (pick random (150) to (100))\n    repeat until <(x position) > [250]>\n        change x by (1)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    go [backward v] (1) layers\n    go to [back v] layer\nend\n\nwhen flag clicked\nforever\n    set [side v] to (pick random (1) to (2))\n    create clone of (_myself_ v)\n    wait (pick random (3) to (5)) seconds\nend\n\n@The Sun\n\nwhen flag clicked\nset size to (100) %\nforever\n    go to x: (210) y: (150)\n    repeat (10)\n        change size by (-0.5)\n    end\n    repeat (20)\n        change size by (0.5)\n    end\n    repeat (10)\n        change size by (-0.5)\n    end\nend\n\ngo to [back v] layer\n\n@Text\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\n    glide (1) secs to x: (0) y: (0)\n    glide (1) secs to x: (0) y: (20)\nend\n\ngo to [front v] layer\n\n@Deco\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\n\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\ngo [backward v] (1) layers\n\n@TIPS\n\nwhen flag clicked\ngo to x: (0) y: (-300)\nforever\n    switch costume to (level)\nend\n\nwhen I receive [next v]\nshow\nwait (1) seconds\ngo to x: (0) y: (-300)\nglide (1) secs to x: (0) y: (-140)\nwait (1) seconds\nglide (1) secs to x: (0) y: (-300)\nhide\n\nwhen I receive [trans v]\nhide\nwait (1) seconds\nshow\n\n