Mostly finished, but it'd be nice to add background colors, some music and a menu for colors/brushes.
I had the idea for this when I was playing with the mouse devkit API and thought "Hey, what if there was Mario Paint but for PICO-8?".
CC4-BY-NC-SA, so feel free to strip out the (relatively simple) drawing and use it in your own works, though interestingly, it's text-based.
P#55932 2018-08-31 11:42 ( Edited 2018-09-02 06:08)
Just started playing with this. You might use LINE() instead of PSET() for dots as no matter how fast the mouse goes, it will always draw a line from point to point.
function _init() cls() poke(24365,1) end function _draw() x=stat(32) y=stat(33) if (x!=ox or y!=oy) and stat(34)==1 then line(x,y,ox,oy,7) end pset(ox,oy,c) ox=x oy=y c=pget(x,y) pset(x,y,15-c) end function _update() end |
P#55938 2018-08-31 13:01 ( Edited 2018-08-31 17:01)
[Please log in to post a comment]