Mikey Engine (C++)

Mikey Engine (C++)

Mikey Engine is a game engine written in the C++ programming language that enables the development of 2D games. Utilizing the SDL2 library, the engine provides the fundamental game loop and management systems for developers who are just beginning their programming journey.

C++SDL2Engine2DLow-Level
GitHub →Live Demo →

Mikey Engine is a lightweight 2D game engine developed from scratch in C++ using SDL2. Built around an Entity Component System (ECS) architecture, it provides the essential systems required to develop 2D games, including rendering, entity management, collision detection, tile maps, audio, text rendering, and particle effects.

The primary goal of the project was to create a reusable game development framework rather than a standalone game. By separating the engine’s core systems from game-specific logic, Mikey Engine allows developers to build their own games on top of the existing infrastructure without having to implement fundamental functionality from scratch.

The engine features a modular ECS architecture in which entities are constructed by attaching independent components such as TransformComponent, SpriteComponent, and ColliderComponent. This approach makes game objects flexible and allows new behaviours to be introduced through custom components without modifying the underlying engine architecture.

Core Architecture

The engine is organized into several independent systems, each responsible for a specific part of the game development pipeline. The ECS manages entities, components, and entity groups, while the engine layer provides shared functionality such as collision detection, vector mathematics, animation, and particle handling.

Key Features

Technical Details

Game Engine: Mikey Engine (Custom)

Programming Language: C++14/17

Multimedia Library: SDL2

Image Processing: SDL2_image

Audio: SDL2_mixer

Text Rendering: SDL2_ttf

Architecture: Entity Component System (ECS)

Rendering: 2D Sprite Rendering

Collision System: Axis-Aligned Bounding Box (AABB)

Animation: Sprite-Sheet Animation

Particle System: Custom Particle and Trail Components

Frame Rate: Fixed 60 FPS

Platform: Windows

Project Type: Custom Game Engine Development

Core Logic: Entity management, component-based architecture, rendering, collision detection, resource management, and real-time game loop execution.