Real-time physically-based rendering with support for volumetric lighting, global illumination, and custom shader pipelines.
Integrated rigid body and soft body physics with continuous collision detection and configurable constraint solvers.
Spatial audio engine with HRTF support, real-time reverb simulation, and seamless music layering system.
Hot-reloadable scripting with a custom language designed for game logic, plus full JavaScript and Lua bindings.
Visual scene editor with drag-and-drop composition, real-time preview, and collaborative editing support.
Built-in multiplayer framework with client-side prediction, server reconciliation, and lobby management.
1 import Chloe from 'chloe-engine';
2
3 // Initialize the engine
4 const engine = new Chloe({
5 title: 'Hello World',
6 width: 1920,
7 height: 1080,
8 renderer: 'webgpu'
9 });
10
11 // Create a scene
12 const scene = engine.createScene();
13 scene.addLight({ type: 'sun', color: '#FF6B95' });
14 scene.addCamera({ fov: 75 });
15
16 // Start the render loop
17 engine.run();