Mito a Platformer #game#all#platformer

Instructions: J'arrete scratch!!!\n\n\n→→→→  Welcome to NaturePlatformer  ←←←←←\n::::::::WASD ou touche directionnelles ou en mobile:::::::::\nIl y a 11 niveau.\n                            AMUSEZ-VOUS !\n"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""\nObjectif top #16 des tendences\n10000 view it's imposible

@Stage\n\n@images\n\nwhen flag clicked\nswitch costume to (images v)\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (costume1 v)\nrepeat (25)\n    change [ghost v] effect by (20)\n    change size by (-3)\n    switch costume to (costume1 v)\nend\ndelete this clone\n\nwhen flag clicked\nset [brightness v] effect to (0)\ngo to x: (-203) y: (20)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    set [x v] to ((x) * (0.8))\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [0]>>> then\n        change [x v] by (1.5)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [0]>>> then\n        change [x v] by (-1.5)\n    end\n    change x by (x)\n    if <<touching (sprite1 v)?> or <touching (sprite5 v)?>> then\n        change y by (1)\n        if <<touching (sprite1 v)?> or <touching (sprite5 v)?>> then\n            change y by (1)\n            if <<touching (sprite1 v)?> or <touching (sprite5 v)?>> then\n                change y by (1)\n                if <<touching (sprite1 v)?> or <touching (sprite5 v)?>> then\n                    change y by (1)\n                    if <<touching (sprite1 v)?> or <touching (sprite5 v)?>> then\n                        change y by (-4)\n                        change x by ((x) * (-1))\n                        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > [-148]>>> then\n                            set [y v] to [10]\n                            if <([abs v] of (x) ) = (x)> then\n                                set [x v] to [-8]\n                            else\n                                set [x v] to [8]\n                            end\n                        else\n                            set [x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <<touching (sprite1 v)?> or <touching (sprite5 v)?>> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > [-148]>>> then\n        if <<touching (sprite1 v)?> or <touching (sprite5 v)?>> then\n            set [y v] to [13]\n        end\n    end\n    change y by (1)\n    if <(y position) < [-180]> then\n        repeat (5)\n            change [brightness v] effect by (10)\n            change size by (0.5)\n            change y by (6)\n            turn right (3) degrees\n        end\n        go to x: (-192) y: (6)\n        set [x v] to [0]\n        set [y v] to [0]\n        change size by (-2.5)\n        point in direction (90)\n        set [brightness v] effect to (0)\n    end\n    if <<touching (sprite3 v)?> or <<touching (sprite4 v)?> or <touching (sprite2 v)?>>> then\n        repeat (5)\n            change [brightness v] effect by (10)\n            change size by (0.5)\n            change y by (6)\n            turn right (3) degrees\n        end\n        go to x: (-192) y: (6)\n        set [x v] to [0]\n        set [y v] to [0]\n        change size by (-2.5)\n        point in direction (90)\n        set [brightness v] effect to (0)\n    end\n    if <(x position) = [245]> then\n        broadcast (niveau v)\n        go to x: (-192) y: (6)\n        set [x v] to [0]\n        set [y v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Pirates-des-Caraïbes v] until done\nend\n\nwhen flag clicked\npoint in direction (90)\n\nset [☁ world record v] to [100]\n\n@Sprite1\n\nwhen I receive [niveau v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\nrepeat until <(costume [number v]) = [12]>\n    change [temps v] by (1)\n    wait (1) seconds\n    change [temps v] by (1)\n    wait (1) seconds\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [12]> then\n        show variable [temps v]\n    end\nend\n\nwhen flag clicked\nhide variable [☁ name of player v]\nset [☁ world record v] to (☁ world record)\nhide variable [☁ world record v]\nset [temps v] to [0]\nhide variable [world record v]\nhide variable [temps v]\nhide variable [x v]\nhide variable [y v]\nhide variable [my variable v]\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [12]> then\n        show variable [☁ world record v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [12]> then\n        if <(TEMPS) < (☁ world record)> then\n            set [☁ world record v] to (TEMPS)\n        end\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    turn right (6) degrees\nend\n\nwhen I receive [niveau v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\n@Sprite3\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [front v] layer\n\nwhen I receive [niveau v]\nnext costume\n\n@Sprite4\n\nwhen flag clicked\ngo to [back v] layer\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (37) y: (53)\nforever\n    glide (1.5) secs to x: (37) y: (55)\n    wait (0.5) seconds\n    glide (1.5) secs to x: (37) y: (25)\n    wait (0.5) seconds\nend\n\nwhen I receive [niveau v]\nnext costume\n\n@Sprite5\n\nwhen flag clicked\ngo to x: (36) y: (28)\nforever\n    glide (2.5) secs to x: (36) y: (121)\n    wait (0.5) seconds\n    glide (2.5) secs to x: (36) y: (28)\n    wait (0.5) seconds\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [niveau v]\nnext costume\n\n@Sprite6\n\nwhen flag clicked\nforever\n    show\n    go to [front v] layer\n    change [ghost v] effect by (100)\nend\n\n@Sprite7\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (36) y: (28)\nforever\n    glide (1) secs to x: (36) y: (40)\n    wait (0.1) seconds\n    glide (1) secs to x: (36) y: (28)\n    wait (0.1) seconds\nend\n\n