Skip to main content

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

Colour SoupView project page

A tiny tribute to Warhol for the Pico-1k Jam.
Submitted by DH — 7 hours, 47 minutes before the deadline
Add to collection

Play project

Colour Soup's itch.io page

Compressed Bytes used
914

Source Code (OPTIONAL)
--fundamental variables
--hues (a, b, and c)
ha=8 --originally red
hb=7 --originally white
hc=9 --originally gold/orange

cw=28 --can width
ch=45 --can heigth

c=5 --curve

s=8 --sigil radius

a=63 --anchor in the middle of the screen

t=30 --timer

cr=0 --colour rotation

--combined variables
lm=a-cw --left margin
rm=a+cw --right margin

u=a-ch --upper margin
lo=a+ch --lower margin

--colour array
co={8,7,9,3,9,10,12,14,1,9,1,8,15,12,2,10,2,6}

--compressed functions
o=oval
q=ovalfill

function _init()
cls()
end

function _draw()
cls(hb) --it colors the background
--body of the can
--lower curve and rim
--black outer outline
o(lm-1,(lo-(c+1))+3,rm+1,(lo+(c+1))+3,0)
--grey rim
o(lm,(lo-c)+3,rm,(lo+c)+3,13)
o(lm,(lo-c)+2,rm,(lo+c)+2,13)
--inner black outline
o(lm,(lo-c)+1,rm,(lo+c)+1,0)
--body fill
q(lm,lo-c,rm,lo+c,hb)
--upper half
rectfill (lm,u,rm,a,ha)
--lower half
rectfill (lm,a,rm,lo,hb)
--middle curve
q(lm,a-c,rm,a+c,ha)
--decoratives
--upper border
o(lm+1,(u-c)+5,rm-1,(u+c)+5,hc)
q(lm+1,(u-c)+4,rm-1,(u+c)+4,ha)
--lower border
o(lm+1,(lo-c)-3,rm-1,(lo+c)-3,ha)
q(lm+1,(lo-c)-4,rm-1,(lo+c)-4,hb)
--outline of the can
--left margin
line (lm,u,lm,lo,0)
--right margin
line (rm,u,rm,lo,0)
--upper rim
--black outer outline
o(lm-1,u-(c+1),rm+1,u+(c+1),0)
--grey surface
q(lm,u-c,rm,u+c,13)
--inner ribbed oval
oval(lm+5,(u-(c/2)+1),rm-5,(u+(c/2)+1),0)
--middle sigil
circfill (a,a+c,s,hc)
print ("🐱",a-3,a+(c-2),0)
--stray pixel recolour
pset(35,17,13)
pset(91,17,13)
pset(35,112,13)
pset(91,112,13)
end

function _update()
if t<0
then
if cr>7 then
cr=0
end
ha=co[cr*2]
hb=co[cr*2+1]
hc=co[cr*2+2]
cr+=1
t=30
else
t-=1
end
end

Leave a comment

Log in with itch.io to leave a comment.

Comments

HostSubmitted

I'm sure Andy Warhol would be proud 😉
(after all, he was partial to using a Commodore Amiga!)
Nice one!