Home  Download  Documentation
[ Windows 3D Game Engine ]

XEngine3D

A complete C-language game engine for Windows, built on OpenGL 1.1 and DirectSound. Designed for real-time 3D games and applications with a clean procedural API — minimal overhead, maximum control.

01

About XEngine3D

XEngine3D is a modular, header-based game engine targeting Windows Win32 applications. It wraps the OpenGL 1.1 fixed-function pipeline with a clean procedural API, and integrates DirectSound for audio, DirectInput for gamepad and joystick support, DirectShow for AVI video cutscenes, and the Windows MCI interface for CD audio and MIDI playback.

The engine is composed of independent header modules — include only what you need. All subsystems are initialized individually and shut down in reverse order, giving you full control over startup and teardown.

Target Platform: XEngine3D targets 32-bit Windows (Win32 API) and is designed for use with Microsoft Visual C++ 6.0 (and later versions). All functions assume a valid Win32 window handle (HWND) created by xInit() before any rendering or input calls are made.
02

Engine Features

3D Rendering
OpenGL 1.1 fixed-function pipeline with camera, lighting, fog, terrain, skybox, and MD2 animated models.
2D Graphics
Bitmap rendering with color key, alpha-additive blending, primitives, and full-screen fade effects.
Audio System
DirectSound WAV playback, streaming music, CD audio, MIDI via MCI, and positional volume/pan control.
Input Handling
Keyboard with edge detection, mouse with delta and capture mode, DirectInput joystick/gamepad with force feedback.
AVI Video
DirectShow-based AVI playback for cutscenes. Fullscreen, windowed, looping, and blocking modes supported.
Asset Packages
Custom binary archive format for bundling game assets. Load textures, sounds, fonts, and models directly from packages.
Font System
Windows TrueType fonts and custom bitmap fonts (.met) with shadow, outline, alpha, and scale effects.
Modular Design
16 independent header modules. Include only what your project needs — no monolithic dependencies.
03

Latest News

2026-05-02
XEngine3D v1.0 Released
Initial public release of XEngine3D. Includes the full engine core, 3D and 2D rendering, audio (DirectSound, CD audio, MIDI), input (keyboard, mouse, joystick), AVI video cutscenes, bitmap fonts, and the asset package system. See the Download page for the full package.
04

Quick Links

Get started quickly with these resources:

Download XEngine3D v1.0 API Documentation Source on GitHub
05

License

XEngine3D is completely free and open-source. You can do whatever you want with it — use it in personal or commercial projects, modify it, redistribute it, include it in other software, or build products on top of it. No attribution required, no restrictions, no conditions.

The engine is released into the public domain. There is no license agreement to agree to and no legal obligations of any kind. Take the code, use it, change it, ship it. It's yours.

06

Changelog

2026-05-02
v1.0 — Initial Release
First public release of XEngine3D.