Super Pixagon
Info
A small demake of Super Hexagon created for TweetTweetJam 2.
Made in 555 characters from a limit of 560.
Refresh to restart.
Code
a=0t=0s=0.5r=0.005l=1
c=63h={}add(h,{r=99,a=rnd(1)})add(h,{r=991.5,a=rnd(1)})
z=sin
v=cos
::_::cls()x=c+15v(a)y=c+15z(a)circ(c, c, 5, 7)circ(x, y, 1, 8)
if(not btn(0) or not btn(1))a+=r
if(btn(0))a+=0.03
if(btn(1))a-=0.03
for i=1,#h do o=h[i]
q=o.r
n=o.a
k=c+qv(n)u=c+qz(n)
for d=1,5 do
p=c+qv(n+d/6)j=c+qz(n+d/6)line(k,u,p,j,7)k=p u=j end
o.a+=r o.r-=s
if(q<=6)o.r=99o.a=rnd(1)
end if(pget(x,y)==7 or pget(x+v(a),y+z(a))==7 or pget(x-v(a),y-z(a))==7)l=_
t+=1/30s+=0.0005r+=0.00001(abs(r)/r)if(rnd(1)<=0.01)r=-r
?flr(t),1,1,8
flip()
if(l)goto _
Social
Twitter - @bytestats
Pico 8 Cart - https://www.lexaloffle.com/bbs/?pid=64471#p
Comments
Log in with itch.io to leave a comment.
Nice attempt. My first time score is 104 (but i'm a hexagon fan)