Explore a maze in fake 3D! Impress your friends with your elite gamer skills to move and turn in this heart pumping first person mazer!
cls(7)for i=1,416do?chr(rnd(99)+155),i%19*7,i/19\1*6,i>415and 1endmemcpy(0,24576,7^5)l=0k=1a=0v=.5x=3y=3::_::p=btn()r=(p\2%2-p%2)/99m=(p\8%2-p\4%2)/9c=cos(r)s=sin(r)x-=l*my-=k*mo=ll=l*c-k*sk=o*s+k*co=vv=v*c-a*sa=o*s+a*ccls(13)rectfill(0,0,127,63,12)for i=0,127doc=i/63-1r=l+v*cf=k+a*cs=2g=x\1h=y\1q=abs(1/r)w=abs(1/f)z=1o=q*(g+1-x)e=1p=w*(h+1-y)if(f<0)e=-1p=(y-h)*wif(r<0)z=-1o=(x-g)*qwhile s>1doif o<p theno+=qg+=zm=6elsep+=wh+=em=7ends=sget(g,h)endd=64/(m>6and(h-y+.5-e/2)/f or(g-x+.5-z/2)/r)line(i,64-d,i,64+d,m+s)endflip()goto _
Based onLode's ray-casting tutorial.
Status | Released |
Platforms | HTML5 |
Rating | Rated 4.7 out of 5 stars (3 total ratings) |
Author | Munro |
Genre | Puzzle |
Made with | PICO-8 |
Tags | PICO-8,Pixel Art,Short,Singleplayer,Walking simulator |
Log in with itch.io to leave a comment.