Colorless - A Platformer

Instructions: Hello hoomans! \n\nStory- \nThere was once a world full of happiness and colour... there were no words as sorrow or dark in that world. But one day a person started a small fight that spread into a big one. And now there are no words as happiness or colour in this world. You young traveller must find the reason for the fight and unite the world again...\n\n\n\npart 2 coming soon! ?\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\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\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\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\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\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\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\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\nNothing is here!!! XD

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    play sound [Fareoh - Under Water v] until done\nend\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <<touching (sprite3 v)?> or <<touching (sprite5 v)?> or <<touching (sprite6 v)?> or <<touching (sprite7 v)?> or <<touching (sprite8 v)?> or <<touching (sprite9 v)?> or <touching (sprite10 v)?>>>>>>> then\n        play sound [Hurt v] until done\n        repeat (10)\n            change size by (-8)\n        end\n        go to x: (-200) y: (-115)\n        set size to (100) %\n    end\nend\n\nwhen flag clicked\nbroadcast (flag v)\nset [level v] to [1]\ngo to x: (0) y: (0)\ngo to x: (-200) y: (-55)\nforever\n    change [speed y v] by (-1)\n    change y by (speed y)\n    touch ground <(speed y) > [0]>\n    set rotation style [left-right v]\n    if on edge, bounce\nend\n\ndefine walk (direction) (speed)\npoint in direction (direction)\nchange x by (speed)\nset [slopes v] to [0]\nrepeat until <<(slopes) = [8]> or <not <touching (sprite2 v)?>>>\n    change y by (2)\n    change [slopes v] by (1)\nend\nif <(slopes) = [8]> then\n    change x by (() - (speed))\n    change y by (() - (slopes))\n    if <<key (up arrow v) pressed?> and <([abs v] of (speed) ) > [0]>> then\n        if <(wall jump) = [0]> then\n            set [speed x v] to ((-1.2) * (speed))\n            set [speed y v] to [12]\n            set [falling? v] to [6]\n            set [wall jump v] to [5]\n        end\n    else\n        set [speed x v] to [0]\n    end\nend\n\nwhen I receive [mouse click \( jump event \) v]\nset [speed y v] to [12]\n\nwhen flag clicked\nforever\n    game\nend\n\ndefine touch ground <up?>\nchange [falling? v] by (1)\nrepeat until <not <touching (sprite2 v)?>>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling? v] to [0]\n    end\n    set [speed y v] to [0]\nend\n\ndefine game\nif <touching (sprite4 v)?> then\n    broadcast (new level v)\n    change [level v] by (1)\n    go to x: (-175) y: (-130)\nend\nif <(wall jump) > [0]> then\n    change [wall jump v] by (-1)\nelse\n    if <key (right arrow v) pressed?> then\n        change [speed x v] by (2)\n        set [direction v] to [90]\n    end\n    if <key (left arrow v) pressed?> then\n        change [speed x v] by (-2)\n        set [direction v] to [-90]\n    end\nend\nset [speed x v] to ((speed x) * (0.8))\nwalk (direction) (speed x)\nif <key (up arrow v) pressed?> then\n    if <<(jump key) = [0]> and <(falling?) < [3]>> then\n        set [speed y v] to [14]\n        set [falling? v] to [6]\n        set [jump key v] to [1]\n    end\nelse\n    set [jump key v] to [0]\nend\n\nwhen flag clicked\nhide variable [direction v]\nhide variable [frame v]\nhide variable [jump key v]\nhide variable [slopes v]\nhide variable [speed v]\nhide variable [speed x v]\nhide variable [speed y v]\nhide variable [wall jump v]\nhide variable [falling? v]\n\nwhen flag clicked\nshow\nforever\n    if <(x position) > [247]> then\n        change [level v] by (1)\n        change [speed x v] by (0)\n        change [speed y v] by (0)\n    end\nend\n\n@Sprite2\n\nwhen I receive [new level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume4 v)\n\n@Sprite4\n\nwhen I receive [oh v]\nshow\n\nwhen flag clicked\nshow\nforever\n    if <(level) = [8]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        go to x: (10) y: (-149)\n    end\n    if <(level) = [2]> then\n        go to x: (12) y: (91)\n    end\n    if <(level) = [3]> then\n        go to x: (-339) y: (58)\n    end\n    if <(level) = [4]> then\n        go to x: (-13) y: (36)\n    end\n    if <(level) = [5]> then\n        go to x: (57) y: (-91)\n    end\n    if <(level) = [6]> then\n        go to x: (55) y: (-127)\n    end\n    if <(level) = [7]> then\n        go to x: (-22) y: (39)\n    end\nend\n\n@Sprite3\n\nwhen I receive [oh v]\nshow\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nhide\n\n@Sprite5\n\nwhen I receive [oh v]\nshow\n\nwhen flag clicked\nforever\n    if <(level) = [2]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite6\n\nwhen I receive [oh v]\nshow\n\nwhen flag clicked\nforever\n    if <(level) = [3]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite7\n\nwhen I receive [oh v]\nshow\n\nwhen flag clicked\nforever\n    if <(level) = [4]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite8\n\nwhen I receive [oh v]\nshow\n\nwhen flag clicked\nforever\n    if <(level) = [5]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite9\n\nwhen I receive [oh v]\nshow\n\nwhen flag clicked\nforever\n    if <(level) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite10\n\nwhen I receive [oh v]\nshow\n\nwhen flag clicked\nforever\n    if <(level) = [7]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite12\n\nwhen flag clicked\nshow\nforever\n    if <(level) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(level) = [3]> then\n        switch costume to (costume3 v)\n    end\n    if <(level) = [4]> then\n        switch costume to (costume4 v)\n    end\n    if <(level) = [5]> then\n        switch costume to (costume5 v)\n    end\n    if <(level) = [6]> then\n        switch costume to (costume6 v)\n    end\n    if <(level) = [7]> then\n        switch costume to (costume7 v)\n    end\n    if <(level) = [8]> then\n        hide\n    end\nend\n\n@Sprite11\n\nwhen flag clicked\nset [ghost v] effect to (0)\nshow\ngo to [front v] layer\nwait (2) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\n\n