ECS Architecture
Entity Component System with modular sub-engines for optimal performance and maintainability.
Modern ECS Game Engine built with TypeScript, Electron, and PIXI.js
Type (TypeScript Yields Powerful [Game] Engines) is a modern game engine that implements Entity Component System (ECS) architecture with a sophisticated multi-engine design pattern. Built for high-performance 2D game development, Type provides a complete ecosystem for creating games with TypeScript.
Type is built around a multi-engine architecture where the TypeEngine serves as a central coordinator, managing 7 specialized sub-engines:
// Create and setup the engine
const engine = new TypeEngine({
projectPath: './game-assets',
Render: {
canvas: document.getElementById('game-canvas'),
width: 1024,
height: 768
},
Physics: {
gravity: { x: 0, y: 0.8 }
}
});
// Setup all sub-engines
await engine.setup();
// Start the game loop
engine.start();
๐ Academic Project
This project is part of an academic research program at Universidade de Sรฃo Paulo (USP) Brazil, focusing on modern software architecture and ECS game engine design patterns.