- Home
- Categories
- Embedded Systems
Embedded Systems
Microcontroller firmware, IoT devices, FPGA digital logic design, and hardware-software integration.
All
SDL Hands You a Raw Pointer — Here's How to Make C++ Clean It Up For You
Every C library follows the same contract: you call a `Create` function, you get a raw pointer, and you are now *personally responsible* for calling the matching `Destroy` function — in the right order, at the right time, even when errors happen.
Your Game Has 500 Objects — How Do You Store Them Without Losing Your Mind (or Your Cache Lines)?
This tutorial walks through the Multiversal Consciousness engine's actual solution: a type-erased Component Registry backed by contiguous arrays, with O(1) entity-to-component lookup, cache-friendly iteration, and a swap-and-pop deletion strategy that maintains array density. All without external ECS libraries.
Collapsing the Wavefunction into WebAssembly: Shipping Multiversal Consciousness to the Browser
This advanced tutorial walks you through every step of compiling a C++23/SDL3 game engine -- Multiversal Consciousness -- into WebAssembly using Emscripten, then deploying it as a static webpage anyone can play
Building a Physics Engine and Interactive World: Collisions, Forces, and the Strategy Pattern
In this tutorial, we will implement a complete AABB physics system with gravity, friction, and slide mechanics, as well as an extensible obstacle interaction framework using the Strategy pattern. By the end, you will understand how to create a robust physics pipeline and design flexible interactions for a 2D platformer game.
Building a Production-Ready Input System and Tile Renderer for a 2D Platformer
A deep dive into the design and implementation of a robust input handling system with action-state tracking and a layered tile map renderer with frustum culling, all built from scratch in C++23 on top of SDL3.
Taming the Rendering Beast: SDL3 Setup and Integration in the Multiversal Consciousness Engine
A comprehensive walkthrough of how the Multiversal Consciousness game engine initializes SDL3, manages resources with RAII, configures display settings, and implements a robust game loop. Learn how to set up SDL3 in a modern C++23 project with smart pointers and clean architecture.