BB8 Droid Runner
A downloadable game
๐พ#starwars #bb8 #Droid Runner๐ค (code๐)
For the #tweetTweetJam 3 I'm working on this #microgame
With only 577 characters of code (19 lines) this #pico8 it's the smallest finished game I ve ever done.
The code below includes 2 suns that couldn't make it to the final source code for the jam but i'm leaving those here.
๐พ๐พ๐พ๐พ๐พ๐พ๐พ๐พ๐พ๐พ
d=0o={}x=9y=9p=0v=0z=rnd c=circ
for i=1,555 do add(o,{x=z()*166,y=z()*28+96,t="ห",s=6})end
add(o,{x=90,y=78,t="โ\nโโ\nโโโ",s=5})
for i=1,9 do e=z(12)add(o,{x=z(128),y=e*4,t=":โ",s=e/16})end
::โ::cls()b=t()%1 c(99,3+t()/3,6)c(83,3+t()/2,4)
foreach(o,function(s)
?s.t,s.x,s.y
s.x-=(s.s and s.s or 3)
if(s.x<-12)s.x=128+z(64)p+=(s.y==78 and 1 or 0)
end)
rect(0,96,128,98)d=0
if(pget(x,y+9)==0)d=3
if(btn(โฌ) )d-=9 v=t()
y+=d
if(pget(x+4,y+6)!=0)cls() p-=1
?"score "..p,49,20
?"โฌ
",x-3,y-4
circ(x,y+4,4)line(x-4+b*2,y-7,x-2,y-4)pset(x+sin(b*2%1)*1.5,y+5+cos(b*2%1)*1.5)flip()goto โ
Status | Released |
Author | Omael |
Genre | Racing |
Tags | bb8, droid, infinite-runner, PICO-8, Runner, starwars, tweettweetjam, tweettwettjam3 |
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.