The Mountain A Platformer ! #platformer #Games #fun
@Stage\n\n@Level\n\nwhen flag clicked\nshow\nforever\n    switch costume to (level)\nend\n\nwhen I receive [thumbnail v]\nhide\n\nchange [level v] by (1)\n\n@player\n\nwhen flag clicked\nforever\n    if <(y position) < [-165]> then\n        go to x: (-200) y: (-89)\n    end\nend\n\nwhen I receive [thumbnail v]\nhide\n\nwhen flag clicked\nshow\nset [level v] to [1]\nset [ghost v] effect to (0)\ngo to x: (-200) y: (-95)\nwait (0.5) seconds\ngo to x: (-200) y: (-95)\npoint in direction (90)\nset [ma variable v] to [0]\nset [yvel v] to [0]\nforever\n    set rotation style [left-right v]\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        change [ma variable v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        change [ma variable v] by (1)\n    end\n    set [ma variable v] to ((ma variable) * (0.9))\n    change x by (ma variable)\n    if <<touching color (#02c500)?> or <touching color (#929b00)?>> then\n        change y by (1)\n        if <<touching color (#02c500)?> or <touching color (#929b00)?>> then\n            change y by (1)\n            if <<touching color (#02c500)?> or <touching color (#929b00)?>> then\n                change y by (1)\n                if <<touching color (#02c500)?> or <touching color (#929b00)?>> then\n                    change y by (1)\n                    if <<touching color (#02c500)?> or <touching color (#929b00)?>> then\n                        change y by (1)\n                        if <<touching color (#02c500)?> or <touching color (#929b00)?>> then\n                            change x by ((ma variable) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                set [yvel v] to [10]\n                                if <(ma variable) > [0]> then\n                                    set [ma variable v] to [-7]\n                                else\n                                    set [ma variable v] to [7]\n                                end\n                            else\n                                set [ma variable v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<touching color (#02c500)?> or <touching color (#929b00)?>> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yvel v] to [15]\n        end\n    end\n    change y by (1)\n    change [yvel v] by (-1)\n    change y by (Yvel)\n    if <<touching color (#02c500)?> or <touching color (#929b00)?>> then\n        change y by ((Yvel) * (-1))\n        set [yvel v] to [0]\n    end\n    hide variable [ma variable v]\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [yvel v] to [0]\n        set [ma variable v] to [0]\n        go to x: (-200) y: (-89)\n        set [ghost v] effect to (0)\n    end\n    if <touching color (#ff0000)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-200) y: (-89)\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [vers la gauche v]\npoint in direction (-90)\nchange [ma variable v] by (-1)\n\nwhen I receive [vers la droite v]\npoint in direction (90)\nchange [ma variable v] by (1)\n\nwhen I receive [vers le haut v]\nif <(y position) > [-107]> then\n    set [yvel v] to [15]\n    wait (1) seconds\nend\n\nforever\n\nwhen I receive [wall jumping v]\nset [yvel v] to [5]\nwait (1) seconds\n\nwhen I receive [wall jumping v]\npoint in direction (90)\nchange [ma variable v] by (1)\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        go to x: (-200) y: (-89)\n    end\nend\n\nwhen I receive [skip v]\ngo to x: (-200) y: (-95)\n\n@notif\n\nwhen flag clicked\ngo to x: (0) y: (50)\ngo to [front v] layer\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\nwhen I receive [thumbnail v]\nhide\n\n@Clouds\n\nwhen I start as a clone\ngo to x: (-90) y: (pick random (-86) to (-90))\nset size to (pick random (100) to (120)) %\nglide (3) secs to x: (464) y: (y position)\ndelete this clone\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (-90) y: (0)\nset size to (100) %\nshow\nforever\n    go to [back v] layer\n    repeat (4)\n        create clone of (_myself_ v)\n        wait (1.5) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    glide (2.5) secs to x: (464) y: (0)\n    go to x: (-90) y: (0)\nend\n\nwhen I receive [thumbnail v]\nhide\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    set [timer2 v] to ((timer) + (.1))\nend\n\nwhen [timer v] > (Timer2)\nbroadcast (thumbnail v)\nshow\n\nwhen flag clicked\nhide\n\n@music\n\nwhen flag clicked\nforever\n    play sound (pick random (1) to (3)) until done\nend\n\n@Sprite1\n\n@joueur\n\nwhen I receive [intro cacher v]\nshow\nset [level v] to [2]\nset [ghost v] effect to (0)\ngo to x: (-200) y: (-95)\nwait (0.5) seconds\ngo to x: (-200) y: (-95)\npoint in direction (90)\nset [ma variable v] to [0]\nset [yvel v] to [0]\nforever\n    set rotation style [left-right v]\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        change [ma variable v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        change [ma variable v] by (1)\n    end\n    set [ma variable v] to ((ma variable) * (0.9))\n    change x by (ma variable)\n    if <touching color (#00ffff)?> then\n        change y by (1)\n        if <touching color (#00ffff)?> then\n            change y by (1)\n            if <touching color (#00ffff)?> then\n                change y by (1)\n                if <touching color (#00ffff)?> then\n                    change y by (1)\n                    if <touching color (#00ffff)?> then\n                        change y by (1)\n                        if <touching color (#00ffff)?> then\n                            change x by ((ma variable) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                set [yvel v] to [10]\n                                if <(ma variable) > [0]> then\n                                    set [ma variable v] to [-7]\n                                else\n                                    set [ma variable v] to [7]\n                                end\n                            else\n                                set [ma variable v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching color (#00ffff)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yvel v] to [15]\n        end\n    end\n    change y by (1)\n    change [yvel v] by (-1)\n    change y by (Yvel)\n    if <touching color (#00ffff)?> then\n        change y by ((Yvel) * (-1))\n        set [yvel v] to [0]\n    end\n    hide variable [ma variable v]\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [yvel v] to [0]\n        set [ma variable v] to [0]\n        go to x: (-200) y: (-89)\n        set [ghost v] effect to (0)\n    end\n    if <touching color (#ff0000)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-200) y: (-89)\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    change [ma variable v] by (-1)\n    switch costume to (costume2 v)\nend\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    change [ma variable v] by (1)\n    switch costume to (costume1 v)\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [vers la gauche v]\npoint in direction (-90)\nchange [ma variable v] by (-1)\n\nwhen I receive [vers la droite v]\npoint in direction (90)\nchange [ma variable v] by (1)\n\nwhen I receive [vers le haut v]\nif <(y position) > [-107]> then\n    set [yvel v] to [15]\n    wait (1) seconds\nend\n\nforever\n\nwhen I receive [wall jumping v]\nset [yvel v] to [5]\nwait (1) seconds\n\nwhen I receive [wall jumping v]\npoint in direction (90)\nchange [ma variable v] by (1)\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        go to x: (-200) y: (-89)\n    end\nend\n\n@fond2pfp\n\n@dd\n\n@Skip button\n\nwhen flag clicked\nset [rotation v] to [0]\nshow\nforever\n    change [rotation v] by (1)\n    point in direction ((90) + (([sin v] of ((rotation) * (8)) ) * (5)))\nend\n\nwhen [timer v] > (Timer2)\nhide\n\nwhen this sprite clicked\nbroadcast (skip v)\nchange [level v] by (1)\n\n
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-..-.-.-.-\n                                  Welcome\n                    Français en dessous/English\nMove with W/A/S/D or arrows keys\ndon't touch spikes don't for get to like and  Fav for more cool games.\n\nFrançais:\n\n-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-..-.-.-.-\n                                  Bienvenue\n                    \nDéplacez-vous avec W / A / D ou les flèches\nne touchez pas les pièges n'hésite pas à aimer et Fav pour des jeux plus cool.