Harry Potter☻platformer

Instructions: Utilise les flèches.\nflèche du bas pour changer de couleur.\n\n\n          

@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\nwait (4) seconds\nswitch backdrop to (d25orzo-cf6653c3-b059-4c0d-b2bf-e5da8d046d5e v)\n\n@player\n\nwhen I start as a clone\nswitch costume to (trail  v)\nset size to (50) %\nset [ghost v] effect to (1)\nrepeat (10)\n    switch costume to (trail  v)\n    change size by (-10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nshow\nforever\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nswitch costume to (player 1 v)\nset [level v] to [1]\nshow\ngo to x: (-177) y: (-30)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<(mouse x) > (x position)> and <mouse down?>>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#1700c5)?> then\n        change y by (1)\n    end\n    if <touching color (#1700c5)?> then\n        change y by (1)\n    end\n    if <touching color (#1700c5)?> then\n        change y by (1)\n    end\n    if <touching color (#1700c5)?> then\n        change y by (1)\n    end\n    if <touching color (#1700c5)?> then\n        change y by (0)\n        change x by ((x) * (-1))\n        if <<<(mouse y) > (y position)> and <mouse down?>> or <key (up arrow v) pressed?>> then\n            set [y v] to [10]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching color (#1700c5)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<<(mouse y) > (y position)> and <mouse down?>> or <key (up arrow v) pressed?>> and <touching color (#1700c5)?>> then\n        set [y v] to [12]\n    end\n    change y by (1)\n    if <touching (spikes v)?> then\n        stop [all v]\n    end\n    if <touching (spikes2 v)?> then\n        stop [all v]\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-200) y: (-140)\n    end\n    if <(m) = [4]> then\n        stop [all v]\n    end\n    if <touching color (#13ff00)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen flag clicked\nshow\nset size to (50) %\n\nwhen flag clicked\nforever\n    if <(x position) > [240]> then\n        next backdrop\n        go to x: (-230) y: (-142)\n    end\n    if <touching color (#00ffc0)?> then\n        set [f v] to [1]\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        switch costume to (player2  v)\n    else\n        switch costume to (player3  v)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (player 1 v)\n    else\n        switch costume to (player3  v)\n    end\nend\n\nchange [y v] by (20)\n\nwhen flag clicked\nhide\nset [f v] to [0]\nforever\n    if <mouse down?> then\n        show\n    end\n    if <touching (bullet v)?> then\n        go to x: (-238) y: (-158)\n        set [f v] to [0]\n    end\n    if <touching color (#00ffc0)?> then\n        set [f v] to [1]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00ffc0)?> then\n        set [f v] to [1]\n    end\nend\n\nwhen backdrop switches to [4 v]\nforever\n    switch backdrop to (voldy v)\n    repeat (64)\n        wait (0.00000001) seconds\n        next backdrop\n    end\nend\n\nwhen [space v] key pressed\nstop all sounds\n\nwhen [down arrow v] key pressed\nchange [color v] effect by (25)\n\n@Button3\n\nwhen this sprite clicked\nswitch costume to (button3-b v)\nnext backdrop\nhide\n\nwhen flag clicked\nhide\nwait (4) seconds\nshow\nswitch costume to (button3-b v)\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (button3-a v)\n    else\n        switch costume to (button3-b v)\n    end\nend\n\n@f8eaae473a1019016bfaa8d680403a1d-d46wlah2\n\nwhen flag clicked\ngo to x: (-18) y: (149)\nhide\n\nwhen backdrop switches to [8yporh v]\nshow\n\nwhen backdrop switches to [4 v]\nhide\n\nwhen backdrop switches to [harry-potter-movies-on-netflix v]\nshow\ngo to x: (68) y: (-144)\n\nwhen backdrop switches to [2 v]\nhide\n\n@Bullet\n\nwhen I start as a clone\ngo to (f8eaae473a1019016bfaa8d680403a1d-d46wlah2 v)\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\npoint towards (player v)\nrepeat until <<touching (player v)?> or <touching (_edge_ v)?>>\n    move (10) steps\n    if <touching color (#1700c5)?> then\n        hide\n    end\nend\nset [xval v] to (x position)\nset [yval v] to (y position)\nbroadcast (ExplodeNow v)\nwait (.0000001) seconds\ndelete this clone\n\nwhen flag clicked\n\nwhen backdrop switches to [2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen backdrop switches to [8yporh v]\nhide\nforever\n    switch costume to (download 2  v)\n    hide\n    forever\n        create clone of (_myself_ v)\n        wait (0.6) seconds\n    end\nend\n\n@Arrow1\n\nwhen this sprite clicked\nswitch backdrop to (next backdrop v)\n\nwhen flag clicked\nhide\nwait (4) seconds\nshow\n\nswitch backdrop to (8 v)\n\n@2b50\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [4 v]\nshow\n\n@222\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [4 v]\nshow\n\n@Sprite1\n\nwhen backdrop switches to [4 v]\nshow\n\nwhen flag clicked\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [voldy v]\nshow\n\n@ej\n\nwhen flag clicked\nshow\npoint in direction (90)\nset size to (0) %\nrepeat (45)\n    change size by (3)\nend\nrepeat (48)\n    turn right (15) degrees\n    change [mosaic v] effect by (1)\nend\nforever\n    turn right (15) degrees\n    change [mosaic v] effect by (1)\n    change [ghost v] effect by (2)\n    change [pixelate v] effect by (2)\nend\n\nwhen [space v] key pressed\nhide\n\nwhen flag clicked\nwait (6) seconds\nstop [other scripts in sprite v]\nhide\n\nif <(x position) > [240]> then\n    next backdrop\n    go to x: (-230) y: (-142)\nend\nif <touching color (#00ffc0)?> then\n    set [f v] to [1]\nend\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.5) seconds\nend\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [9 v]\nshow\nswitch costume to (costume1 v)\nforever\n    glide (0.5) secs to x: (39) y: (-67)\n    glide (0.5) secs to x: (39) y: (-193)\nend\n\nwhen backdrop switches to [12 v]\nhide\n\nwhen backdrop switches to [10 v]\nswitch costume to (costume2 v)\nshow\nstop [other scripts in sprite v]\nforever\n    glide (0.5) secs to x: (33) y: (-13)\n    glide (0.5) secs to x: (33) y: (-110)\nend\n\nwhen backdrop switches to [11 v]\ngo to x: (33) y: (-113)\nswitch costume to (costume3 v)\nshow\nstop [other scripts in sprite v]\nforever\n    switch costume to (costume4 v)\n    wait (0.7) seconds\n    switch costume to (costume3 v)\n    wait (0.7) seconds\nend\n\n@Sprite4\n\nwhen backdrop switches to [14 v]\nshow\nforever\n    repeat (120)\n        change x by (3)\n    end\n    repeat (120)\n        change x by (-3)\n    end\nend\n\nwhen flag clicked\ngo to x: (3) y: (23)\nhide\n\nwhen backdrop switches to [4 v]\nhide\n\nswitch backdrop to (13 v)\n\n