Winter Platformer

Instructions: Basic platformer!!! My first :) wasd or arrow keys\nPLATFORMER CONTEST: \nhttps://scratch.mit.edu/projects/439453826/\nPlease share with others\ncheck out my other game: https://scratch.mit.edu/projects/388297829/\ncan we make it to 1500 veiws???

@Stage\n\nwhen flag clicked\nswitch backdrop to (slopes v)\nforever\n    if <<(Level) = [6]> or <(Deaths) = [5]>> then\n        switch backdrop to (backdrop1 v)\n        broadcast (game completed v)\n        stop [all v]\n    end\nend\n\n@levels\n\n@Sprite1\n\nwhen flag clicked\nset [level v] to [1]\nset [deaths v] to [0]\nswitch costume to (costume1 v)\ngo to x: (-191) y: (-127)\nshow\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (costume2 v)\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (costume3 v)\n        change [x v] by (-1)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <touching (levels v)?> then\n        change y by (1)\n        if <touching (levels v)?> then\n            change y by (1)\n            if <touching (levels v)?> then\n                change y by (1)\n                if <touching (levels v)?> then\n                    change y by (1)\n                    if <touching (levels v)?> then\n                        change y by (1)\n                        if <touching (levels v)?> then\n                            change y by (1)\n                            if <touching (levels v)?> then\n                                change [x v] by ((X) * (-1))\n                                set y to (-5)\n                                if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                    if <(X) > [0]> then\n                                        set [x v] to [-5]\n                                    else\n                                        set [x v] to [5]\n                                    end\n                                    set [y v] to [10]\n                                else\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (levels v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching (levels v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [y v] to [15]\n        end\n    end\n    if <touching (obstacles v)?> then\n        set [x v] to [0]\n        play sound [Oops v] until done\n        change [deaths v] by (1)\n        go to x: (-191) y: (-126)\n    end\n    if <touching (levelchanger v)?> then\n        change [level v] by (1)\n        broadcast (levelcompleted v)\n        go to x: (-191) y: (-126)\n        set [x v] to [0]\n    end\n    if <not <key (any v) pressed?>> then\n        switch costume to (costume1 v)\n    end\nend\n\n@obstacles\n\nwhen I receive [levelcompleted v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [game completed v]\nhide\n\nwhen flag clicked\nshow\n\n@levelchanger\n\nwhen I receive [game completed v]\nhide\n\nwhen flag clicked\nshow\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\n