Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Sharing a Small Grid-Based Level Editor + Runtime Demo (Looking for Feedback / Help) Hi everyone, I just wanted to share a small demo project I’ve been working on and see if there’s any interest in developing it a bit further with help from the community. This is a scaled-down demo version of a grid-based level editor + runtime system for CopperCube. It’s not meant to be a full engine or finished tool — more of a proof-of-concept to show what’s possible. I should also say upfront: I’m not an expert, and I had help from ChatGPT putting parts of this together. The idea here is learning, experimenting, and hopefully collaborating. What this demo shows • A simple HTML level editor (runs in the browser) • Paint-style grid editing (click + drag, not click-spam) • Floor painting + erase • Player spawn placement • Selection of floor / wall / ceiling textures • Saves and loads a map.json • CopperCube runtime builds the level automatically at play time Important point: The editor only paints [i]intent[/i] (floors + spawn). Walls and ceilings are inferred automatically at runtime. What’s included in the ZIP • A ready-to-use CopperCube runtime .ccb file • The JavaScript runtime behaviour (put this in CopperCube’s extensions folder) • The HTML level editor (editor.html) • Example textures folder • Example map.json • A README with setup instructions Basically: Open the runtime .ccb Make sure map.json is in the same folder Press Play — the level just works You can also add the behaviour to your own project if you prefer. Download – Light Version Demo [url]https://drive.google.com/file/d/1_0l5N0V7QGEl9rrVmAnO8qLZ1jDsrGFk/view?usp=sharing[/url ] Screenshots In-game example: [img]https://i.gyazo.com/ccd8ac3960ed8bc21a847ff91989e8e6.jpg[/img ] Level editor example: [img]https://i.gyazo.com/5dcd4a9869c72b2b3fd4b7e5b45be0e0.jpg[/img ] Why I’m sharing this I actually built a [i]much more advanced[/i] version of this for myself: • key pickups • doors • weapon system • item pickups • larger texture selection system • everything paintable through the editor I’m keeping that version private for now, but if there’s genuine interest and people want to help improve or extend this system, I’d be happy to share the more advanced source as well and collaborate. For now, I just wanted to put this lighter version out there and see what people think. If anyone has ideas, feedback, or wants to help develop this further, I’d love to hear from you. Thanks for taking a look ???? |
||||
|
|