Cat block platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nhide variable [☁ dhilly v]\nset [timer seconds v] to [0]\nset [timer minutes v] to [3]\nhide variable [timer seconds v]\nhide variable [timer minutes v]\nforever\n    if <([backdrop # v] of [_stage_ v]) = [16]> then\n        show variable [timer seconds v]\n        show variable [timer minutes v]\n        repeat until <([backdrop # v] of [_stage_ v]) = [25]>\n            wait (1) seconds\n            change [timer seconds v] by (-1)\n        end\n        hide variable [timer minutes v]\n        hide variable [timer seconds v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(timer seconds) = [0]> then\n        set [timer seconds v] to [59]\n        change [timer minutes v] by (-1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(timer minutes) = [0]> and <(timer seconds) = [0]>> then\n        broadcast (oof v)\n        switch backdrop to (backdrop31 v)\n        stop [all v]\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [01-01- Windfall.mp3 v] until done\nend\n\nswitch backdrop to (backdrop1 v)\n\n@Sprite1\n\nwhen flag clicked\npen up\nforever\n    if <touching color (#ff0000)?> then\n        show variable [deaths v]\n        change [deaths v] by (1)\n        go to x: (-210) y: (-120)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [265]> then\n        go to x: (-210) y: (-120)\n        next backdrop\n    end\nend\n\nwhen flag clicked\nif <(username) = [Will_Wam]> then\n    change [☁ will_wam detector v] by (1)\nend\nif <<(username) = [griffpatch]> or <(username) = [griffpatch_tutor]>> then\n    change [☁ griffpatch detector v] by (1)\nend\nif <(username) = [Dhilly]> then\n    change [☁ dhilly v] by (1)\nend\n\nwhen flag clicked\nset size to (20) %\nswitch costume to (costume2 v)\nset [deaths v] to [0]\nhide variable [deaths v]\nswitch backdrop to (blue sky 2  v)\nshow\ngo to x: (0) y: (0)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n    end\n    if <key (left arrow 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 color (#666666)?> or <touching color (#000000)?>> then\n        change y by (1)\n        if <<touching color (#666666)?> or <touching color (#000000)?>> then\n            change y by (1)\n            if <<touching color (#666666)?> or <touching color (#000000)?>> then\n                change y by (1)\n                if <<touching color (#666666)?> or <touching color (#000000)?>> then\n                    change y by (1)\n                    if <<touching color (#666666)?> or <touching color (#000000)?>> then\n                        change y by (1)\n                        if <<touching color (#666666)?> or <touching color (#000000)?>> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow 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    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <<touching color (#666666)?> or <touching color (#000000)?>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#666666)?> or <touching color (#000000)?>> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#2eff00)?> then\n        change [yv v] by (30)\n    end\nend\n\nwhen I receive [oof v]\nhide\n\nset size to (500) %\n\n@nuttin\n\nwhen flag clicked\nerase all\nhide\nset pen size to (10)\nset pen color to (#000000)\n\nwhen flag clicked\nforever\n    if <key (e v) pressed?> then\n        erase all\n    end\nend\n\n
Click the green flag. Use arrow keys