platformer

Instructions: up down left and right keys to move\nremember to like and favourite if you enjoyed!!!\n please check this out it is way better\nhttps://scratch.mit.edu/projects/396035689/\nplease go check out any remixes\nplease follow like and favourite\nlets try get to 1000 views??? 

@Stage\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\nwhen backdrop switches to [backdrop4 v]\nforever\n    if <key (space v) pressed?> then\n        switch backdrop to (backdrop1 v)\n    end\nend\n\nwait (3) seconds\n\n@Ninja\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        move (10) steps\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (up arrow v) pressed?> then\n        repeat (10)\n            change y by (15)\n        end\n        wait (0.1) seconds\n        repeat (15)\n            change y by (-15)\n            if <touching color (#000000)?> then\n                change y by (15)\n            end\n        end\n    end\nend\n\nwhen flag clicked\ngo to x: (-180) y: (-38)\nshow\n\nwhen flag clicked\nforever\n    switch costume to (cat-a v)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#000000)?> then\n        set [gravity v] to [0]\n    else\n        change [gravity v] by (-1)\n    end\nend\n\nwhen backdrop switches to [backdrop3 v]\nset [level v] to [3]\n\nwhen flag clicked\nforever\n    if <touching color (#ff00ff)?> then\n        switch backdrop to (stars v)\n    end\nend\n\nwhen backdrop switches to [stars v]\nset [gravity v] to [0]\nforever\n    change y by (gravity)\nend\n\nwhen backdrop switches to [stars v]\ngo to x: (-185) y: (-10)\n\nwhen flag clicked\nforever\n    if <touching color (#000000)?> then\n        set [gravity v] to [0]\n        change y by (gravity)\n    else\n        set [gravity v] to [-4]\n    end\nend\n\nwhen backdrop switches to [stars v]\nforever\n    if <touching color (#ff68e3)?> then\n        switch backdrop to (backdrop4 v)\n    end\nend\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    if <touching color (#ffae9b)?> then\n        switch backdrop to (desert v)\n    end\nend\n\nwhen backdrop switches to [backdrop3 v]\ngo to x: (-157) y: (-31)\n\nwhen backdrop switches to [desert v]\ngo to x: (-209) y: (-129)\n\nwhen backdrop switches to [desert v]\nforever\n    if <touching color (#00fff1)?> then\n        switch backdrop to (forest v)\n    end\nend\n\nwhen backdrop switches to [forest v]\ngo to x: (-180) y: (106)\n\nwhen backdrop switches to [forest v]\nforever\n    if <touching color (#ff0000)?> then\n        switch backdrop to (room 2 v)\n    end\nend\n\nwhen backdrop switches to [room 2 v]\nforever\n    play sound [Dance Magic2 v] until done\nend\n\nwhen backdrop switches to [backdrop2 v]\nforever\n    if <touching color (#faff00)?> then\n        switch backdrop to (backdrop1 v)\n    end\nend\n\nwhen backdrop switches to [room 2 v]\ngo to x: (-213) y: (-72)\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen flag clicked\nforever\n    if <key (1 v) pressed?> then\n        forever\n            switch costume to (cat-a2 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (2 v) pressed?> then\n        forever\n            switch costume to (cat-a3 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (3 v) pressed?> then\n        forever\n            switch costume to (cat-a5 v)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (4 v) pressed?> then\n        forever\n            switch costume to (cat-a4 v)\n        end\n    end\nend\n\nwhen backdrop switches to [backdrop1 v]\nforever\n    if <touching color (#6200ff)?> then\n        switch backdrop to (backdrop1 v)\n    end\nend\n\nwhen backdrop switches to [stars v]\nforever\n    if <touching color (#2f00ff)?> then\n        switch backdrop to (stars v)\n    end\nend\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    if <touching color (#7277cd)?> then\n        switch backdrop to (backdrop3 v)\n    end\nend\n\nwhen backdrop switches to [desert v]\nforever\n    if <touching color (#005dcc)?> then\n        switch backdrop to (desert v)\n    end\nend\n\nwhen backdrop switches to [forest v]\nforever\n    if <touching color (#7d39ff)?> then\n        switch backdrop to (forest v)\n    end\nend\n\nwhen backdrop switches to [room 2 v]\ngo to x: (-193) y: (-88)\n\nwhen backdrop switches to [backdrop1 v]\ngo to x: (-160) y: (-68)\n\nwhen backdrop switches to [stars v]\nforever\n    if <touching color (#ff68e3)?> then\n        switch backdrop to (backdrop4 v)\n    end\nend\n\nwhen backdrop switches to [backdrop4 v]\nforever\n    if <touching color (#1455a4)?> then\n        switch backdrop to (backdrop4 v)\n    end\nend\n\nwhen backdrop switches to [backdrop4 v]\nforever\n    if <touching color (#00deae)?> then\n        switch backdrop to (backdrop3 v)\n    end\nend\n\nwhen backdrop switches to [stars v]\nforever\n    if <touching color (#37ff00)?> then\n        switch backdrop to (backdrop5 v)\n    end\nend\n\nwhen backdrop switches to [backdrop5 v]\ngo to x: (-120) y: (-13)\n\nwhen backdrop switches to [backdrop4 v]\ngo to x: (-199) y: (-73)\n\nwhen backdrop switches to [backdrop4 v]\nforever\n    if <touching color (#00deae)?> then\n        switch backdrop to (backdrop3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        move (-10) steps\n    end\nend\n\nwhen backdrop switches to [backdrop5 v]\nforever\n    if <touching color (#030082)?> then\n        switch backdrop to (backdrop5 v)\n    end\nend\n\nwhen backdrop switches to [backdrop5 v]\nforever\n    if <touching color (#fb00ff)?> then\n        switch backdrop to (backdrop3 v)\n    end\nend\n\nwhen backdrop switches to [backdrop5 v]\nforever\n    if <touching color (#46fff5)?> then\n        switch backdrop to (backdrop3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        next costume\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        next costume\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [forest v]\nshow\n\nwhen backdrop switches to [backdrop4 v]\nhide\n\nwhen backdrop switches to [forest v]\npoint in direction (75)\nforever\n    move (10) steps\n    if on edge, bounce\nend\n\nwhen backdrop switches to [room 2 v]\nhide\n\n@rNFHveIQoXecWEL-800x450-noPad\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [forest v]\nshow\n\nwhen backdrop switches to [room 2 v]\nhide\n\n