Painter Platformer

Instructions: Draw platforms with your mouse and press c to clear. Don't touch the ground. Never-ending, mindless, and addicting. Perfect combo.  Remix to show your creations. Remember to love and favorite!\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [go v]\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [message1 v]\nswitch backdrop to (backdrop2 v)\n\n@Sprite2\n\nwhen I receive [go v]\nshow variable [times played v]\nforever\n    set [times played v] to [0]\n    if <touching color (#666666)?> then\n        broadcast (message1 v)\n        hide\n    end\nend\n\nwhen flag clicked\nhide variable [xv v]\nhide variable [times played v]\nforever\n    play sound [techno v] until done\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [go v]\ngo to x: (-26) y: (-58)\nshow\nforever\n    change [yv v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (0.4)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-0.4)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#ffffff)?> then\n        change y by (1)\n        if <touching color (#ffffff)?> then\n            change y by (1)\n            if <touching color (#ffffff)?> then\n                change y by (1)\n                if <touching color (#ffffff)?> then\n                    change y by (1)\n                    if <touching color (#ffffff)?> then\n                        change y by (1)\n                    end\n                end\n                if <touching color (#ffffff)?> then\n                end\n                if <touching color (#ffffff)?> then\n                    change x by ((Xv) * (-1))\n                    change x by (-1)\n                    change y by (-5)\n                    change x by (1)\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <touching color (#ffffff)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#ffffff)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [10]\n        end\n    end\n    change y by (1)\n    if <touching (sprite6 v)?> then\n        change [times played v] by (1)\n        go to x: (-26) y: (-58)\n        broadcast (Next Level v)\n        set size to (100) %\n    end\nend\n\n@Sprite1\n\nwhen I receive [go v]\nforever\n    if <mouse down?> then\n        pen down\n    end\n    if <not <mouse down?>> then\n        pen up\n    end\nend\n\nwhen [c v] key pressed\nerase all\n\nwhen I receive [go v]\nset pen size to (3)\nset pen color to (#ffffff)\nerase all\nset [color v] to [0]\ngo to x: (0) y: (0)\nforever\n    go to (mouse-pointer v)\nend\n\nwhen flag clicked\nerase all\n\nwhen I receive [next level v]\nerase all\n\nwhen [space v] key pressed\nset pen color to (#666666)\n\nwhen [w v] key pressed\n\nwhen [w v] key pressed\nset pen color to (#ffffff)\n\n@Sprite3\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nshow\n\nwhen this sprite clicked\nhide\nbroadcast (go v)\n\n@Sprite4\n\nwhen flag clicked\nshow\n\nwhen I receive [go v]\nhide\n\n@Sprite5\n\nwhen this sprite clicked\nbroadcast (go v)\nhide\n\nwhen flag clicked\nshow\n\n@Sprite6\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nhide\n\nwhen I receive [go v]\nshow\n\nwhen I receive [next level v]\ngo to x: (pick random (-100) to (100)) y: (pick random (-100) to (100))\n\n