The Winter-Platformer (Engine)
@Stage\n\n@Sprite1\n\nwhen I receive [dead v]\ngo to x: (-193) y: (-92)\n\nwhen flag clicked\nforever\n    repeat until <(backdrop [name v]) = [50]>\n        if <touching color (#ff0000)?> then\n            broadcast (next level v)\n            go to x: (-193) y: (-84)\n        end\n    end\nend\n\nwhen [up arrow v] key pressed\nswitch costume to (costume4 v)\n\nwhen flag clicked\nforever\n    repeat until <(backdrop [name v]) = [50]>\n        if <touching color (#007cff)?> then\n            broadcast (next level v)\n            go to x: (-193) y: (-86)\n        end\n    end\nend\n\nwhen I receive [start v]\nshow\n\nwhen [right arrow v] key pressed\nswitch costume to (costume2 v)\n\nwhen [left arrow v] key pressed\nswitch costume to (costume3 v)\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (sprite4 v)?> then\n        set [yv v] to [25]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <<not <key (up arrow v) pressed?>> and <<not <key (right arrow v) pressed?>> and <not <key (left arrow v) pressed?>>>> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\ngo to x: (-193) y: (-84)\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((xv) * (0.9))\n    change x by (xv)\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                        change x by ((xv) * (-1))\n                        change y by (-5)\n                        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                            if <(xv) > [0]> then\n                                set [xv v] to [-5]\n                            else\n                                set [xv v] to [5]\n                            end\n                            set [yv v] to [10]\n                        else\n                            set [xv v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (yv)\n    if <touching (sprite2 v)?> then\n        change y by ((yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (sprite2 v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite3\n\nwhen flag clicked\nshow\nwait (2) seconds\nbroadcast (START v)\nhide\n\n@Sprite5\n\n@Sprite4\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [start v]\nshow\n\nwhen I receive [start v]\nswitch costume to (costume1 v)\n\n@Sprite6\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        broadcast (dead v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite7\n\nwhen flag clicked\nswitch costume to (costume2 v)\n\nwhen I receive [start v]\nshow\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (sprite1 v)?> then\n        broadcast (dead v)\n    end\nend\n\n@Sprite8\n\n
Hello welcome to my Platformer\nUse arrow  or AWAD keys to move.\nThere are only 5 levels because it is test platformer.\nMore levels will coming soon.\nHope you enjoy