SUNSET-A DRAWING PEN PLATFORMER
@Stage\n\nwhen flag clicked\nhide variable [yv v]\nhide variable [xv v]\n\nwhen flag clicked\nchange [☁ views v] by (1)\n\n@player\n\nwhen flag clicked\nhide variable [ink left v]\ngo to x: (0) y: (0)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-1.2)\n    else\n        if <key (right arrow v) pressed?> then\n            change [xv v] by (1.2)\n        end\n    end\n    set [xv v] to ((xv) * (.85))\n    change x by (xv)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                set [yv v] to [10]\n                                if <(xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    if <<key (up arrow v) pressed?> or <(yv) < [-5]>> then\n        change [yv v] by (-1)\n    else\n        change [yv v] by (-2)\n    end\n    change y by (yv)\n    if <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 <<key (up arrow v) pressed?> and <touching color (#000000)?>> then\n        change [yv v] by (17)\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nhide\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-204) y: (152)\n        change [ink left v] by (-0.5)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00dcff)?> then\n        broadcast (next level v)\n    end\nend\n\nwhen backdrop switches to [1 v]\nset [ink left v] to [100.2]\n\nwhen backdrop switches to [1 v]\nshow\ngo to x: (-204) y: (152)\n\nwhen I receive [next level v]\ngo to x: (-204) y: (152)\nerase all\nnext backdrop\n\nwhen backdrop switches to [1 v]\nshow variable [ink left v]\n\nwhen backdrop switches to [ran out of ink v]\nhide variable [ink left v]\n\nwhen backdrop switches to [backdrop1 v]\nhide variable [ink left v]\n\nwhen [right arrow v] key pressed\nswitch costume to (right v)\n\nwhen [left arrow v] key pressed\nswitch costume to (left v)\n\nwhen flag clicked\nforever\n    if <not <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>>> then\n        switch costume to (middle v)\n    end\nend\n\n@Pen\n\nwhen flag clicked\nhide\nset [ink left v] to [100]\nforever\n    go to (mouse-pointer v)\nend\n\nwhen [e v] key pressed\nerase all\n\nwhen flag clicked\ngo to [front v] layer\nswitch backdrop to (title v)\n\nwhen I receive [you lose v]\nswitch backdrop to (ran out of ink v)\nerase all\n\nwhen backdrop switches to [1 v]\nshow\n\n@Sprite1\n\nwhen this sprite clicked\nswitch backdrop to (1 v)\nwait (0.1) seconds\nerase all\nset [ink left v] to [100]\n\nwhen backdrop switches to [title v]\nshow\n\nwhen backdrop switches to [instructions v]\nhide\n\nwhen backdrop switches to [1 v]\nhide\n\nwhen flag clicked\nset size to (0.7) %\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (4))\n    else\n        change size by (((100) - (size)) / (4))\n    end\nend\n\n@cloud1\n\nwhen backdrop switches to [title v]\ngo to x: (-123) y: (126)\nshow\nforever\n    repeat (100)\n        change x by (3)\n    end\n    repeat (100)\n        change x by (-3)\n    end\nend\n\nwhen backdrop switches to [1 v]\nhide\n\n@cloud2\n\nwhen backdrop switches to [title v]\ngo to x: (195) y: (54)\nshow\nforever\n    repeat (100)\n        change x by (-3)\n    end\n    repeat (100)\n        change x by (3)\n    end\nend\n\nwhen backdrop switches to [1 v]\nhide\n\n@drawing material\n\nwhen flag clicked\nshow\ncreate clone of (_myself_ v)\nset pen color to (#000000)\nset pen size to (10)\nerase all\nwait until <(backdrop [name v]) = [1]>\nshow\nforever\n    if <(INK LEFT) = [0]> then\n        broadcast (you lose v)\n    end\n    if <not <mouse down?>> then\n        go to (mouse-pointer v)\n        pen up\n    else\n        if <mouse down?> then\n            go to (mouse-pointer v)\n            change [ink left v] by (-0.2)\n            pen down\n        else\n            pen up\n        end\n    end\n    if <[1] > (INK LEFT)> then\n        broadcast (you lose v)\n    end\nend\n\n@music\n\nwhen flag clicked\ngo to x: (0) y: (0)\nplay sound [Water v] until done\n\n@Thumbnail\n\nwhen flag clicked\nhide\nforever\n    reset timer\n    set [ghost v] effect to (100)\nend\n\nwhen [timer v] > (0)\nwait (0.15) seconds\nshow\nset size to (200) %\nset [ghost v] effect to (100)\nrepeat (100)\n    go to [front v] layer\n    go [backward v] (1) layers\n    change size by (((size) - (110)) / (-3))\n    change [ghost v] effect by (-10)\n    change size by (((size) - (110)) / (-8))\nend\n\nchange [ghost v] effect by (-10)\n\nwhen flag clicked\nset [tick v] to [0]\nforever\n    change [tick v] by ((1) / (30))\nend\n\n
TOP REMIXED? FRONT PAGED? TYSM!\n\nRules are pretty simple:\n- Press E to erase\n- You'll have 100% ink for you to draw\n- Pass the levels without using all your ink\n- A penalty of 0.5 will be deducted if you touch lava.\n- Arrow keys to navigate