Tutorials

Learn from comprehensive technical tutorials with step-by-step guides, code examples, and best practices.

All Tutorials

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.

Beginner
19 minutes
Jun 1, 2026

Two Worlds, One Frame: Synchronizing Parallel Reality State Without Tearing the Simulation Apart

Imagine a game where a door unlocked in Reality A must also appear unlocked in Reality B — but the key that opened it only exists in Reality A's inventory, and the agent who picked it up is standing in a completely different position in Reality B. Some state is shared. Some state is independent. And when the player presses one button to switch realities, the entire world must pivot atomically — no system should ever observe a half-switched state during a frame.

Advanced
31 minutes
Jun 1, 2026

10 Milliseconds or Failure: Architecting a Real-Time Sensor Pipeline Across Two Threads Without Locking Up the UI

A deep dive into the engineering of a real-time IMU processing pipeline that runs on a worker thread while communicating with a Qt Quick UI on the main thread. Learn how to use `std::atomic` for lock-free shutdown signaling, Qt's queued signals for cross-thread communication, and self-correcting timing loops to maintain a 100 Hz sample rate without ever blocking the UI thread.

Advanced
31 minutes
Apr 20, 2026
    Ask me anything!