Pixel Cat World || A platformer #games 
@Stage\n\nwhen flag clicked\nswitch backdrop to (n v)\n\n@player\n\nwhen flag clicked\nhide\n\nwhen flag clicked\npoint in direction (90)\nforever\n    if <(x position) = [268]> then\n        broadcast (--next-- v)\n    end\nend\n\ndefine ir a punto inicial\ngo to x: (-193) y: (-27)\n\nwhen flag clicked\nforever\n    if <<touching color (#066900)?> or <touching color (#9a9a9a)?>> then\n        ir a punto inicial\n    end\nend\n\nwhen [right arrow v] key pressed\npoint in direction (90)\n\nwhen [left arrow v] key pressed\npoint in direction (-90)\n\nwhen I receive [--next-- v]\nir a punto inicial\n\nwhen flag clicked\npoint in direction (90)\nforever\n    if <(y position) = [-194]> then\n        ir a punto inicial\n    end\nend\n\nwhen backdrop switches to [world 1 v]\nshow\ngo to x: (-193) y: (-27)\nset [x v] to [0]\nset [y. v] to [0]\n\nwhen backdrop switches to [world 1 v]\nforever\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    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    change x by (X)\n    if <<touching color (#38ff00)?> or <<touching color (#b3eeff)?> or <touching color (#ffa800)?>>> then\n        change x by ((X) * (-1))\n        set [x v] to [0]\n    else\n        set [x v] to ((X) * (0.8))\n    end\n    change y by (Y.)\n    if <<touching color (#38ff00)?> or <<touching color (#b3eeff)?> or <touching color (#ffa800)?>>> then\n        change y by ((Y.) * (-1))\n        set [y. v] to [0]\n        if <(collission) = [0]> then\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                set [y. v] to [12]\n                set [collission v] to [1]\n            end\n        end\n    else\n        change [y. v] by (-1)\n        set [collission v] to [0]\n    end\nend\n\nwhen backdrop switches to [world 2 v]\nshow\ngo to x: (-193) y: (-27)\nset [x v] to [0]\nset [y. v] to [0]\n\nwhen I receive [world 2 v]\nhide\n\nwhen backdrop switches to [world 3 v]\nshow\ngo to x: (-193) y: (-27)\nset [x v] to [0]\nset [y. v] to [0]\n\nwhen I receive [world 3 v]\nhide\n\n@plataform\n\nwhen flag clicked\nhide\n\nwhen I receive [--next-- v]\nnext costume\n\nwhen backdrop switches to [world 1 v]\ngo to x: (0) y: (0)\nset size to (100) %\nshow\nswitch costume to (world 1 1 v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        if <([x position v] of [player v]) = [268]> then\n            broadcast (world 2 v)\n        end\n    end\nend\n\nwhen I receive [world 2 v]\nhide\n\nwhen backdrop switches to [world 2 v]\ngo to x: (0) y: (0)\nset size to (100) %\nshow\nswitch costume to (world 2 1 v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [11]> then\n        if <([x position v] of [player v]) = [268]> then\n            broadcast (world 3 v)\n        end\n    end\nend\n\nwhen backdrop switches to [world 3 v]\ngo to x: (0) y: (0)\nset size to (100) %\nshow\nswitch costume to (world 1 v)\n\nwhen I receive [world 3 v]\nhide\n\n@play button\n\nwhen flag clicked\nshow\ngo to x: (27) y: (-139)\n\nwhen this sprite clicked\nbroadcast (Transicion - World v)\n\nwhen I receive [transicion - world v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n@world\n\nwhen I receive [world 1 v]\nswitch costume to (disfraz1 v)\nshow\ngo to x: (0) y: (0)\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nswitch backdrop to (world 1 v)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [world 2 v]\nset [ghost v] effect to (0)\nswitch costume to (disfraz2 v)\nshow\ngo to x: (0) y: (0)\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nswitch backdrop to (world 2 v)\nhide\n\nwhen I receive [world 3 v]\nset [ghost v] effect to (0)\nswitch costume to (disfraz3 v)\nshow\ngo to x: (0) y: (0)\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nswitch backdrop to (world 3 v)\nhide\n\n@Thumbnail\n\nwhen I receive [transicion - world v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nbroadcast (world 1 v)\nhide\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\n\n
INSTRUCTIONS:\nArrow keys - Move\nAre 3 worlds.\nAll the levels are possibles.\nMobile friendly!\n