Mars Mission-A platformer
@Stage\n\nwhen flag clicked\nhide variable [☁ by v]\nclear graphic effects\nwait (5) seconds\nrepeat (100)\n    change [brightness v] effect by (-1)\nend\nbroadcast (Bla bla v)\nset [brightness v] effect to (0)\n\n@Sprite1\n\nwhen flag clicked\nswitch backdrop to (logo v)\nhide\nhide variable [deaths v]\nhide variable [level v]\nhide variable [☁ best time v]\nhide variable [time v]\n\nwhen I receive [start v]\nset [deaths v] to [0]\nset [level v] to [1]\nset rotation style [left-right v]\nshow\nswitch costume to (costume1 v)\nswitch backdrop to (arrière plan1 v)\ngo to [front v] layer\nclear graphic effects\ngo to x: (-216) y: (-2)\nforever\n    if <key (right arrow v) pressed?> then\n        change [pour aller de gauche a droite v] by (1)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        change [pour aller de gauche a droite v] by (-1)\n        point in direction (-90)\n    end\n    set [pour aller de gauche a droite v] to ((Pour aller de Gauche a Droite) * (0.9))\n    change x by (Pour aller de Gauche a Droite)\n    if <touching (terrain v)?> then\n        change y by (1)\n        if <touching (terrain v)?> then\n            change y by (1)\n            if <touching (terrain v)?> then\n                change y by (1)\n                if <touching (terrain v)?> then\n                    change y by (1)\n                end\n                if <touching (terrain v)?> then\n                    change y by (1)\n                end\n            end\n        end\n    end\n    if <touching (terrain v)?> then\n        change x by ((Pour aller de Gauche a Droite) * (-1))\n        change y by (-5)\n        if <key (up arrow v) pressed?> then\n            if <(Pour aller de Gauche a Droite) > [0]> then\n                set [pour aller de gauche a droite v] to [-5]\n            else\n                set [pour aller de gauche a droite v] to [5]\n            end\n            set [pour aller de haut en bas v] to [10]\n        else\n            set [pour aller de haut en bas v] to [0]\n        end\n    end\n    change [pour aller de haut en bas v] by (-1)\n    change y by (Pour aller de Haut en Bas)\n    if <touching (terrain v)?> then\n        change y by ((Pour aller de Haut en Bas) * (-1))\n        set [pour aller de haut en bas v] to [0]\n    end\n    change y by (-1)\n    if <touching (terrain v)?> then\n        if <key (up arrow v) pressed?> then\n            set [pour aller de haut en bas v] to [13]\n        end\n    end\n    change y by (1)\n    if <<touching (spike v)?> or <(y position) < [-170]>> then\n        change [deaths v] by (1)\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-216) y: (-24)\n        set [pour aller de gauche a droite v] to [0]\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\n    if <(x position) > [240]> then\n        go to x: (-216) y: (-24)\n        broadcast (Next v)\n        change [level v] by (1)\n    end\n    if <(Level) = [17]> then\n        go to x: (-216) y: (-1)\n        repeat until <touching (terrain v)?>\n            change y by (-6)\n        end\n        broadcast (End v)\n        stop [this script v]\n    end\nend\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [start v]\nforever\n    leap\nend\n\ndefine leap\nif <touching (jump v)?> then\n    change [pour aller de haut en bas v] by (pick random (20) to (25))\nend\n\ndefine super leap\n\nif <touching (jump v)?> then\n    if <key (up arrow v) pressed?> then\n        change [pour aller de haut en bas v] by (5)\n    end\nend\n\nwhen I receive [start v]\nreset timer\nshow variable [deaths v]\nshow variable [level v]\nshow variable [time v]\nshow variable [☁ best time v]\nrepeat until <(Level) = [17]>\n    set [time v] to (timer)\nend\nif <(☁ Best Time) > (Time)> then\n    set [☁ best time v] to (Time)\n    set [☁ by v] to (username)\nend\n\nwhen I receive [end v]\nsay [Good Game !] for (2) seconds\nbroadcast (NASA v)\nsay [the probe arrives on Mars !] for (5) seconds\nsay [thanks for playing and congratulations for the NASA !] for (2) seconds\n\nwhen [space v] key pressed\n\nbroadcast (Start v)\n\nwhen I receive [bla bla v]\nset rotation style [left-right v]\nset [level v] to [1]\nset [deaths v] to [0]\nswitch costume to (costume1 v)\npoint in direction (90)\nshow\nswitch backdrop to (arrière plan1 v)\ngo to x: (-216) y: (-1)\nrepeat until <touching (terrain v)?>\n    if <not <touching (terrain v)?>> then\n        change y by (-6)\n    end\nend\nsay [Hey, Scratcher !] for (4) seconds\nsay [Are you ready ?] for (4) seconds\nsay [ready to what ?] for (4) seconds\nsay [to pass all the obstacles...] for (4) seconds\nsay [Will you be able to do that?] for (4) seconds\nsay [that's what we're going to see...] for (4) seconds\nsay [Ok ! Let's  go !] for (2) seconds\nbroadcast (variables  v)\nbroadcast (Start v)\n\n@terrain\n\nwhen flag clicked\nhide\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [bla bla v]\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\nshow\n\n@Spike\n\nwhen flag clicked\ngo to [back v] layer\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [start v]\nshow\nswitch costume to (costume1 v)\n\n@jump\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nhide\ngo to [back v] layer\n\nwhen I receive [next v]\nshow\nnext costume\n\nwhen I receive [bla bla v]\nswitch costume to (costume1 v)\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\n\n@nasa-insignia-independent-verification-and-validation-facility-logo-clip-art-nasa-23a303501e4b27b60ac364bf09ac9684\n\nwhen flag clicked\ngo to x: (87) y: (37)\nhide\ngo to [back v] layer\n\nwhen I receive [start v]\ngo to x: (87) y: (37)\nhide\ngo to [back v] layer\n\nwhen I receive [nasa v]\nshow\n\n
6th trend ! thanks\nEnglish is lower↓\nFrançais-----\nFlèches directionnelles pour bouger\néviter les spikes !\n----------------\n\nEnglish-----\narrows keys to move\nAvoid spikes!\n-----------------