HALLOWEEN PLATFORMER

Instructions: HAPPY HALLOWEEN !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\nFR : clique sur le drapeau vert \net utilise les flèches !!! Si le projet ne commence pas cliquez deux fois sur le drapeau vert !!!\n\nEN :click on the green flag\nand use the arrows !!! If the project does not start double click on the green flag  !!!\n\n FR : Met un❤️ou/et une⭐si le projet t'a plus \n\nEN :  put a ❤️ or /and⭐ if the project you liked !!!

@Stage\n\nwhen backdrop switches to [woods10 v]\nforever\n    change [color v] effect by (10)\nend\n\nwhen flag clicked\nswitch backdrop to (arrière plan1 v) and wait\nwait (2) seconds\nnext backdrop\n\n@tumblr_mlezanz0yM1rngwgeo1_500\n\nwhen flag clicked\nhide\nwait (2) seconds\nshow\nforever\n    next costume\n    wait (0.05) seconds\nend\n\nwhen [space v] key pressed\nhide\n\n@Sprite1\n\nwhen flag clicked\nhide\nwait (5) seconds\nshow\n\nwhen [space v] key pressed\nhide\n\n@PlayerSprite1\n\nwhen [space v] key pressed\nshow\nswitch backdrop to (woods v)\nhide\nwait (0.25) seconds\nshow\nset size to (100) %\nswitch backdrop to (woods v)\nset volume to (100) %\nchange volume by (-85)\nshow\nclear graphic effects\nswitch backdrop to (woods v)\ngo to x: (-220) y: (-30)\nforever\n    if <key (right arrow v) pressed?> then\n        change [pour aller de gauche à droite v] by (1)\n        switch costume to (jack o'lantern7 v)\n    else\n        if <key (left arrow v) pressed?> then\n            change [pour aller de gauche à droite v] by (-1)\n            switch costume to (jack o'lantern3 v)\n        end\n    end\n    set [pour aller de gauche à droite v] to ((Pour aller de gauche à droite) * (0.9))\n    change x by (Pour aller de gauche à droite)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                end\n                if <touching color (#000000)?> then\n                    change y by (1)\n                end\n            end\n        end\n    end\n    if <touching color (#000000)?> then\n        change x by ((Pour aller de gauche à droite) * (-1))\n        change y by (-5)\n        if <key (up arrow v) pressed?> then\n            if <(Pour aller de gauche à droite) > [0]> then\n                set [pour aller de gauche à droite v] to [-5]\n            else\n                set [pour aller de gauche à 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 color (#000000)?> 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 color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            set [pour aller de haut en bas v] to [15]\n        end\n    end\n    change y by (1)\n    if <<touching color (#ff0000)?> or <(y position) < [-170]>> then\n        change [vie v] by (-1)\n        repeat (10)\n            change [ghost v] effect by (10)\n            wait (0) seconds\n        end\n        go to x: (-220) y: (-30)\n        repeat (10)\n            change [ghost v] effect by (-10)\n            wait (0) seconds\n        end\n    end\n    if <(x position) > [240]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-220) y: (-30)\n    end\n    if <touching color (#46ff00)?> then\n        change [pour aller de haut en bas v] by (100)\n    end\n    if <touching color (#00ebff)?> then\n        set size to (50) %\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-208) y: (-140)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [woods8 v]\nset size to (100) %\n\nwhen flag clicked\nforever\n    if <(VIE) = [0]> then\n        hide\n        switch backdrop to (flat,550x550,075,f v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nset [vie v] to [7]\nhide variable [vie v]\nwait (6) seconds\nshow variable [vie v]\n\nwhen backdrop switches to [woods12 v]\nset [vie v] to [7]\n\nwhen backdrop switches to [woods10 v]\nhide\nstop [all v]\n\nwhen flag clicked\nforever\n    play sound [the-nightmare-before-christmas-this-is-halloween v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (arrière plan1 v)\n\nwhen backdrop switches to [woods3 v]\nset [pour aller de gauche à droite v] to [0]\nset [pour aller de haut en bas v] to [0]\n\n