Play game
1K ARENA's itch.io pageCompressed Bytes used
1023
Source Code (OPTIONAL)
::n::f,d,x,h,e,n,a,i=61,61,1,1,0,0,{1,0,0},{}rectfill(0,0,127,127,4)circfill(65,65,48,1)circfill(64,64,48,6)circfill(64,64,46,5)memcpy(0,24576,8192)::f::pal()srand()spr(0,0,0,16,16)?"โถp1k arena",34,61,6
for n=0,1616do r=48+rnd(48)s,b,o=64+r*cos(r),64+r*sin(r),sin(e/75)line(s,b,s+3,b+1,5)line(s,b,s+o,b-3,3)if(rnd()<.1)circ(s+o,b-2,1,13+rnd(2))
end camera()srand(t())๐ฑ=0for n in all(i)do if(n.a)n.a-=1del(i,n.a<=0and n)
n.f+=n.o*cos(n.i)n.d+=n.o*sin(n.i)if n.e==4then if(n.f<0or n.d<0or n.f>127or n.d>127)del(i,n)
?"โ",n.f,n.d+3,1
?"โ",n.f,n.d,11+n.o
end if n.e==2then ๐ฑ+=1n.i=atan2(f-n.f,d-n.d)for f in all(i)do if(f.e==4and(n.f-f.f)^2+(n.d-f.d)^2<25)del(i,n)del(i,f)for f=1,10do add(i,{e=1,f=n.f,d=n.d,i=rnd(),o=3})end camera(1,1)o=2add(i,rnd()<.5and{e=3,f=n.f,d=n.d,o=0,a=120}or g)end if((n.f-f)^2+(n.d-d)^2<25)x-=.1pal(4,8,1)
?"โ",n.f,n.d+5,1
?({"โถ.\0$ใ<๐ป๐ปf$","โถ.โด(ใ:๐ป๐ต$ ","โถ. โ8\\๐ป*$โด"})[({1,2,1,3})[1+e\5%4]],n.f,n.d,10
end if n.e==3then n.i=atan2(f-n.f,d-n.d)n.o=mid(2-((n.f-f)^2+(n.d-d)^2)^.5/10,120)?"๐น๐ฑ",n.f,n.d+o+1,1
?"๐น๐ฑ",n.f,n.d+o,9
if((n.f-f)^2+(n.d-d)^2<25)del(i,n)h+=1>>h\1o=h%1==0and 4or 3a[1+rnd(3)\1]+=h%1==0and 1or 0
end if n.e==1then n.i+=(3/4-n.i)/4line(n.f,n.d,n.f-3*cos(n.i),n.d-3*sin(n.i),11)if(abs(n.i-3/4)<.01)del(i,n)sset(n.f,n.d)
end end if x>0then if(btn()>0)๐น=btn()\8%2-btn()\4%2n=btn()\2%2-btn()%2d=mid(d+๐น,120)f=mid(f+n,120)
?"โ",f,d+5,1
?"โถ.\0\0ใ**โโโ",f,d,7
rectfill(f+3+n/2,d,f+4+n/2,d+2)if(btn()>0)pset(f+2+e\5%2*2,d+7,1)
if(a[3]>0and e%44<a[3])add(i,{e=4,f=f,d=d,i=atan2(i[e%44+1].f-f,i[e%44+1].d-d),o=1})o=1
if(a[1]>0and e%33<a[1])add(i,{e=4,f=f,d=d,i=atan2(n,๐น)-(a[1]-1)/60+e%33/30,o=3})o=1
if(a[2]>0and e%55<a[2]+2)add(i,{e=4,f=f,d=d,i=atan2(n,๐น)+1/(a[2]+2)*e,o=2})o=1
r=rnd()add(i,๐ฑ<e\120and{e=2,f=64+90*sin(r),d=64+90*cos(r),o=1/4+h/20}or g)line(0,127,h%1*127,127,9)line(0,0,x*127,0,11)else if(btn()>11)goto n
?"โ retry",3,3,7
end e+=1?"โถ1",0,0
?({"โทs1h1","โทi6hh1","โทi7ab","โทs8i7aba4b"})[o]
goto f
Link to Commented Source Code (OPTIONAL)
https://pastebin.com/aaLj8iVH
Leave a comment
Log in with itch.io to leave a comment.
Comments
This is really so cool (+stressful! ๐ )
Love the look of it - the area around the arena is gorgeous
(+clever re-use of ur sprite for player/enemy)
Gameplay is compelling and controls work well.
A great entry ๐
Thank you! This was second ever game jam and my first with a restriction on entry size. Very challenging, but also very fun and educational!
Amazing! The level of polish is through the roof on this one
Thank you! If I knew how little 1K is to work with starting out, I would have gone easier on the polish. It was a challenge to make it fit ๐