Install the library and build your first game. npm, CDN, and basic setup.
Read guide →Game, Scene, Entity, Component — the four pillars of KernelPlay.js architecture.
Learn more →Transform, Collider, Rigidbody2D, BoxRenderer, and ScriptComponent.
View components →Canvas 2D, WebGL 2D, and Three.js 3D rendering backends.
Choose renderer →Gravity, velocity, collision detection, triggers, and rigidbodies.
Explore physics →Keyboard, mouse, gamepad, and raycast picking from scripts.
Handle input →onAttach, onStart, update, lateUpdate, onCollision, onDestroy.
View lifecycle →Complete method tables for Entity, Scene, SceneManager, and more.
See API →Interactive canvas demos with full code — platformer, bouncing balls, triggers, and more.
Try examples →