Skip to main content

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

alignView game page

Planetary alignment game for TweetTweetJam
Submitted by luthwyhn (@luthwyhn) — 19 hours, 46 minutes before the deadline
Add to collection

Play game

align's itch.io page

How many characters of code did you use?
538

If you're comfortable with it, paste your game code here, so we can marvel at your achievement!
🐱=360
c=64
s=3
a={0,0,0,0}
⧗={rnd(🐱)/🐱,rnd(🐱)/🐱,rnd(🐱)/🐱,rnd(🐱)/🐱}
⬇️={23,32,41,50}
▥={12,4,3,8}
function _update()
if(btnp(2))s=(s)%4+1
if(btnp(3))s=(s+2)%4+1
if(btnp(4))⬇️[s]=max(14,⬇️[s]-1)
if(btnp(5))⬇️[s]=min(c,⬇️[s]+1)
if ★==c then
print("win!",59,61,rnd(15))
return
end
★=8
cls()
circfill(c,c,12,10)
circ(c,c,⬇️[s],▥[s])
for i=1,4 do
a[i]=9+5*min(max(0,100*⧗[i]-73),1)
★+=a[i]
⧗[i]+=(28+18*i)/(⬇️[i]*🐱)
if(⧗[i]>.77)⧗[i]-=1
circfill(c+⬇️[i]*sin(⧗[i]),c+⬇️[i]*cos(⧗[i]),i+1,▥[i])
circ(c+⬇️[i],c,2,a[i])
end
end

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet