Mountains: a Platformer #Games #All #Trending #Animations 

Instructions:                  ⛰ -Welcome to Mountains a Platformer-⛰\narrow,wasd,and mobile.\navoid crushers,spikes,bad guys,lava,saws.\npurple for trampolines. \n50 loves for part two.\nfeel free to remix,comment,love and like.\nI hope you enjoy! (scroll down for credits)\nAll levels are possible.\nMy first platformer.\n(It's generic :l )⛰\n                         ------------->Credits<----------------\n@bennyfred for the saws art.\n@nafrog for the wall jumping scripts.\n@Piotr_Rutcowski for the music.\ngoogle for the backround.\n@Infinity_F for the rest.\n\n\n\n#Games #Games #Games #Games #Games #Games\n#Animations #Animations #Animations #Animations\n#All #All #All #All #All #All #All #All #All #All #All #All\n#Trending #Trending #Trending #Trending #Trending 

@Stage\n\nwhen flag clicked\nforever\n    play sound [Vexento - Tevo.mp3 v] until done\nend\n\n@level\n\nwhen I receive [done with level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (33) y: (-9)\n\n@Player\n\nwhen flag clicked\ngo to [front v] layer\ngo [forward v] (1) layers\nset size to (125) %\nshow\ngo to x: (-205) y: (-80)\nFall\nforever\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n        switch costume to (right v)\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n        switch costume to (left v)\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                    end\n                    if <touching (level v)?> then\n                        change x by ((Xv) * (-1))\n                        change y by (-5)\n                        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>>> then\n                            if <(Xv) > [0]> then\n                                set [xv v] to [-5]\n                            else\n                                set [xv v] to [5]\n                            end\n                            set [yv v] to [13]\n                        else\n                            set [xv v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (level v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>>> then\n            switch costume to (costume1 v)\n            set [yv v] to [13]\n        end\n    end\n    if <touching (danger v)?> then\n        start sound [Oops v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        wait (1) seconds\n        set [ghost v] effect to (0)\n        go to x: (-205) y: (-80)\n        repeat (1)\n            Fall\n        end\n    end\n    if <touching (lava v)?> then\n        start sound [Oops v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        wait (1) seconds\n        set [ghost v] effect to (0)\n        go to x: (-205) y: (-80)\n        Fall\n    end\n    if <touching (saws v)?> then\n        start sound [Oops v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        wait (1) seconds\n        set [ghost v] effect to (0)\n        go to x: (-205) y: (-80)\n        Fall\n    end\n    if <touching (crusher v)?> then\n        start sound [Oops v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        wait (1) seconds\n        set [ghost v] effect to (0)\n        go to x: (-205) y: (-80)\n        Fall\n    end\n    if <touching (bad guy v)?> then\n        start sound [Oops v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        wait (1) seconds\n        set [ghost v] effect to (0)\n        go to x: (-205) y: (-80)\n        Fall\n    end\n    if <(y position) < [-170]> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        wait (1) seconds\n        set [ghost v] effect to (0)\n        go to x: (-205) y: (-80)\n        Fall\n    end\n    if <touching (trampolines v)?> then\n        start sound [Drum Boing v]\n        set [yv v] to [20]\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    if <(x position) > [230]> then\n        go to x: (-205) y: (-80)\n        broadcast (done with level v)\n        change [level v] by (1)\n        Fall\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>>>>>> then\n        switch costume to (straight v)\n    end\nend\n\nwhen I receive [game on!!! v]\n\nwhen I receive [game on!!! v]\n\nwhen flag clicked\nswitch costume to (straight v)\nforever\n    wait (0.01) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (trail v)\nrepeat (20)\n    change size by (-4)\n    change [ghost v] effect by (6)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <touching (level v)?> then\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nhide variable [level v]\n\nwhen I receive [done with level v]\ngo to x: (-205) y: (-80)\nFall\n\nwhen flag clicked\nforever\n    if <touching (level v)?> then\n        change y by (10)\n    end\nend\n\ndefine Fall\n\n@danger\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [front v] layer\nshow\nforever\n    switch costume to (level)\nend\n\n@Saws\n\nwhen flag clicked\nset size to (100) %\ngo to x: (0) y: (0)\nswitch costume to (costume2 v)\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    turn right (8) degrees\nend\n\nwhen flag clicked\nforever\n    hide\n    if <(level) = [5]> then\n        go to x: (15) y: (-98)\n        show\n    end\nend\n\ngo to x: (0) y: (0)\n\n@Blank\n\n@Skip\n\nwhen this sprite clicked\nchange [level v] by (1)\nbroadcast (done with level v)\n\nwhen flag clicked\nset [level v] to [1]\nshow\nforever\n    go to [front v] layer\n    go [forward v] (1) layers\n    if <(level) = [13]> then\n        hide\n    end\nend\n\nwhen flag clicked\npoint in direction (88)\nforever\n    repeat (10)\n        turn right (0.80) degrees\n    end\n    wait (0.1) seconds\n    repeat (10)\n        turn left (0.80) degrees\n    end\n    wait (0.1) seconds\nend\n\n@lava\n\nwhen flag clicked\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    go to x: (28) y: (14)\n    repeat (10)\n        change y by (2)\n    end\n    repeat (10)\n        change y by (-2)\n    end\nend\n\n@Trampolines\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\n@Crusher\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    if <(level) = [10]> then\n        go to x: (39) y: (121)\n        repeat until <(level) = [11]>\n            glide (0.10) secs to x: (50) y: (-64)\n            start sound [Slam v]\n            wait (1) seconds\n            glide (1.10) secs to x: (39) y: (121)\n            wait (1) seconds\n        end\n        if <(level) = [11]> then\n            go to x: (39) y: (121)\n            repeat until <(level) = [12]>\n                glide (0.10) secs to x: (50) y: (-64)\n                start sound [Slam v]\n                wait (1) seconds\n                glide (1.1) secs to x: (39) y: (121)\n                wait (1) seconds\n            end\n        end\n    end\nend\n\n@bad guy\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    if <(level) = [6]> then\n        go to x: (123) y: (-60)\n        repeat until <(level) = [7]>\n            glide (1) secs to x: (-77) y: (-60)\n            glide (1) secs to x: (123) y: (-60)\n        end\n    end\n    if <(level) = [8]> then\n        go to x: (123) y: (-60)\n        repeat until <(level) = [9]>\n            glide (1) secs to x: (-77) y: (-60)\n            glide (1) secs to x: (123) y: (-60)\n        end\n    end\nend\n\n@TB\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (1)\ngo to [front v] layer\nshow\n\n