**platformer night**
@Stage\n\nwhen I receive [lumière v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (arrière plan1 v)\n\n@Cube\n\nwhen I start as a clone\nswitch costume to (clone v)\nrepeat (10)\n    change size by (-5)\n    change [ghost v] effect by (10)\n    change [brightness v] effect by (10)\nend\ndelete this clone\n\ndefine Mort subite\nif <<touching color (#505050)?> or <touching color (#ff00d5)?>> then\n    set [exit v] to [mort subite]\nend\n\ndefine Position\ngo to x: ((x) - (Scroll x)) y: ((y) - (Scroll y))\n\ndefine Game Die\nset [exit v] to []\nrepeat (25)\n    change [ghost v] effect by (4)\nend\n\ndefine Change Player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nMort subite\nrepeat until <not <touching (platformes v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [player: sy v] to [0]\nend\n\ndefine Change Player x by (sx)\nchange [x v] by (sx)\nPosition\nMort subite\nif <touching (platformes v)?> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <touching (platformes v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    repeat until <not <touching (platformes v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\nwhen flag clicked\nclear graphic effects\nswitch costume to (-> v)\nforever\n    create clone of (_myself_ v)\nend\n\ndefine Tick\nif <key (left arrow v) pressed?> then\n    Change Player x by [-8]\n    switch costume to (<- v)\nend\nif <key (right arrow v) pressed?> then\n    Change Player x by [8]\n    switch costume to (-> v)\nend\nif <<key (up arrow v) pressed?> or <key (space v) pressed?>> then\n    if <(In air) < [4]> then\n        change [player: sy v] by (6.5)\n    end\nend\nchange [player: sy v] by (-2)\nChange Player y by (Player: sy)\nset [scroll x v] to (x)\nPosition\nif <(y) < [-195]> then\n    switch costume to (<- v)\n    set [exit v] to [die]\nend\n\nwhen I receive [play game v]\nset [level v] to [1]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Game On\n    repeat until <(Exit) > [50]>\n        Tick\n        broadcast (Tick v) and wait\n    end\n    Game Die\n    set [ghost v] effect to (0)\nend\n\ndefine Game On\nset [x v] to [0]\nset [y v] to [0]\nset [player: sy v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nshow\n\nwhen I receive [green flag v]\nhide\ngo to [front v] layer\n\nwhen flag clicked\nswitch costume to (<- v)\nbroadcast (Green Flag v) and wait\nbroadcast (Play Game v) and wait\n\nwhen flag clicked\nshow\nforever\n    play sound [Cartoon - On & On \(feat v] until done\nend\n\nwhen I start as a clone\nswitch costume to (clone v)\nforever\n    if <key (right arrow v) pressed?> then\n        change x by (-10)\n    else\n        if <key (left arrow v) pressed?> then\n            change x by (10)\n        end\n    end\nend\n\nwhen I receive [parametre v]\nhide\n\nwhen I receive [fin p v]\nshow\n\nwhen I receive [couleur+ v]\nchange [color v] effect by (25)\n\n@Platformes\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen flag clicked\ndelete this clone\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [tick v]\nposition ((x) - (Scroll x)) ((y) - (Scroll y))\n\nwhen I receive [setup v]\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (0-1 v)\ncreate clone of (_myself_ v)\nchange [x v] by (600)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (565)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (550)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (575)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (505)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (400)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (500)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (500)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (500)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (500)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (500)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (500)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (500)\nnext costume\n\nwhen I receive [green flag v]\nshow\n\nwhen flag clicked\n\nforever\n    if <(costume [number v]) = [8]> then\n        broadcast (niv suiv v)\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    end\nend\n\n@thumbail\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\n\n@Sprite1\n\nwhen flag clicked\nforever\n    go to x: (280) y: (91)\n    show\n    glide (2.5) secs to x: (-189) y: (92)\n    hide\n    wait (1) seconds\n    wait (1) seconds\n    wait (1) seconds\nend\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (costume1 v)\n\nwhen I receive [lumière v]\nnext costume\n\n@Sprite2\n\nwhen flag clicked\nforever\n    hide\n    wait (1) seconds\n    go to x: (277) y: (15)\n    show\n    glide (2.5) secs to x: (-248) y: (11)\n    hide\n    wait (1) seconds\n    wait (1.5) seconds\nend\n\nwhen I receive [lumière v]\nnext costume\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (costume1 v)\n\n@Sprite3\n\nwhen flag clicked\nforever\n    hide\n    wait (1) seconds\n    wait (1) seconds\n    go to x: (218) y: (55)\n    show\n    glide (2.5) secs to x: (-252) y: (62)\n    hide\n    wait (1) seconds\n    wait (1) seconds\nend\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (costume1 v)\n\nwhen I receive [lumière v]\nnext costume\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (-199) y: (-145)\nset size to (25) %\nshow\n\nwhen this sprite clicked\nbroadcast (parametre v)\nhide\n\nwhen I receive [fin p v]\nshow\n\n@Sprite5\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [parametre v]\ngo to [front v] layer\nshow\n\nwhen I receive [fin p v]\nhide\n\n@Button1\n\nwhen I receive [parametre v]\nwait (0.01) seconds\ngo to [front v] layer\nshow\n\nwhen this sprite clicked\nbroadcast (fin p v)\nhide\n\nwhen flag clicked\nhide\n\n@Button2\n\nwhen this sprite clicked\nbroadcast (couleur+ v)\n\nwhen I receive [fin p v]\nhide\n\nwhen I receive [parametre v]\nshow\nwait (0.02) seconds\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\n@Button3\n\nwhen I receive [parametre v]\nshow\nwait (0.02) seconds\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\nwhen I receive [fin p v]\nhide\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nbroadcast (lumière v)\n\n
it's a platformer