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

#TweetTweetJam - Demons Vs. LasersView game page

Use your laser to kill as many demons as you can before they get you
Submitted by picoter8 (@picoter8) — 23 hours, 50 minutes before the deadline
Add to collection

Play game

#TweetTweetJam - Demons Vs. Lasers's itch.io page

How many characters of code did you use?
554

Include your code here, if you'd like to show it off!
l=0a=64h=256b=btn
w=rnd::r::k=0e={}q=0function f(i,j)d=100/(j*c-i*s+96)return a+i*c*d+j*s*d,a+i*s*d-j*c*d
end::_::for i=0,4599do pset(w(128),w(128),0)end
d=b(4)and.002or.01
if(b(0))q-=d
if(b(1))q+=d
c=cos(q)s=sin(q)for j=-h,h,16do
for i=-h,h,16do
x,y=f(i,j)pset(x,y,4)end
end
for v in all(e)do
x=v.r*cos(v.a)y=v.r*sin(v.a)x,y=f(x,y)v.r-=v.s
?"🐱",x,y,8
?t()%.2>.1and"★"or"웃",x,y+4
if(b(4)and abs(x-62)<5and y<a)del(e,v)k+=1l=max(l,k)
if(v.r<0)goto r
end
if(btn(4))line(a,a,a,0,10)
?"★"..k.."~"..l,61,62,12
if(w()>.9)add(e,{r=200,a=w(),s=w()})
flip()goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet