Colour a platformer 

Instructions: Hello guys ! Today i share a new project : Colour a platformer !!\nMove with arrow kews or mobile controls and avoid spikes.\nGood luck !\n@CMlukian\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\n\n\nComment « CMlukian is the best scratcher for make platformers »

@Stage\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [color v] effect by (25)\nend\n\n@Sprite1\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [color v] effect by (25)\nend\n\nwhen I receive [new costume v]\nnext costume\n\nwhen flag clicked\nshow\ngo to x: (36) y: (28)\nswitch costume to (costume1 v)\n\nwhen I receive [stop but... v]\nhide\n\n@Sprite3\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [color v] effect by (25)\nend\n\nwhen flag clicked\nswitch costume to (costume2 v)\ngo to x: (-193) y: (161)\nset [ghost v] effect to (0)\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [x v] by (1.5)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1.5)\n    end\n    set [x v] to ((X) * (.9))\n    change x by (X)\n    if <touching (sprite2 v)?> then\n        change y by (1)\n        if <touching (sprite2 v)?> then\n            change y by (1)\n            if <touching (sprite2 v)?> then\n                change y by (1)\n                if <touching (sprite2 v)?> then\n                    change y by (1)\n                    if <touching (sprite2 v)?> then\n                        if <touching (sprite2 v)?> then\n                            change x by ((X) * (-1))\n                            change x by (-5)\n                            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-7]\n                                else\n                                    set [x v] to [7]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                        change y by (1)\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (sprite2 v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching (sprite2 v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            change [y v] by (12)\n        end\n    end\n    change y by (1)\n    if <(x position) > [230]> then\n        set [y v] to [0]\n        set [x v] to [0]\n        go to x: (-193) y: (161)\n        broadcast (New costume v)\n    end\n    if <touching (sprite1 v)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        set [ghost v] effect to (0)\n        set [x v] to [0]\n        set [y v] to [0]\n        go to x: (-193) y: (161)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Alan Walker - Play \(Lyrics\) ft v] until done\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (costume1 v)\nrepeat (10)\n    change size by (-3)\n    change [ghost v] effect by (15)\nend\ndelete this clone\n\n@Sprite2\n\nwhen flag clicked\nforever\n    wait (1) seconds\n    change [color v] effect by (25)\nend\n\nwhen flag clicked\nshow\ngo to x: (36) y: (28)\nswitch costume to (costume1 v)\n\nwhen I receive [new costume v]\nnext costume\n\n@Sprite4\n\nwhen flag clicked\nshow\nforever\n    set size to (100) %\n    set [ghost v] effect to (100)\nend\n\n