Log In  


Cart #55935 | 2018-08-31 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

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.

5


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

I tried!

This would be really cool if you could switch colours. Also it would be great to have a customisable offset for drawing as the cursor does not seem to like up with system cursor (at least, in the web player).


@Lafolie u can switch the colors.
with the arrows



[Please log in to post a comment]