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

Align QView game page

Align all planets in less than 560 characters of code.
Submitted by theoratkin — 6 hours, 9 minutes before the deadline
Add to collection

Play game

Align Q's itch.io page

How many characters of code did you use?
553

Include your code here, if you'd like to show it off!
m=math b=m.abs r=m.random p=m.pi*2 x,y=120,68 a={{t=r()*p,r=30,c=2},{t=0,r=52,c=6},{t=r()*p,r=64,c=10}}e=.03 t=0 function TIC()if btnp(5)then reset()end cls()circ(x,y,15,3)line(170,y,174,y,1)for i,o in pairs(a)do k=m.cos(o.t)*o.r j=m.sin(o.t)*o.r if w then o.t=a[3].t else o.t=o.t+(y-o.r)/1000/(i==2 and btn(4)and 2 or 1)if i==2 and o.t>=p then t=t+1 end o.t=o.t%p end circb(x,y,o.r,i==2 and 1 or 15)circ(x+k,y+j,i+1,o.c)end if b(a[1].t-a[2].t)<e and b(a[1].t-a[3].t)<e then w=1 line(x+k*2,y+j*2,x-k*2,y-j*2,4)print("Success!",2,y)end print(t,196,y)end

Leave a comment

Log in with itch.io to leave a comment.

Comments

(1 edit) (+1)

Great game!

Developer

Thank you!

Developer (2 edits)

Here is the properly formatted code.