Skip to main content

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

SPLOOSH!View game page

A super-short paint-splooshing game for #Pico1k Jam 2025
Submitted by Harder You Fools — 2 hours, 24 minutes before the deadline
Add to collection

Play game

SPLOOSH!'s itch.io page

Compressed Bytes used
988

Source Code (OPTIONAL)
poke(0x5f2d,1)
mx,my=0,0
cx,cy=0,0
lmb="up"
ta=7
st="title"
c=2
p=0
s=0
h=0
t=10
nt={"good job!","well done!","capital!","nice one!"}
ts={}
ts.t=0
gt=80
function toast()
ts.t=60
ts.x=min(88,max(20,cx-16))
ts.y=min(60,max(10,cy))
ts.z=rnd(nt)
end
function _update()
if st=="game" then
t-=1/30
if t<=0 then
st="title"
t=10
ta=7
s=0
gt=80
end
else
if gt>0 then
gt-=1
else
if lmb=="held" or lmb=="pressed" then
st="game"
nc()
end
end
end
get_mouse()
constrain_cursor()
handle_buttons()
draw_canvas()
if st=="game" then
if lmb=="held" do p=min(p+1,10)
elseif p>0 do
circfill(cx,cy,p*4,c)
memcpy(0x1000,0x6000,8192)
p=0
end
if check_canvas(c) then
t+=ta
ta=max(ta-0.5,4)
s+=1
if s>h then h=s end
nc()
print "\as5x5i2a1cegc2"
toast()
end
circ(cx,cy,10,7)
fillp(▒)
circfill(cx,cy,p,7)
fillp()
if ts.t>0 then
ts.t-=1
print(ts.z,ts.x,ts.y+ts.t,flr(rnd(16)))
end
print("\fa\^o0ff"..s,10,4)
print("\fe\^o0ff"..h,108,4)
print("\f3\^o0fftime: "..tostr(flr(t)),48,4)
print("🅾️",cx-3,cy-2,8)
else
print("\fe\^o0ffsploosh!",3,10)
print("\fe\^o0ffhigh score is "..h,3,20)
if gt==0 then print("\fc\^o0ffpress left mouse button to play",3,40) end
end
end
function get_mouse()
local oldmx,oldmy=mx,my
mx=stat(32) my=stat(33)
local mdx,mdy=mx-oldmx,my-oldmy
if mdx!=0 or mdy !=0 then
cx,cy=cx+mdx,cy+mdy
end
end
function handle_buttons()
if stat(34)==1 or btn(4) then
if lmb=="pressed" or lmb=="held" then lmb="held"
else lmb="pressed" end
else lmb="up"
end
end
function constrain_cursor()
cx=max(0,cx)
cx=min(127,cx)
cy=max(0,cy)
cy=min(127,cy)
end
function draw_canvas()
memcpy(0x6000,0x1000,8192)
end
function check_canvas(check_colour)
local cvd=true
for x=0,127 do
for y=0,127 do
if pget(x,y)!=check_colour then
cvd=false
end
end
end
return cvd
end
function nc()
c+=1
if c==7 then c=8 end
if c>15 then c=1 end
end

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet