A silly game based on the 3D 'CAST' demo where you navigate a maze to try to find your way to a garden. Arrows to move. Hold Z to cheat.
Wow, this is so impressive! When I float above I can see the whole labyrinth and the amount of polygons is damn high for what I have seen so far for Pico-8. Collision works, you can even walk above the ledges of the labyrinth. One could make simple polygonal Doom clone with heights with this engine. One minor think, you should be able to slide in the walls, now it's harder to navigate when I hit a wall and stuck there and have to just rotate my view to not hit.
Yeah, that bug is something I'm not really qualified to solve, I think. The base for this is not my work, it's from the included demo cart 'CAST', I just changed some sprites and added some functionality to make it generate a maze.
split the test from line 30 to put some oil on the walls:
if (mz(pl.x+dx*3, pl.y) > pl.z - 0.4) then pl.x=pl.x+cos(pl.d)*m end if (mz(pl.x, pl.y+dy*3) > pl.z - 0.4) then pl.y=pl.y+sin(pl.d)*m end |
This really needs culling to speed things up.
You'd need to use something like PVS to do it in Pico-8 efficiently enough though.
Stuff like this makes me hyped for October when I'll be getting my pocketCHIP
[Please log in to post a comment]