Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
A jam submission

Pico PaintView project page

A refreshingly simple paint program for Pico-8
Submitted by Isaac Games — 7 days, 21 hours before the deadline
Add to collection

Play tool

Pico Paint's itch.io page

Characters/Bytes used
1003

Source Code
s=2
c=1
d=0
e=7
x=0
y=0
b=true
p={}
o={0,1,2,4,5,3,9,15,8,12,14,10,7,6,11,13}
h=b
j=8192
function _init()
for i=112,127 do add(p,i)end
poke(24365,1)end
function _update60()
cls()x=stat(32)y=stat(33)
spr(0,0,0,16,16)
if not h and stat(34)>0 then
memcpy(j,24576,j)
end
h=stat(34)>0
if btnp(4) then
memcpy(0,j,j)
end
circfill(x,y,s,c)
if h then
if y>8 then
if stat(34)<2 then
memcpy(0,24576,j)
else
c=sget(x,y)
end
elseif x<112 then
if stat(34)>1 and b then
n=-1&x/7+1
p[n]+=1
d=0
e=0
f=15
g=0
for i=0,15 do
m=o[p[i+1]%16+1]
if m<f then
f=m
d=i
end
if m>g then
g=m
e=i
end
end
if p[n]>143 then p[n]=112 end
else
c=-1&x/7
end
elseif b then
if x<117 then
s=max(s-1,0)
elseif x<122 then
s+=1
else
n=""
for i=90,95 do n=n..stat(i)end
export(n..".png")
end
end
end
b=not (stat(34)>0)
rectfill(0,0,127,8,d)
for i=0,15 do
pal(i,p[i+1],1)
rectfill(1+i*7,1,6+i*7,6-min(abs(i-c),1),i)
end
line(113,3,115,3,e)
line(118,3,120,3,e)
line(119,2,119,4,e)
line(0,8,128,8,e)
rect(123,2,125,5,e)
pset(125,2,d)
pset(x,y,e)
end

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted(+1)

good idea. 

using the c x buttons or whatever for increasing/decreasing brush size would make it easier

Developer

Hey, that's a great idea.

Submitted(+1)

Ditto this. I also don't mind that the spritesheet reloads with whatever is previously drawn on it. Good way of saving and continuing work. I think you should definitely add a few features to this. Just call it Pico Paint as it will then go above the 1k limit. For the jam, this version is excellent. I wish I hadn't broken my Wacom pen, because I would have a lot of fun with this. For some reason, drawing and creating in such a minimalist window with very minimal features is very liberating. I would very much prefer doing pixel art in this editor, than within Pico's editor. Thank you for creating this. :D

Developer(+1)

Awesome, it's decided then. I'll flesh out Pico Paint with more user-friendly features and upload it here when it's done. Thanks guys!

Developer

All right, it's done. Now you change brush size with the keyboard, editing colors has its own menu, you can toggle to a square brush, and drag the toolbar around. Plus the UI colors are better and painting is smoother. Hope you enjoy it!

HostSubmitted(+1)

Brilliant! 🙌
I'm so hoping someone would make a 1k paint program and this so good.
Bonus points for palette editing and undo support! 👏

#BobRossWouldBeProud