Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

How We Upgraded Our Limn Engine Playground Editor to Support Version 4

Description and use

Updated the Limn Engine Playground Editor to support Version 4 (epic.js). Implemented dynamic version detection via DOM traversal and string filtering, allowing the engine to switch without a backend.

Problem

The Limn Engine Playground Editor did not support Version 4 (epic.js), preventing developers from accessing new features like built-in particle systems and audio management within the web-based editor.

Outcome

Implemented a lightweight, zero-dependency version switcher that connects UI dropdowns directly to core framework files. Developers can now select Version 4 in the editor and instantly see their game run with new features.

Workflow

  • Download the core engine script file named 'epic.js' and host it for accessibility.
  • Update the scanner loop to include 'V4' in the text content check for version detection.
  • Update the script routing conditionals to map 'v4' selections to the epic.js file URL.
  • Test the version switcher to ensure the correct script is injected for Version 4.

Evidence

text.includes('V4')... We added this check so that when the editor reads our UI elements, it officially registers Version 4 as a valid release option instead of skipping it.

Source

selectedVersion.includes('v4')... When a user selects v4 from the dropdown, this conditional matches the string and targets our newly hosted epic.js file for preview injection.

Source

  • Record date: 2026-09-05T14:47:43.037Z