Web Engine Documentation

v0.1.0-alpha

Welcome to the official documentation for Web Engine — a high-performance, browser-based 3D game engine built with modern web technologies. Learn how to create stunning games and interactive experiences.

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.

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.

PlayerController.js
javascript
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.

50+Components
45+Systems
10k+Entities @ 60fps
0GC Allocations

Additional Resources#

Dive deeper into specific topics and explore advanced features.

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.

Documentation | Web Engine