Log In  


Cart #p_harrier-0 | 2020-05-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

my tweettweetjam4 entry, based on the awesome froggy road by 2darray:

https://itch.io/jam/tweettweetjam/rate/331076

It's a pacifist endless space-harrier demake for pico-8, you can;t shoot but must avoid ground obstacles and projectiles (from invisible enemies!)

I'm having problems uploading it to itch.io, so I'll post it here for now

559 chars, here's source code:

x=64u=127z=0q=0h=0n=16y=x
d=0r,g,w=rnd,circfill,x::::flip()cls(1)b=btn()
k=6((b\2)%2-b%2)x+=k;y=mid(n,y+6((b\8)%2-(b\4)%2),u)h+=.4if(z-h<1)z+=1
if(x<9or x>=u)q+=k/4x-=k
for b=z+n,z-1,-1 do
srand(b)p=(b-h+2)/24m=6+r(9)rectfill(0,w+9/p,u,u,9+b%2)for i=1,r(5)do
for v=0,1 do
for j=v,1 do
t=(im4+j+r()-q)%(200-uv)-w
o=p
(1+.5v)-1/(w-nv)k=t/o+w
l=v(r(n)-13)+5t=l/o+w
o=1/o
v
=2t-=nv
if(o>v)g(k,t,o,5+v)g(x,y-4
v,6-v,8+v)
if(z-d>2 and o>8-v and abs(x-k)<o+4 and abs(y-t)<o+6) goto d
end;end;end;end;goto
::d::d=z
?"❎get ready",2,2
if(btn(5))goto _
goto d

3



[Please log in to post a comment]