NINJA - Platformer [mobile friendly] UDAPTE

Instructions: NINJA - Platformer [mobile friendly]\n\nThis new *ninja* platformer , but it’s very classic ( just spike , block and hole ). \nPart 2 :\nhttps://scratch.mit.edu/projects/646932115\nPART 3  :\nhttps://scratch.mit.edu/projects/648563068\nPart 4 OUT :\nhttps://scratch.mit.edu/projects/662055641\n\nTouch :\n➡️ - a \n⬅️ - d\n⬆️ - w\nand tactical \n\n@Story :\nTo become a ninja, you have to discover the world…and thwart the trap on the way. You, who reads his line, are you ready to help him ? If so, let's go ! 

@Stage\n\nwhen flag clicked\nplay sound [Vexento - Tevo \(Original Mix\) v] until done\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        switch backdrop to (arrière-plan1 v)\n    else\n        switch backdrop to (arrière-plan2 v)\n    end\nend\n\n@Player\n\nwhen flag clicked\ngo to x: (-200) y: (-45)\nset size to (100) %\nset [level v] to [1]\nset [xv v] to [0]\nset [yv v] to [0]\nhide variable [level v]\nhide variable [xv v]\nhide variable [yv v]\nforever\n    change [yv v] by (-1)\n    if <<<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> or <key (d v) pressed?>> then\n        change [xv v] by (0.9)\n    end\n    if <<<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> or <key (a v) pressed?>> then\n        change [xv v] by (-0.9)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (sprite1 v)?> then\n        change y by (1)\n    end\n    if <touching (sprite1 v)?> then\n        change y by (1)\n    end\n    if <touching (sprite1 v)?> then\n        change y by (1)\n    end\n    if <touching (sprite1 v)?> then\n        change y by (1)\n    end\n    if <touching (sprite1 v)?> then\n        change y by (-4)\n        change x by ((Xv) * (-1))\n        if <<<key (up arrow v) pressed?> or <mouse down?>> or <key (w v) pressed?>> then\n            set [yv v] to [14]\n            if <(Xv) > [0]> then\n                set [xv v] to [-10]\n            else\n                set [xv v] to [10]\n            end\n        end\n    end\n    change y by (Yv)\n    if <touching (sprite1 v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> or <key (w v) pressed?>> and <touching (sprite1 v)?>> then\n        change [yv v] by (14)\n    end\n    change y by (1)\n    if <(x position) > [240]> then\n        change [level v] by (1)\n        go to x: (-200) y: (-45)\n    end\n    if <<<touching (ennemi v)?> or <<touching (sprite4 v)?> or <touching (lava v)?>>> or <(y position) < [-150]>> then\n        repeat (10)\n            change [brightness v] effect by (5)\n            change size by (2.5)\n        end\n        clear graphic effects\n        set size to (100) %\n        go to x: (-200) y: (-45)\n    end\nend\n\nwhen flag clicked\n\nwhen I start as a clone\nrepeat (10)\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I receive [heu v]\ngo to x: (-200) y: (-45)\n\nwhen flag clicked\nhide variable [☁ views v]\nchange [☁ views v] by (1)\n\n@Sprite1\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\ngo to [back v] layer\nforever\n    create clone of (_myself_ v)\n    wait (0.01) seconds\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\ngo to (player v)\nrepeat (10)\n    wait (0.01) seconds\n    change size by (-5)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\n@Sprite3\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nclear graphic effects\nforever\n    change [fisheye v] effect by (-25)\n    change [whirl v] effect by (25)\n    wait (0.25) seconds\n    change [fisheye v] effect by (25)\n    change [whirl v] effect by (-25)\n    wait (0.25) seconds\nend\n\n@Sprite4\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    switch costume to (Level)\nend\n\n@Sprite5\n\nwhen flag clicked\nclear graphic effects\ngo to x: (36) y: (28)\n\nwhen this sprite clicked\nbroadcast (Heu v)\nchange [level v] by (1)\n\nwhen this sprite clicked\nchange [brightness v] effect by (25)\nwait (0.10) seconds\nchange [brightness v] effect by (-25)\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        hide\n    else\n        show\n    end\nend\n\n@Sprite6\n\n@Sprite7\n\nwhen flag clicked\ngo to [front v] layer\nhide\nforever\n    wait (pick random (0) to (2)) seconds\n    create clone of (_myself_ v)\n    next costume\nend\n\nwhen I start as a clone\ngo to [front v] layer\nset size to (pick random (75) to (125)) %\nclear graphic effects\nset [ghost v] effect to (pick random (0) to (50))\ngo to x: (250) y: (pick random (100) to (150))\nshow\nrepeat (100)\n    change x by (-5)\n    wait (0.01) seconds\nend\ndelete this clone\n\n@Sprite8\n\nwhen flag clicked\nhide\n\n