Tomb of Bones: Grave Danger
Playtime: 5-10 minutes (short)
If you have issues playing in the browser, try downloading the game for Windows below.
With such a low resolution, I wanted to push the limits and create my own raycaster for the very first time! Raycasting was most famously used by Wolfenstein 3D to render 3D-like environments. It works by converting the distances of rays cast from the player to the walls, to pixels on the screen.
Controls
The game has 7 actual controls, with an alternative control scheme, see below:
Move - WASD or Arrow keys
Attack - X or Space
Options - O or Escape
Open map - M or Tab
Options
Here's an explanation of the various options available in the game:
Music (on/off) - When music is off, footstep sounds will be played instead
Keypress (one/several) - How many keys can you press simultaneously? For example, you can't rotate and move forward if it's set to 'one'
FOV - Field of view, default is 80, not sure why you'd want to change it but it's an option
Framerate (15, 60, uncapped) - The framerate of the game's raycaster (rendering), 15 is the default because it came closer to the framerate of a Nokia 3310. If you want the smoothest experience, try 'uncapped'
Colors (normal/invert) - Speaks for itself, some people may prefer inverted colors
Restart - Press this multiple times to restart the game (can be used if you get stuck for whatever reason)
Background
I spent a lot of time on the rendering engine itself. I had to build almost everything: rendering walls, rendering sprites, sprite occlusion, depth/z-buffer, texture mapping, text and font rendering,.. It's been a wild ride but I've learned so much from making my first raycaster. I've always wanted to learn how to make one, and I'm really happy with the result.
The 'only' things left to Unity is all the 2D logic, I used Unity's 2D physics and raycasting. The rendering of the game itself is completely left to my raycaster, drawing pixel by pixel.
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
Nice. low resolution monochrome 3d is hard dude, congrats on the raycaster. I found the higher FPS much easier to play at
Thank you! Glad to hear it x3
great job with raycasting, but for me it's completelly unplayable - it gave me nausea. too small res and not enough colors to make the movement bearable for me.
i know it was forced by jam rules.
Ah, I'm sorry to hear that. During development I've played it probably a hundred times but never had nausea. Everyone's different I guess ><
As per the commenter above you said; have you tried playing with 'uncapped' FPS?
It's not about the fps, but alternating light/dark stripes.
I can't read white text on dark background without getting annoying afterview and pre-migraine like discomfort.
The odd movement of the light/dark stripes isn't helping.
I understand, not much I can do about that with the limited palette and resolution. Thanks for trying anyway!
that screenshot is very promising :)