[144] Dusting
- Conlan Walker

- Oct 25, 2024
- 2 min read
That 3D game I mentioned in a previous post, is (technically) playable! It lacks some features that the actual asteroids game has, and it doesn't have sound, but at least it exists.
Here's a demo of it:
I also worked on a little video codec project. It's a new version of an older project of mine, but this time I'm using C++ for the encoder, and the decoder is a lot more optimized, allowing for 20 FPS on most videos that I tested.

It targets a mod for Minecraft that lets you program a little virtual computer using Lua.
This mod only uses text chars for its graphics, so you can't edit individual pixels.
The approach I'm taking with this codec is to use a some specific chars in the set that look like a group of 6 pixels.
These chars are between 128 and 159.
Here's a couple of screenshots of the decoder:


Here's a demo where I play a few minutes of an episode of Konosuba:
The video fidelity is good enough (excluding the garbage bitrate I recorded this with) to where you can read virtually all of the subtitles (excluding the opening, mostly).
And here's a demo of the encoder itself: (both the debug and release builds, which have different behavior to one another!)
Recently I've been too busy to enter in the current game jam myself, but I did agree to help with another team, so hopefully I can help make a finished project on that front at least.
Anyway, here's the boring code:
This is the 3D engine code that I modified since last time (or just bothered to include):
This is the code for the video decoder:
And this is the code for the encoder:

![[158] Most Important Brick in the Least Important Wall](https://static.wixstatic.com/media/df100d_f70be6ae4318455fbbc605cd1069c6ee~mv2.jpg/v1/fill/w_980,h_410,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/df100d_f70be6ae4318455fbbc605cd1069c6ee~mv2.jpg)
![[157] Mail Order Sacrifice](https://static.wixstatic.com/media/df100d_e284fa6c51b04524bab9d3cf9f1f6441~mv2.png/v1/fill/w_980,h_382,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/df100d_e284fa6c51b04524bab9d3cf9f1f6441~mv2.png)
![[156] Moat of Babble](https://static.wixstatic.com/media/df100d_091e451794b14aecb494a16c15c966c3~mv2.png/v1/fill/w_980,h_705,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/df100d_091e451794b14aecb494a16c15c966c3~mv2.png)
Comments