1K Chonix #Pico1k
1K Chonix #Pico1K

Description:
Chonix loves gold and going fast. There are gold rings everywhere. Help Chonix pick up as many as he can in 60 seconds.
A game in 1024 Compressed Bytes of code for PICO-1K Jam 2026.
Controls:
- Left/right.
- Z: jump. Keep pressed to jump higher.
- Z+up: jump to a higher lane.
- Z+down: jump to a lower lane.
Features:
- Fast scrolling.
- Cool character animation.
- Lanes with smooth layout.
- Magic particles!
- Lots of gold rings.
Code:
_set_fps(60)poke(24405,0)cls()?"\^:000078fcf0e0fcff\^:030e1c38397f7fff\n\^:fff1e0c0c0800000\^:ffffff7f7f3f1f00",0,0,1
ovalfill(6,6,9,11,7)
ovalfill(11,6,14,11,7)
ovalfill(7,7,9,10,2)
ovalfill(12,7,14,10,2)
circfill(23,8,7,9)
circfill(24,8,7,10)
circfill(24,8,4,0)poke(24405,96)h=0::s::x=32y=64g=1u=0v=0r=0w=3l=0s=0t=3600p={}z={}m={}n=128k=128o="ready"?"\as8c.cdddd"
for i=1,5do
add(p,{rnd(),(1+rnd(8))/4096,rnd(),(1+rnd(4))/2048,rnd(),(1+rnd())/1024})
end::_::cls(12)if(k<0)t-=1r+=w
u=mid(y-32,y-96,u)for j=0,5do
for i=0,5do
if((i+j)%2<1)rectfill(i*32-r%64,j*32-u%64,i*32-r%64+31,j*32-u%64+31,8)
end
end
b=cos(r/64)*7c=sin(r/64)*7
ovalfill(x-b,y+c-u,x+4-b,y+2+c-u,10)
spr(0,x-8,y-8-u,2,2)
ovalfill(x+b,y-c-u,x+4+b,y+2-c-u,10)
if(k<0)add(m,{x=x-b,y=y+c,i=0})add(m,{x=x+b,y=y-c,i=0})
for i=1,#p do
q=p[i]
for a=0,127do
b=sin(q[1]+q[2]*(r+a))*64+sin(q[3]+q[4]*(r+a))*64+sin(q[5]+q[6]*(r+a))*64
if i<4do
c=sin((r+a)/4)*3rectfill(a,b-u+3+c,a,b-u+8+c,11)rectfill(a,b-u+8+c,a,b-u+15,5)
if a\1==x\1do
if g==i do
y=b-4elseif g<1and v>0and i!=l do
if(abs(b-4-y)<4)g=i
end
end
else
if(a<1and r>n)add(z,{x=140,y=b})
end
end
end
if(r>n)n+=24
for q in all(z)do
q.x-=w
a=min(q.x%64,64-q.x%64)
sspr(16,0,16,16,q.x-8+a/4,q.y-8-u,16-a/2,16)
if(max(abs(x-q.x),abs(y-q.y))<8)del(z,q)s+=1?"\as8cde"
if(q.x<-8)del(z,q)
end
for q in all(m)do
q.i+=1q.y+=rnd(2)-1q.x-=w+.1
circ(q.x,q.y-u,1,4+q.i%4)
if(q.x<-8)del(m,q)
end
x=mid(8,120,x+btn()\2%2-btn()%2)
if g>0and btnp(4)do
v=-3l=0if(btn(3))v=2l=g
g=0
end
if(g<1)v=min(5,v+(btn(4)and.1or.3))y+=v if(y>256)y-=512u-=512l=0
?"score:"..s,1,1,10
?"highscore:"..h
?"\^w\^t"..max(t\60),64,2
k-=1if(k>0)?"\^w\^t"..o,64-3*#o,56
if(k<0and o=="game over")h=max(h,s)goto s
if(k<0and t<0)w=0k=240o="game over"
flip()goto _| Published | 1 day ago |
| Status | Released |
| Platforms | HTML5 |
| Author | SkyBerron |
| Genre | Platformer |
| Tags | pico1k, PICO-8 |
| Content | No generative AI was used |


Leave a comment
Log in with itch.io to leave a comment.