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.
Read guide →Transform, Collider, Rigidbody2D, BoxRenderer, and ScriptComponent.
Read guide →Canvas 2D, WebGL 2D, and Three.js 3D rendering backends.
Read guide →Gravity, velocity, collision detection, triggers, and rigidbodies.
Read guide →Touch joystick and swipes, Gamepad buttons, sticks and triggers, plus the unified Input manager with custom actions and JSON config.
Read guide →Utility classes for common tasks: math, random, asset loading, and more.
Read guide →onAttach, onStart, update, lateUpdate, onCollision, onDestroy.
Read guide →Configure entities and components dynamically with a flexible property injection system.
Read guide →Implement split-screen, minimaps, or cinematic views with multiple cameras.
Read guide →Explore keyframe animation, animation blending, and custom animation curves.
Read guide →Learn to use sprite sheets, atlases, and efficient sprite rendering techniques.
Read guide →playOneShot, playLoop, named clips, preloading, background music and AudioListener setup.
Read guide →UICanvas setup, themes, UIPanel, UIText, UIButton, UIProgressBar, UISlider, UIInputField, world-space UI and a full HUD example.
Read guide →UI overlay with live stats, and in-world draw layers for physics, bounds, and cameras.
Read guide →The same component can then work with Canvas2D, Pixi, or future backends
Read guide →Complete method tables for Entity, Scene, SceneManager, and more.
Read guide →Interactive canvas demos with full code — platformer, bouncing balls, triggers, and more.
Try examples →