qmetrics.net

Arch

C# archetype-chunk entity component system for games

Arch screenshot

Arch is a C# entity-component system using archetypes and chunks for game development and data-oriented code. It targets .NET Standard and modern .NET runtimes.

Overview

Arch implements an entity-component system in C# with archetype-based storage and configurable chunk sizes, oriented toward game worlds and data-oriented programming. You define entities and components, then run queries and systems over matching sets, with optional multithreading for query work.

The API is intentionally small: bulk entity operations, command buffers, events, and both generic and non-generic query styles are supported alongside optional pure-ECS mode. Chunks default to 16KB and entities stay compact in memory; the design emphasizes cache-friendly iteration and controlled allocation.

It integrates with common C# game stacks through documented guides for MonoGame, Unity, and Godot. Additional packages extend Arch with systems, tools, and source generators, including community engine layers built on the same ECS model.

Projects in the wild span factory sims, roguelite strategy, tower defense, and metaverse clients, all using Arch as the core entity model. Documentation and a wiki cover concepts, performance techniques, and extension points for authors evaluating ECS options in C#.

Key features

  • Archetype chunks with configurable size
  • Optional multithreaded queries
  • Bulk and batch entity operations
  • Command buffers and ECS events
  • Generic and non-generic APIs
  • AOT-friendly design
  • Unity, Godot, and MonoGame guides
  • Optional pure-ECS performance mode

Use cases

  • Real-time game entity simulation
  • Data-oriented C# application logic
  • Large-world ECS prototyping
  • Cross-engine C# game projects

Tags

Similar software

Bevy Engine

Rust game engine with ECS architecture

Bevy Engine is a data-driven Rust game engine for 2D and 3D work. It emphasizes modularity, parallel execution, and fast iteration while the project remains under active development.

★ 50k⟳ yesterdayApache-2.0
Open Source Alternative to:Unity

Phaser

HTML5 2D game framework with Canvas and WebGL

Phaser is a JavaScript and TypeScript framework for browser games on desktop and mobile, with scene APIs, physics, animations, and loaders. Games can target embed platforms or wrap for native stores via third-party tooling

★ 40.8k⟳ 3 months agoMIT

raylib

Minimal C library for games and graphical programs

raylib is a C99 graphics and game programming library with no mandatory external dependencies. It suits prototypes, tools, education, and embedded targets across desktop, mobile, and web.

★ 35.8k⟳ todayZlib
Frameworks & PlatformsDesktop/CLI app

Matter.js

JavaScript two-dimensional rigid body physics engine

Matter.js simulates 2D rigid-body physics for browser games and interactive pages. It runs in modern browsers and Node.js with canvas rendering and touch-friendly controls.

★ 18.7k⟳ 1 month agoMIT
Frameworks & PlatformsDesktop/CLI app

wgpu

Cross-platform safe Rust graphics API

wgpu implements the WebGPU-style API in Rust for native and WebAssembly targets. It backs Firefox, Servo, and Deno WebGPU integration and maps to Vulkan, Metal, D3D12, and GLES.

★ 18.7k⟳ todayApache-2.0
Frameworks & PlatformsDesktop/CLI app

GLFW

Cross-platform windowing library for OpenGL and Vulkan

GLFW is a C library that creates windows, graphics contexts, and surfaces while handling input and events. It targets OpenGL, OpenGL ES, and Vulkan on desktop and Unix-like systems.

★ 15.5k⟳ 3 months agoZlib
Frameworks & PlatformsDesktop/CLI app