Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Engine | 8,665 | 2 | 10 | 8 hours ago | 156 | August 01, 2023 | 552 | mit | JavaScript | |
Fast and lightweight JavaScript game engine built on WebGL and glTF | ||||||||||
Hilo | 5,787 | 4 | 10 | a year ago | 31 | August 13, 2020 | 26 | mit | JavaScript | |
A Cross-end HTML5 Game development solution developed by Alibaba Group | ||||||||||
Ammo.js | 3,755 | 26 | 26 | 17 days ago | 9 | April 17, 2016 | 166 | other | C++ | |
Direct port of the Bullet physics engine to JavaScript using Emscripten | ||||||||||
Engine | 3,742 | 18 | 4 days ago | 278 | June 21, 2023 | 258 | mit | TypeScript | ||
A typescript interactive engine, support 2D, 3D, animation, physics, built on WebGL and glTF. | ||||||||||
Phaser Examples | 1,660 | 1 | 2 years ago | September 20, 2022 | 17 | JavaScript | ||||
Contains hundreds of source code examples and related media for the Phaser HTML5 Game Framework. | ||||||||||
Layaair | 1,450 | 6 days ago | 80 | mit | JavaScript | |||||
LayaAir is an open-source 2D/3D engine. LayaAir Engine is designed for high performance games.LayaAir support TypeScript and JavaScript、ActionScript 3.0 programming language.Can develop once, publish for multi platform. | ||||||||||
Gpu Io | 1,029 | 2 | 5 months ago | 15 | April 24, 2023 | 4 | mit | TypeScript | ||
A GPU-accelerated computing library for running physics simulations on the web | ||||||||||
Taro | 639 | a year ago | 1 | mit | JavaScript | |||||
A lightweight 3D game engine for the web. | ||||||||||
Mainloop.js | 480 | 26 | 6 | 10 months ago | 5 | May 30, 2017 | 4 | mit | JavaScript | |
Provides a well-constructed main loop useful for JavaScript games and other animated or time-dependent applications. | ||||||||||
Unrust | 318 | 5 years ago | 10 | other | Rust | |||||
unrust - A pure rust based (webgl 2.0 / native) game engine |
Galacean is a web-first and mobile-first high-performance real-time interactive engine. Use component system design and pursue ease of use and light weight. Developers can independently use and write Typescript scripts to develop projects using pure code.
The engine is published on npm with full typing support. To install, use:
npm install @galacean/engine
This will allow you to import engine entirely using:
import * as GALACEAN from "@galacean/engine";
or individual classes using:
import { Engine, Scene, Entity } from "@galacean/engine";
// Create engine by passing in the HTMLCanvasElement id and adjust canvas size
const engine = await WebGLEngine.create({ canvas: "canvas-id" });
engine.canvas.resizeByClientSize();
// Get scene and create root entity
const scene = engine.sceneManager.activeScene;
const rootEntity = scene.createRootEntity("Root");
// Create light
const lightEntity = rootEntity.createChild("Light");
const directLight = lightEntity.addComponent(DirectLight);
lightEntity.transform.setRotation(-45, -45, 0);
directLight.intensity = 0.4;
// Create camera
const cameraEntity = rootEntity.createChild("Camera");
cameraEntity.addComponent(Camera);
cameraEntity.transform.setPosition(0, 0, 12);
// Create sphere
const meshEntity = rootEntity.createChild("Sphere");
const meshRenderer = meshEntity.addComponent(MeshRenderer);
const material = new BlinnPhongMaterial(engine);
meshRenderer.setMaterial(material);
meshRenderer.mesh = PrimitiveMesh.createSphere(engine, 1);
// Run engine
engine.run();
Everyone is welcome to join us! Whether you find a bug, have a great feature request or you fancy owning a task from the road map feel free to get in touch.
Make sure to read the Contributing Guide / before submitting changes.
Prerequisites:
npm install -g pnpm
)In the folder where you have cloned the repository, install the build dependencies using pnpm:
pnpm install
Then, to build the source, using npm:
npm run b:all
The engine is released under the MIT license. See LICENSE file.