Phantom Engine

Custom 2D game engine built from scratch in Rust with Vulkan rendering, ECS architecture, and hot-reload scripting.

active

Overview

Phantom Engine is a custom 2D game engine focused on performance and developer experience.

Features

  • ECS Architecture: Archetype-based Entity Component System for cache-friendly iteration
  • Vulkan Renderer: Sprite batching, texture atlases, 10K+ sprites at 60fps
  • Hot-reload Scripting: Lua scripting with live reload during development
  • Built-in Editor: Level editor with tilemap support

Architecture

phantom-engine/
├── crates/
│   ├── phantom-ecs/      # Entity Component System
│   ├── phantom-render/   # Vulkan 2D renderer
│   ├── phantom-script/   # Lua scripting bridge
│   ├── phantom-audio/    # Audio system (OpenAL)
│   └── phantom-editor/   # Level editor UI
└── examples/
    ├── platformer/
    └── top-down-rpg/

Roadmap

  • ECS core
  • Vulkan sprite rendering
  • Lua scripting
  • Physics (Box2D integration)
  • Networking (peer-to-peer)
  • WebGPU backend
ESC
Type to search...