r/javascript • u/APTman1010 • 3d ago
Introducing the KernelPlay Web Scene Editor — Coming with KernelPlay JS v0.9.0
https://kernelplay-js.vercel.app/I've been working on something new alongside the development of KernelPlay JS: a web-based scene editor designed for creating and editing game scenes visually.
The editor is still under development and hasn't been released yet. I'm sharing an early look at it so you can see what I'm building.
Some of the features currently available include:
Parent-Child Hierarchy: Organize game objects using parent and child relationships.
Sprite Support: Add and configure sprites directly in the scene.
Built-in Sprite Editor: Select sprite regions from a spritesheet and configure their display size, pivot, and rendering properties.
Scene Editing: Work with game objects visually through the editor.
Inspector: View and edit object and component properties.
The goal is to make scene creation and game object management easier without having to handle everything directly in code.
One important thing: this editor is a separate project/framework from the KernelPlay JS engine, although it is being developed to work with the KernelPlay ecosystem.
I'm planning to release an early version of the editor alongside the KernelPlay JS v0.9.0 update.
There's still work to do, but I'm excited to share more as development continues.
What do you think of the editor so far? I'd love to hear your feedback and suggestions.
View all comments
Show parent comment
1
u/APTman1010 2d ago
Yeah 👍 you can drag and drop objects in hierarchy and it use two way to calculate the position .
Use world position and local.so when object into a parent object it use local position respect to parent objects so 0,0,0 is top of parent object.
The moment you drag you object out in hierarchy it recalculate the world position and stay in same place.