Log In  


this allows you to make an image in pico-8, it also allows you to use the tools in the sprite editor to make a new image, just make sure to save!

--image details
w=16
h=16
palette={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}
--init image
for i=0,15 do
	pal(i,palette[i+1],1)
end
cls()
spr(0,0,0,w,h)
--disable console controll (untill esc is pressed)
function _update()
	flip()
end


I’m not sure I understand this! it’s a snippet to draw one 2x2 sprite on screen?


@merwok, my code is messy, but all you need to know is that i do not really expect anyone to use this every day, its low quality, only 16 colors out of the total 32 can be used at once, and you can only use it in pico-8, just use a png, or any other image file! but, of course, its an image file on a fantasy console, so, its cool, especialy when you use the other 16 colors!



[Please log in to post a comment]