Mountain - Platformer  #Games #All

Instructions: Use AWSD Or Arrow Keys, Mobile friendly.\nYou are on a mission to climb a mountain it is going to be hard, avoid spikes and other dangerous things.\n\nRemember to follow me for more games\nLIKE AND FAVORITE I Would be happy!!!\nGet this on trending :D\n\n

@Stage\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\nwhen flag clicked\ngo to [front v] layer\n\n@Player\n\nwhen flag clicked\nset [the level v] to [1]\nbroadcast (Next Level v)\nforever\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        next costume\n        change [x velocity v] by (-1.5)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<(x position) < (mouse x)> and <mouse down?>>> then\n        next costume\n        change [x velocity v] by (1.5)\n    end\n    set [x velocity v] to ((X velocity) * (0.85))\n    change x by (X velocity)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((X velocity) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(y position) < (mouse y)> and <mouse down?>>> then\n            if <(X velocity) > [0]> then\n                set [x velocity v] to [-10]\n            else\n                set [x velocity v] to [10]\n            end\n            set [y velocity v] to [15]\n        else\n            set [x velocity v] to [0]\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y velocity)\n    if <touching (ground v)?> then\n        change y by ((Y velocity) - ((Y velocity) * (2)))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(y position) < (mouse y)> and <mouse down?>>>> then\n        set [y velocity v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        broadcast (Next Level v) and wait\n        change [the level v] by (1)\n    end\n    if <touching (spikes v)?> then\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    else\n        if <touching (lava v)?> then\n            broadcast (Reset v)\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (5)\n    turn right (5) degrees\nend\ndelete this clone\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen I receive [reset v]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (20)\n\nwhen flag clicked\nshow\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\nwhen flag clicked\npoint in direction (90)\nforever\n    show list [saws v]\n    if < (saws) contains (costume [name v])?> then\n        repeat until <not < (saws) contains (costume [name v])?>>\n            turn right (7) degrees\n        end\n    else\n        point in direction (90)\n    end\nend\n\n\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [12]> then\n        go to x: (69) y: (30)\n    else\n        go to x: (69) y: (-30)\n    end\nend\n\n