Getting Started#
New to Web Engine? Start here to learn the fundamentals and get your first project up and running in minutes.
Core Concepts#
Understand the fundamental architecture that powers Web Engine. Built on the Entity-Component-System (ECS) pattern for maximum performance.
ECS Architecture
Data-oriented design for optimal performance.
Components
50+ built-in components for game logic.
Systems
Game loop phases and system execution.
Performance Tip
Web Engine uses bitECS under the hood, achieving 60-120 FPS with 10,000+ entities. The zero-GC architecture ensures smooth gameplay without stutters.
Scripting#
Write game logic in JavaScript or TypeScript. The scripting API provides intuitive access to transforms, physics, input, and more.
export default (api) => { const speed = 5.0; return (dt, time) => { // Read input const { move, jumpDown } = api.input; // Move player if (move.x !== 0 || move.y !== 0) { api.controller.move({ x: move.x * speed * dt, y: 0, z: move.y * speed * dt }); } // Jump if (jumpDown && api.controller.isGrounded) { api.applyImpulse({ x: 0, y: 10, z: 0 }); } };};Engine Features#
Explore the powerful features that make Web Engine a complete game development solution.
Physics
Rapier3D-powered rigid body and character physics.
AI & Navigation
NavMesh pathfinding and steering behaviors.
Multiplayer
Real-time networking with Colyseus.
Input System
Keyboard, mouse, gamepad, and touch input.
Particles
GPU-accelerated particle systems.
Post-Processing
Bloom, SSAO, DOF, and more effects.
Additional Resources#
Dive deeper into specific topics and explore advanced features.
- Architecture Guide — Deep dive into engine internals and registry-first design.
- Performance Guide — Tips for achieving optimal frame rates.
- Component Reference — Complete documentation for all components.
- White Labeling — Customize the engine for your brand.
Need Help?
Join our Discord community for support, share your projects, and connect with other developers. Check out the GitHub repository for bug reports and feature requests.