DOOMY✨TTJ

Explore procedurally generated mazes until you reach the red key in DOOMY✨TTJ, my entry for #TweetTweetJam 7 which features a DOOM engine that supports arbitrary walls (albeit not demonstrated here), multiple textures, lighting, collision detection in just 560 chars, using NO art assets!

CONTROLS

  • ⬆️⬅️➡️ to move

FEATURES

  • 🧩 Procedurally generated mazes
  • 💫 Collision detection
  • 🧱 Multiple textures
  • 💡 Lighting
  • 🚪 Exit through the "funny" texture
  • 🔑 Red key

SOURCE CODE (558 chars)

a=0u=7v=7.5r=rectfill?"ᶜ2z}★∧🐱",cls(1),1
for i=0,99do
if(v>2and rnd()<█)v-=1else u-=1
pset(u,v,2)end
memcpy(0,6^13,⧗)u=.2::_::w=r(0,0,▤,64,12)🐱={}c=cos(a)s=sin(a)for e=0,9,1/8do for f=0,9,1/8do
if(sget(e,f)!=sget(e-.1,f-.1))then
x=e-u
y=f-v
g=y*c-x*s
h=y*s+x*c
if(abs(g)<h)then
pal({5,6})z=9/h
if(e%1>0)pal({13,7})
y=1+(e+f)%3if(e+f>14)y%=1
w=max(z,w)x=64+8*z*g\1for i=x,x+z+2do
if(z>mid(🐱[i],z))sspr(y*8,0,1,8,i,64-z*4,1,z*8)🐱[i]=z
end
end
end
end
end
b=btn()a+=(b%2-b\2%2)/64if(b&4>0and w<40)u+=c/8v+=s/8
?"ᶜ7⁶w⁶tdoomy★ttj⁶1⁶c4",25,4
if(u+v>14)run()
goto _
StatusReleased
PlatformsHTML5
Rating
Rated 3.5 out of 5 stars
(6 total ratings)
AuthorMahtieu 'p01' Henri
GenreShooter
Made withPICO-8
TagsFPS, PICO-8

Comments

Log in with itch.io to leave a comment.

i always play maze games but this one really hurts my brain.