About KernelPlay.js

A passion project born from the desire to make game development accessible, educational, and fun for JavaScript developers.

The Story

KernelPlay.js was created with a simple mission: to provide developers with a lightweight, intuitive game engine that doesn't get in the way of creativity. Inspired by Unity's elegant Entity-Component System, it brings familiar concepts to the JavaScript ecosystem.

The engine started as a learning project to explore game architecture patterns and has evolved into a fully-functional framework capable of handling 2D and 3D games. With multiple rendering backends, built-in physics, and a clean API, KernelPlay.js aims to be the perfect choice for prototyping, learning, and building indie games.

Now at v0.5.1, the project is actively developed and welcomes contributions from the community. Whether you're a beginner learning game development or an experienced developer looking for a lightweight engine, KernelPlay.js has something to offer.

Development Journey

1

Core Architecture & Scene Lifecycle

Built the foundational Entity-Component System, a deterministic game loop, and modular scene management with automated lifecycle hooks (onAttach, onStart, update, lateUpdate, onDestroy) in v0.1.1.

2

Render Pipeline

Implemented multiple scalable rendering backends including Canvas 2D, Pixi.js, and experimental Three.js 3D viewport support in v0.2.0.

3

Physics Engine

Added 2D/3D physics with collision detection, rigidbodies, gravity, and trigger systems.

4

Audio & UI Systems

Rebuilt audio around the Web Audio API with spatial sound and BGM crossfade, and shipped a full UI canvas layer with eight-plus element types in v0.4.0.

5

Unified Input System & Input Manager

Debuted a complete input overhaul in v0.5.0 featuring cross-platform Unified Keyboard + Gamepad + Touch input systems managed through a centralized controller API.

Roadmap

Completed

  • ✓ Entity-Component System (v0.1.0)
  • ✓ Scene Management (v0.1.1)
  • ✓ Multiple Renderers (v0.2.0)
  • ✓ Camera & World Position (v0.2.3)
  • ✓ Audio System (Web Audio API) (v0.3.1)
  • ✓ Animation & Sprite Renderer (v0.3.0)
  • ✓ UI Canvas Layer (v0.4.0)
  • ✓ Unified Input System & Input Manager (v0.5.0)

In Progress

  • ⏳ Upcoming Version v0.6.0
  • ⏳ Physics Engine Modulation
  • ⏳ Debug Tools

Planned

  • → Tilemap Support
  • → Particle System
  • → AI Behaviors

Future

  • 🌟 Advance Plugin System
  • 🌟 Visual Editor
  • 🌟 Mobile Export
  • 🌟 Networking

Soubhik Mukherjee

Creator & Lead Developer

A passionate game developer and JavaScript enthusiast dedicated to making game development accessible to everyone. Building KernelPlay.js with love and coffee ☕

Follow on GitHub

Contributing

KernelPlay.js is open source and welcomes contributions from developers of all skill levels. Whether you want to fix bugs, add features, improve documentation, or share feedback, your input is valuable!

Code

Submit PRs for bug fixes and new features

Docs

Help improve documentation and examples

Feedback

Share ideas and report issues

Open Source License

KernelPlay.js is licensed under the MIT License, which means you're free to use it in personal and commercial projects.

Read Full License →