Machine Gun Turret (TweetTweetJam 7)

Add to
My games
Add to
Wishlist
Save to
Collection
No reviews
Exceptional
Meh
Skip

About

Destroy the meteorites using the machine gun turret before they hit the ground. A game in 558 characters of code for TweetTweetJam 7.

Controls: Left / Right / Fire

PICO-8 Source Code:

_set_fps(60)h=0m=128::s::x=.25t=0s=0p={}o={}n=0z=1::_::cls(1)t-=.1n-=.01 ?s ?h if(n<0)add(o,{x=rnd(122),y=-8,v=.2})z*=.99n=z b=btn()x-=((b&2)/2-(b&1))/300x=mid(x,.5)a=64b=114rectfill(58,b,72,m,4)c=cos(x)d=sin(x)e=a+c*8f=b+d*8line(a,b,e,f,9) if(btn(4)and t<0)add(p,{x=e,y=f,u=c,v=d})t=2 for q in all(p)do q.x+=q.u q.y+=q.v pset(q.x,q.y,6)a=nil for l in all(o)do if(abs(q.x-l.x-3)<4and abs(q.y-l.y-2)<3)s+=1del(o,l)a=1break end if(a)?"\as8ceg" if(q.y<0or a)del(p,q) end for l in all(o)do l.y+=l.v ?"🅾️\va░",l.x,l.y,11 if(l.y>=m)h=max(s,h)goto s end flip()goto _
Platforms
Genre
Release date
Developer
SkyBerron
Age rating
Not rated
Tags

System requirements for Web

Read more...
Edit the game info
Last Modified: Nov 22, 2021

Where to buy

itch.io