Explore [Platformer]

Instructions: (Double click sur le drapeau)\n(Double click on flag)     ----> (SCROLL DOWN FOR \n                                            THE ENGLISH VERSION)\n\nFrançais:   \nOn a atteint les 200 000 vues merci beaucoup :D\nMERCI A TOUS J'AI JAMAIS EU AUTANT DE VUES, DE LIKES ET DE FAVS merci aussi pour le #1 en tendanceee c'est juste incroyable :DDD\nje m'y attendais pas :)))))))))\n\nPour vous remercier je prévois de faire un projet spécial je vous mettrai un lien ici quand il sera prêt, ça sera une sorte de suite :D \n--->  https://scratch.mit.edu/projects/670567125\n(il n'y a pas de version mobile dans la suite)\n\n(∩^o^)⊃━☆ \n\n-Utilisez les flèches pour bouger (celle du bas pour descendre l'échelle), Vous pouvez également utiliser les touches WESD (en effet, il faut utiliser "E" pour la gauche et non "A")\n-Il y a 10 niveaux, ils sont tous possible\n-Si vous êtes sur mobile, lorsque apparaît le message "press a", cliquez le buisson à la place et le message "press b", cliquez les feuilles. Pour descendre l'échelle, allez à l'échelle et appuyez dessus.\n__________________________________________\n\n  AIDE POUR PASSER LES NIVEAUX:\n\n- Niveau 3 et 8: Il suffit de descendre l'échelle et d'aller \n  sur le bouton pour baisser les piques, si ça ne \n  marche pas, ça peut être un bug que vous pouvez \n  signaler dans les commentaires.\n- Niveau 5 et 9: Il faut aller devant le buisson et cliquer \n  sur "a" quand le message apparaît, le personnage va \n  alors récolter des feuilles, il faut ensuite lâcher les \n  feuilles au bon moment, de manière à ce qu'elles \n  couvrent les piques/ l'eau en cliquant "b", (après cette \n  opération, il est possible de passer sans tomber sur \n  les piques.)\n- Niveau 7 (et autres): Il n'y a rien de spécial à faire, \n  juste réussir à sauter par-dessus les piques.\n- Niveau 10: il faut descendre l'échelle et appuyer le \n  bouton qui va faire remonter la barrière qui empêche \n  d'atteindre le deuxième bouton, puis appuyer ce \n  deuxième bouton.\n\n(Dites-moi si je devrais ajouter quelque chose)\n_________________________________________\n\nJe m'excuse si vous avez rencontré des bugs, j'ai réussi à en régler une grande partie, et quand je teste mon jeu je n'en ai pas, alors s'il en reste je ne saurai malheureusement pas les fixer :/ Je n'apporterai officiellement plus de changements à ce projet. \n\nMerci d'avoir lu jusqu'ici, n'hésitez pas à écrire un commentaire pour que je puisse m'améliorer la prochaine fois ou à liker si le jeu s'il vous a plu ❤️⭐\n\n=========================================\n\nEnglish:\n\nWe reached 200 000 views thank you so much :D\nThank you everyone for the views, and likes I didn't expect that,(#1 in french trendingggg TYSM) I even add an english version because I get many english comments :D\n\nTo thank you I plan to do a special project I'll put a link here when it's ready, it will be a part 2 but a bit different, you'll see :D\n--->  https://scratch.mit.edu/projects/670567125\n(there's no mobile version in the part 2)\n\n(∩^o^)⊃━☆\n\n-Use the arrow keys to move (the bottom one to go down the ladder), you can also use WESD keys (yes, use "E" for left instead of "A")\n- There are 10 levels, they are all possible\n- Avoid spikes and water\n---> If you are on mobile, when the message "press a" appears, click on the bush instead and the message "press b", click on the leaves instead. To go down the ladder, go to the ladder and click it.\n__________________________________________\n\n  HELP TO PASS THE LEVELS:\n\n- Level 3 and 8: Just go down the ladder and go\n  on the button to lower the spikes, if it doesn't\n  work, it may be a bug that you can\n  report in the comments.\n- Level 5 and 9: You have to go in front of the bush and \n  click on "a" when the message appears, the character \n  will take some leaves, then you have to drop the\n  leaves at the right time, so that they\n  cover the spikes/ water by clicking "b", (after doing \n  this, it is possible to pass without falling on the\n  spikes.)\n- Level 7 (and not only): There is nothing special to do,\n  just manage to jump over the spikes.\n- Level 10: go down the ladder and press the\n  button that will raise the barrier that prevents\n  to reach the second button, then press this\n  second button.\n\n(Tell me if I need to add anything else)\n_________________________________________\n\nI apologize if you encountered any bugs, I managed to fix a large part, and when I test my game I don't have any, so if there are still some I won't be able to fix them (sorry) :/ I will officially stop adding any changes to this project.\n\nThank you for reading so far, feel free to write a comment so that I can improve next time or like if you enjoyed the game❤️⭐

@Stage\n\n@cloud variable\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nset [ghost v] effect to (pick random (40) to (75))\ngo to x: (-242) y: (pick random (28) to (-259))\nforever\n    repeat until <(x position) > [171]>\n        move (pick random (2) to (7)) steps\n    end\n    delete this clone\nend\n\nwhen I receive [start v]\nhide\nforever\n    wait (pick random (0.4) to (1.8)) seconds\n    create clone of (_myself_ v)\n    if <(level) = [14]> then\n        hide\n        stop [this script v]\n    end\nend\n\nwhen I receive [cave time! v]\nhide\ndelete this clone\n\nwhen I receive [end of cave! v]\nforever\n    wait (pick random (0.4) to (1.8)) seconds\n    create clone of (_myself_ v)\nend\n\n@Lava Variable\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to x: (70) y: (-200)\nforever\n    if <(level) < [5]> then\n        hide\n    else\n        if <(level) = [5]> then\n            switch costume to (1 v)\n            show\n        else\n            if <(level) = [10]> then\n                switch costume to (2 v)\n                go to x: (70) y: (-188)\n                \n            else\n                if <(level) > [10]> then\n                    hide\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [next level! v]\ndelete this clone\n\nwhen flag clicked\ngo to [back v] layer\nbroadcast (start v)\n\nwhen flag clicked\nforever\n    change y by (5)\n    wait (0.07) seconds\n    change y by (4)\n    wait (0.06) seconds\n    change y by (3)\n    wait (0.05) seconds\n    change y by (2)\n    wait (0.06) seconds\n    change y by (1)\n    wait (0.07) seconds\n    change y by (1)\n    wait (0.2) seconds\n    change y by (-5)\n    wait (0.07) seconds\n    change y by (-4)\n    wait (0.06) seconds\n    change y by (-3)\n    wait (0.05) seconds\n    change y by (-2)\n    wait (0.06) seconds\n    change y by (-1)\n    wait (0.07) seconds\n    change y by (-1)\n    wait (0.08) seconds\nend\n\n@Particle variable\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\ngo to x: (230) y: (pick random (230) to (-230))\nset [brightness v] effect to (pick random (-5) to (5))\nset [ghost v] effect to (pick random (50) to (75))\nshow\nrepeat until <(x position) < [-230]>\n    go to [back v] layer\n    move (-7.5) steps\nend\ndelete this clone\n\nwhen I receive [start v]\nforever\n    create clone of (_myself_ v)\n    wait (pick random (0.01) to (0.05)) seconds\nend\n\nwhen I receive [cave time! v]\n\nhide\n\ndelete this clone\n\ngo to [front v] layer\n\n@Platform Variable\n\nwhen I receive [start v]\ngo to x: (0) y: (0)\nshow\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen I receive [start v]\nforever\n    if <(level) = [14]> then\n        broadcast (Cave Time! v)\n    end\n    if <(level) = [19]> then\n        broadcast (End of cave! v)\n    end\nend\n\nwhen flag clicked\nbroadcast (Cave Time! v)\n\n@player variable\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 (-1)\n    change [ghost v] effect by (0)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to x: (-200) y: (-100)\nset size to (80) %\nswitch costume to (costume1 v)\nshow\nset [level v] to [1]\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [10]>>> then\n        change [xv v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [-10]>>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (platform variable v)?> then\n        change y by (1)\n        if <touching (platform variable v)?> then\n            change y by (1)\n            if <touching (platform variable v)?> then\n                change y by (1)\n                if <touching (platform variable v)?> then\n                    change y by (1)\n                    if <touching (platform variable v)?> then\n                        change y by (1)\n                        if <touching (platform variable v)?> then\n                            change x by ((Xv) * (-1))\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [12]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (platform variable v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform variable v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [yv v] to [12]\n            start sound (pick random (3) to (5))\n        end\n    end\n    if <touching (trampoline variable v)?> then\n        set [yv v] to [20]\n    end\n    change y by (1)\n    if <key (r v) pressed?> then\n        reset\n    end\n    if <<<(y position) < [-177]> or <touching (spike variable v)?>> or <touching (lava variable v)?>> then\n        start sound [Death v]\n        reset\n    end\n    if <(x position) > [230]> then\n        change [level v] by (1)\n        broadcast (Next level! v)\n        reset\n    end\nend\n\ndefine reset\ngo to x: (-200) y: (-100)\n\n@Spike Variable\n\nwhen I receive [start v]\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nhide\n\n@Sun variable\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (costume2 v)\ncreate clone of (_myself_ v)\nswitch costume to (costume1 v)\nwait (2) seconds\nswitch costume to (costume2 v)\ncreate clone of (_myself_ v)\nswitch costume to (costume1 v)\nwait (2) seconds\nswitch costume to (costume2 v)\ncreate clone of (_myself_ v)\nswitch costume to (costume1 v)\n\nwhen I start as a clone\ngo to [back v] layer\nset [ghost v] effect to (50)\nforever\n    repeat (100)\n        switch costume to (costume3 v)\n        change size by (1)\n        switch costume to (costume2 v)\n    end\n    repeat (100)\n        switch costume to (costume3 v)\n        change size by (-1)\n        switch costume to (costume2 v)\n    end\nend\n\n@trampoline variable\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    if <touching (player variable v)?> then\n        switch costume to (1 v)\n        repeat (3)\n            next costume\n            wait (0.001) seconds\n        end\n        repeat (3)\n            switch costume to ((costume [number v]) - (1))\n            wait (0.001) seconds\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    if <(level) < [6]> then\n        hide\n    else\n        if <(level) = [6]> then\n            show\n            go to x: (-91) y: (-104)\n        else\n            if <(level) = [9]> then\n                hide\n            else\n                if <(level) = [9]> then\n                    hide\n                else\n                    if <(level) = [19]> then\n                        show\n                        go to x: (0) y: (-100)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [next level! v]\ndelete this clone\n\nwhen flag clicked\nbroadcast (start v)\n\n@thumbnail variable\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [start v]\nforever\n    play sound [HealthyMusic v] until done\nend\n\nwhen flag clicked\nforever\n    show\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n