NewsCrawler.org

Story · 2 entries · –

Introducing the KernelPlay Web Scene Editor, coming with KernelPlay JS v0.9.0

Latest in the story ·

KernelPlay JS is a lightweight JavaScript game engine inspired by Unity's Entity-Component architecture, meant for learning, prototyping and small-to-medium 2D games. It uses an ECS[1] architecture to compose game objects and supports Canvas 2D, WebGL 2D and Three.js[2] rendering. It also has built-in 2D/3D physics with collision detection and rigidbodies[3].

The engine offers keyboard and mouse input handling, scenes for switching between levels, rendering of 2D sprites and animated textures, and a state machine for character animations and behaviors. The camera is a full Entity in the scene. It has no dependencies except Three.js for 3D, and it can be installed via npm or loaded from a CDN[4].

The post announces the KernelPlay Web Scene Editor, which is coming with KernelPlay JS v0.9.0. The sample code creates a scene with a camera and a red box object (BoxRenderComponent) that moves with the arrow keys or WASD.

Open the entry

All entries of the story

Open as a page