WebAssembly Game Engine

High-performance 2D graphics powered by Rust + WebAssembly

Near-Native Performance

Built with Rust and compiled to WebAssembly for maximum speed. Experience 60fps graphics in your browser.

🎨

Modern Graphics Pipeline

WebGL 2.0 rendering with custom shaders, matrix transformations, and efficient sprite batching.

🧩

ECS Architecture

Scalable Entity-Component-System design for complex game logic and optimal performance.

🎯

Physics & Collision

Built-in 2D physics engine with AABB collision detection, raycasting, and response systems.

🔊

Audio Integration

Web Audio API integration for sound effects, music, and real-time audio synthesis.

🌐

Cross-Platform

Runs in any modern browser on desktop, mobile, and tablets. No plugins required.

🎪

Interactive Demo

Explore sprite creation, animation, and real-time interaction. Perfect for understanding the engine's capabilities.

Try Demo View Docs
🚀

Space Shooter Game

Complete game showcasing collision detection, input handling, and game state management.

Play Game Source Code

🚀 Quick Start

Get up and running with the WebAssembly Game Engine in minutes

1

Install Dependencies

Install Rust and wasm-pack

2

Build Project

Run the build script

3

Start Coding

Create your first game

# Clone and setup git clone https://github.com/yourusername/wasm-game-engine cd wasm-game-engine # Build (Windows) build.bat # Build (Linux/Mac) ./build.sh # Start development server npm run dev
// Create your first game import { GameEngine } from './js/game-engine.js'; const engine = new GameEngine('canvas'); await engine.init(); const player = engine.createSprite({ x: 100, y: 100, width: 32, height: 32, color: GameEngine.Color.BLUE }); engine.start();