☁ Mountain A Platformer ☁ (Mobile Friendly) #Games #All

Instructions: ☁ Mountain A Platformer ☁ (Mobile Friendly)\n\nPlease ❤️⭐️ & Follow me for more ☻  \n \n_Instructions_\n\nUse ⬆⬅➡ and don't touch the spikes,\n15 levels 100 % Possible \nHave Fun !\n-----Notes-----\nLast update : 08/27/2021\n\n------Tags------ \n#clemJ72 #Games #All #Cool #mountain #platformer #FR #EN #world #me #you\n\n---Other---\n12h of work \nMusic: Inferno by @-xaf-\n \n*Credits*\n@-xaf-\n@You for watching\n\n 

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    if <(level) = [3]> then\n        switch backdrop to (arrière plan1 v)\n    end\n    if <(level) = [8]> then\n        switch backdrop to (backdrop1 v)\n    end\n    if <(level) = [15]> then\n        switch backdrop to (arrière plan2 v)\n    end\nend\n\n@spikes\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [message1 v]\nnext costume\n\nwhen I receive [someone pressed s key v]\nnext costume\n\nwhen I receive [someone pressed skip button v]\nnext costume\n\nwhen flag clicked\nforever\n    go to x: (36) y: (27)\nend\n\n@levels\n\nwhen I receive [message1 v]\nnext costume\n\nwhen flag clicked\nhide variable [☁ time speedrun v]\nshow variable [level v]\nswitch costume to (1 v)\n\nwhen I receive [someone pressed s key v]\nnext costume\n\nwhen I receive [someone pressed skip button v]\nnext costume\n\nwhen flag clicked\nrepeat until <(level) = [17]>\n    if <(level) = [17]> then\n        set [level v] to [1]\n        reset timer\n    end\nend\n\n@Platform guy\n\nwhen flag clicked\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-200) y: (-104)\nforever\n    change [y v] by (-1)\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 (1)\n        switch costume to (costume1 v)\n    end\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 (-1)\n        switch costume to (costume2 v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (levels v)?> then\n        fast\n        if <touching (levels v)?> then\n            change y by (-6)\n            xcoll\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                set [y v] to [13]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-7]\n                else\n                    set [x v] to [8]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n    end\n    change y by (y)\n    if <touching (levels v)?> then\n        ycoll\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <(y) < [0]>> then\n            set [y v] to [13]\n        else\n            set [y v] to [0]\n        end\n    end\nend\n\ndefine fast\nrepeat (6)\n    if <touching (levels v)?> then\n        change y by (1)\n    end\nend\n\ndefine xcoll\nrepeat until <not <touching (levels v)?>>\n    if <(x) > [0]> then\n        change x by (-1)\n    else\n        change x by (1)\n    end\nend\n\ndefine ycoll\nrepeat until <not <touching (levels v)?>>\n    if <(y) > [0]> then\n        change y by (-1)\n    else\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [237]> then\n        broadcast (message1 v)\n        go to x: (-223) y: (-100)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (spikes v)?> or <touching (sprite1 v)?>> then\n        go to x: (-223) y: (-100)\n        play sound [Death v] until done\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    play sound [Inferno v] until done\nend\n\nwhen I receive [someone pressed s key v]\nchange [level v] by (1)\n\nwhen I receive [message1 v]\nchange [level v] by (1)\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen I receive [someone pressed skip button v]\ngo to x: (-218) y: (-106)\n\nwhen flag clicked\nforever\n    if <(level) = [6]> then\n        if <(x position) > [237]> then\n            broadcast (message1 v)\n            go to x: (-223) y: (100)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (water v)?> then\n        change y by (9)\n    end\nend\n\nwait (1) seconds\nchange y by (-1)\n\n@thumnail\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    show\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\nend\n\nturn right (90) degrees\n\ngo to (random position v)\n\ngo to x: (36) y: (28)\n\n@skip\n\nwhen flag clicked\nshow\nset size to (100) %\nset [zine v] to [0]\ngo to x: (217) y: (157)\nforever\n    change [zine v] by (1)\n    point in direction ((90) + (([sin v] of ((zine) * (8)) ) * (3)))\n    if <touching (mouse-pointer v)?> then\n        change size by (((110) - (size)) / (2))\n    else\n        change size by (((100) - (size)) / (4))\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        repeat until <<not <touching (mouse-pointer v)?>> or <not <mouse down?>>>\n            change [zine v] by (1)\n            point in direction ((90) + (([sin v] of ((zine) * (5)) ) * (3)))\n            change size by (((90) - (size)) / (2))\n        end\n        set size to (100) %\n        wait (0) seconds\n        if <<touching (mouse-pointer v)?> and <not <([costume # v] of [levels v]) = [15]>>> then\n            broadcast (someone pressed skip button v)\n        end\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen I receive [someone pressed skip button v]\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    if <(level) = [15]> then\n        forever\n            hide\n            stop [other scripts in sprite v]\n        end\n    end\nend\n\nwait (9) seconds\n\nhide\n\nshow\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (40) y: (-40)\nshow\n\nforever\n    if <(level) = [11]> then\nend\n\nhide\n\n@clouds\n\nwhen flag clicked\nrepeat (5)\n    create clone of (_myself_ v)\n    wait (1) seconds\nend\n\nwhen I start as a clone\nforever\n    switch costume to (pick random (1) to (2))\n    set size to (pick random (40) to (70)) %\n    go to [back v] layer\n    set [ghost v] effect to (pick random (5) to (50))\n    if <(pick random (1) to (2)) = [1]> then\n        show\n        go to x: (-200) y: (pick random (-180) to (180))\n        repeat until <(x position) > [239]>\n            change x by (2)\n        end\n        hide\n        wait (pick random (1) to (5)) seconds\n    end\n    if <(pick random (1) to (2)) = [2]> then\n        show\n        go to x: (220) y: (pick random (-180) to (180))\n        repeat until <(x position) < [-239]>\n            change x by (-4)\n        end\n        hide\n        wait (pick random (1) to (5)) seconds\n    end\nend\n\n