Nature a platformer 1.8

Instructions: SALUT tous le monde \nvoici mon premier plateformer \nil y a 8 Level tous sont possibles \n10 likes pour la partie 2\nVoici apres des semaines de travail https://scratch.mit.edu/projects/400778235/\n50 likes :)

@Stage\n\n@Sprite1\n\ndelete this clone\n\nwhen flag clicked\nforever\n    play sound [music2 v] until done\nend\n\nwhen flag clicked\ngo to x: (-194) y: (-100)\nset [pixelate v] effect to (0)\nshow\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x velocity v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching color (#8fff00)?> then\n        change y by (1)\n        if <touching color (#8fff00)?> then\n            change y by (1)\n            if <touching color (#8fff00)?> then\n                change y by (1)\n                if <touching color (#8fff00)?> then\n                    change y by (1)\n                    if <touching color (#8fff00)?> then\n                        if <touching color (#8fff00)?> then\n                            change x by ((x velocity) * (-1))\n                            change x by (-5)\n                            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                set [y velocity v] to [10]\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                        change y by (1)\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching color (#8bff00)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#8bff00)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y velocity v] by (15)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        go to x: (-205) y: (-88)\n        broadcast (NEXT v)\n    end\n    if <touching color (#ff0000)?> then\n        repeat (10)\n            change [pixelate v] effect by (10)\n        end\n        set [pixelate v] effect to (0)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        go to x: (-205) y: (-88)\n    end\n    if <touching color (#2d00ff)?> then\n        repeat (10)\n            change [pixelate v] effect by (10)\n        end\n        set [pixelate v] effect to (0)\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        go to x: (-205) y: (-88)\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (40) y: (40)\n\nwhen I receive [next v]\nnext costume\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\n