WHITE|| a platformer  

Instructions: Français: \n\nVoici mon platformer pour le concours de @madrid2030\n15 levels tous possible \n95% par moi, car pour la vignette qui  bouge et la vignette comment  c’est @Romain57330 \nArt 100% par moi \nCode 100% par moi \nCredit : suivez moi et @Romain57330. \nPartit 2 si \n00/80 cœurs\n00/60 étoiles \n00/2 vues \n#1en tendance  stp \n29/01/22 : jeu sortit \n09/01/23 : reshare for less bug\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n@KING_OF_PLATFORMER AND @ROMAIN57330\n \n

@Stage\n\nwhen flag clicked\nforever\n    play sound [Marshmello - FLY \(Official Music Video\) v] until done\nend\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    go to x: (0) y: (0)\nend\n\nwhen I receive [niveau  v]\nhide\nnext costume\n\nwhen flag clicked\nforever\n    if <touching (player  v)?> then\n        broadcast (Mort v)\n    end\nend\n\nwhen I receive [niveau + v]\nshow\nforever\n    if <touching (player  v)?> then\n        broadcast (Mort v)\n    end\nend\n\n@Plateforme \n\nwhen I receive [niveau  v]\nnext costume\nwait (0.5) seconds\nchange [niveau v] by (1)\n\nwhen flag clicked\nbroadcast (Start  v)\nhide\nset [niveau v] to [1]\n\nwhen I receive [start  v]\ngo to x: (0) y: (0)\nshow\nswitch costume to (costume 12 v)\n\nwhen I receive [niveau - 1 v]\n\n\n\nwhen I receive [niveau  v]\n\nnext costume\n\nswitch costume to <(costume [number v]) = [-1]>\nchange [niveau v] by (-1)\n\nwhen I receive [niveau + v]\nshow\n\nwhen I receive [niveau  v]\nhide\n\nshow\n\nwhen flag clicked\nforever\n    if <(Niveau) = [16]> then\n        broadcast (Go v)\n    end\nend\n\n@Player \n\nwhen I receive [niveau + v]\ngo to x: (-183) y: (-64)\n\nwhen I receive [mort v]\n\nwhen flag clicked\nset [mort v] to [0]\nhide\n\nwhen I receive [mort v]\ngo to x: (-183) y: (-64)\n\nwhen I receive [start  v]\nswitch costume to (button3-a v)\n\nwhen I receive [start  v]\nset rotation style [left-right v]\nshow\ngo to x: (-183) y: (-64)\nset size to (10) %\nforever\n    go to [front v] layer\n    set [x_x v] to [0]\n    set [y_y v] to [0]\n    forever\n        change [y_y v] by (-1)\n        set [x_x v] to ((X_X) * (0.9))\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n            point in direction (90)\n            switch costume to (button3-a2 v)\n            change [x_x v] by (1)\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n            switch costume to (button3-a3 v)\n            change [x_x v] by (-1)\n        end\n        change x by (X_X)\n        if <touching (plateforme  v)?> then\n            change y by (1)\n        end\n        if <touching (plateforme  v)?> then\n            change y by (1)\n        end\n        if <touching (plateforme  v)?> then\n            change y by (1)\n        end\n        if <touching (plateforme  v)?> then\n            change y by (1)\n        end\n        if <touching (plateforme  v)?> then\n            change y by (-4)\n            change x by ((X_X) * (-1))\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                set [y_y v] to [10]\n                if <([abs v] of (X_X) ) = (X_X)> then\n                    set [x_x v] to [-4]\n                else\n                    set [x_x v] to [4]\n                end\n            else\n                set [x_x v] to [0]\n            end\n            switch costume to (button3-a4 v)\n        end\n        change y by (Y_Y)\n        if <touching (plateforme  v)?> then\n            change y by ((Y_Y) - ((Y_Y) * (2)))\n            set [y_y 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)>>> and <touching (plateforme  v)?>> then\n            change [y_y v] by (14)\n        end\n        change y by (1)\n    end\nend\n\ngo to x: (-208) y: (48)\n\nset size to (150) %\n\nwhen I start as a clone\n\nwhen I receive [start  v]\nforever\n\nset rotation style [left-right v]\n\nset rotation style [left-right v]\nset size to (110) %\ngo to x: (-208) y: (48)\nchange [mort v] by (1)\n\nset [brightness v] effect to (-100)\nset rotation style [all around v]\nrepeat (10)\n    turn right (3) degrees\n    change size by (-3)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nforever\n    switch costume to (button3-a v)\nend\n\npoint in direction (-90)\n\nwhen I receive [niveau  v]\n\nhide\n\nwhen I receive [niveau + v]\nshow\n\nwhen flag clicked\nforever\n    wait (0.0025) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    repeat (5)\n        change [ghost v] effect by (12)\n        change size by (-0.5)\n        change [brightness v] effect by (20)\n    end\n    delete this clone\nend\n\nwait (0.09) seconds\n\n@Sprite1\n\nwhen I receive [niveau + v]\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nforever\n    if <touching (player  v)?> then\n        broadcast (Niveau  v)\n        wait until <not <touching (player  v)?>>\n    end\nend\n\nwhen I receive [niveau + v]\nshow\n\nwhen I receive [niveau  v]\nnext costume\nhide\n\n@Saw lava and  dancing spikes and enemy\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    switch costume to (Niveau)\nend\n\nwhen I receive [niveau  v]\nhide\nnext costume\n\nwhen flag clicked\nforever\n    if <touching (player  v)?> then\n        broadcast (Mort v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Niveau) = [1]> then\n        hide\n    end\n    if <(Niveau) = [2]> then\n        hide\n    end\n    if <(Niveau) = [3]> then\n        hide\n    end\n    if <(Niveau) = [4]> then\n        hide\n    end\n    if <(Niveau) = [5]> then\n        hide\n    end\n    if <(Niveau) = [6]> then\n        hide\n    end\n    if <(Niveau) = [7]> then\n        show\n        set size to (100) %\n        go to x: (2) y: (-96)\n        turn right (3) degrees\n    end\n    if <(Niveau) = [8]> then\n        show\n        set size to (100) %\n        go to x: (8) y: (-90)\n        turn right (3) degrees\n    end\n    if <(Niveau) = [9]> then\n        show\n        point in direction (90)\n        go to x: (26) y: (-68)\n        repeat (10)\n            change y by (1)\n        end\n        wait (0.25) seconds\n        repeat (10)\n            change y by (-1)\n        end\n    end\n    if <(Niveau) = [10]> then\n        show\n        go to x: (0) y: (-100)\n        repeat (20)\n            turn right (6) degrees\n            change x by (-5)\n        end\n        repeat (20)\n            change x by (5)\n            turn left (-6) degrees\n        end\n    end\n    if <(Niveau) = [11]> then\n        show\n        go to x: (164) y: (-104)\n        turn right (2) degrees\n    end\n    if <(Niveau) = [12]> then\n        point in direction (90)\n        go to x: (30) y: (-63)\n        show\n        go to [back v] layer\n        repeat (10)\n            change y by (1)\n        end\n        wait (0.25) seconds\n        repeat (10)\n            change y by (-1)\n        end\n    end\n    if <(Niveau) = [13]> then\n        go to [back v] layer\n        go to x: (-7) y: (-27)\n        repeat (10)\n            change y by (1)\n        end\n        wait (0.25) seconds\n        repeat (10)\n            change y by (-1)\n        end\n    end\n    if <(Niveau) = [14]> then\n        show\n        go to x: (11) y: (174)\n        wait (0.25) seconds\n        repeat (15)\n            change y by (-5)\n        end\n        wait (0.25) seconds\n        repeat (15)\n            change y by (5)\n        end\n        wait (0.25) seconds\n    end\n    if <(Niveau) = [15]> then\n        show\n        go to [back v] layer\n        go to [back v] layer\n        set size to (20) %\n        go to x: (13) y: (-66)\n        wait (0.25) seconds\n        repeat (30)\n            change x by (-3)\n        end\n        repeat (30)\n            change x by (3)\n        end\n        wait (0.25) seconds\n    end\n    if <(Niveau) = [9]> then\n    if <(Niveau) = [9]> then\nend\n\ngo to x: (0) y: (0)\n\nshow\nshow\nshow\nshow\n\nhide\nhide\nhide\nhide\n\nturn right (3) degrees\n\nwait (0.25) seconds\n\nwait (0.25) seconds\n\nwhen I receive [niveau + v]\nshow\n\nwait (0.25) seconds\n\n@Sprite2\n\nwhen flag clicked\nforever\n    if <(Niveau) = [9]> then\n        hide\n        wait (0.075) seconds\n        create clone of (_myself_ v)\n    end\n    if <(Niveau) = [12]> then\n        hide\n        wait (0.075) seconds\n        create clone of (_myself_ v)\n    end\n    if <(Niveau) = [13]> then\n        hide\n        wait (0.075) seconds\n        create clone of (_myself_ v)\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <(Niveau) = [9]> then\n        switch costume to (pick random (1) to (2))\n        set size to (pick random (2) to (10)) %\n        set [ghost v] effect to (pick random (50) to (90))\n        go to x: (pick random (-10) to (100)) y: (0)\n        repeat (pick random (20) to (50))\n            change y by (1)\n            change [ghost v] effect by (1)\n        end\n        delete this clone\n    end\nend\n\nrepeat (10)\n\nwhen I start as a clone\nshow\nforever\n    if <(Niveau) = [12]> then\n        switch costume to (pick random (1) to (2))\n        set size to (pick random (2) to (10)) %\n        set [ghost v] effect to (pick random (50) to (90))\n        go to x: (pick random (-70) to (190)) y: (0)\n        repeat (pick random (20) to (50))\n            change y by (1)\n            change [ghost v] effect by (1)\n        end\n        delete this clone\n    end\nend\n\ndelete this clone\n\nwhen flag clicked\nforever\n    hide\nend\n\nwhen I start as a clone\nforever\n    if <<<(Niveau) = [9]> or <(Niveau) = [13]>> or <(Niveau) = [12]>> then\n        show\n    else\n        hide\n        delete this clone\n    end\nend\n\nwhen I start as a clone\nshow\nforever\n    if <(Niveau) = [13]> then\n        switch costume to (pick random (1) to (2))\n        set size to (pick random (2) to (10)) %\n        set [ghost v] effect to (pick random (50) to (90))\n        go to x: (pick random (-20) to (20)) y: (0)\n        repeat (pick random (50) to (100))\n            change y by (3)\n            change [ghost v] effect by (1)\n        end\n        delete this clone\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\n\nwhen I receive [niveau  v]\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\n    go to [front v] layer\nend\nbroadcast (Niveau + v)\nwait (1) seconds\nbroadcast (Niveau + v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    go to [front v] layer\nend\ngo to [front v] layer\ngo to [front v] layer\ngo to [front v] layer\nshow\nwait (0.75) seconds\nhide\n\nchange [color v] effect by (25)\n\n@Plateforme 2\n\nwhen I receive [niveau  v]\nnext costume\n\nwhen flag clicked\n\nwhen I receive [start  v]\ngo to x: (0) y: (0)\nshow\nswitch costume to (costume 12 v)\n\nwhen I receive [niveau - 1 v]\n\n\n\nwhen I receive [niveau  v]\n\nnext costume\n\nswitch costume to <(costume [number v]) = [-1]>\nchange [niveau v] by (-1)\n\nwhen I receive [niveau + v]\nshow\n\nwhen I receive [niveau  v]\nhide\n\nshow\n\n@ Moment \n\nwhen flag clicked\nshow\nhide\ngo to x: (0) y: (0)\nset size to (100) %\nswitch costume to (costume1 v)\nswitch backdrop to (arrière-plan1 v)\npoint in direction (90)\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    switch costume to (costume2 v)\n    glide (1) secs to x: (0) y: (97)\nelse\n    switch costume to (costume1 v)\n    glide (1) secs to x: (0) y: (0)\nend\n\nwhen I receive [go v]\nshow\n\n@Le truc qui présent \n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (costume2 v)\nset [ghost v] effect to (0)\nwait (0.3) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ngo to x: (0) y: (180)\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.0001)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen [timer v] > (0.0001)\nrepeat until <(y position) < [0]>\n    go to [front v] layer\n    change y by (((0) - (y position)) / (3))\nend\n\nwhen I receive [mort v]\n\nswitch costume to (costume1 v)\n\n