Skip to content
 
 

Repository files navigation

jMonkeyEngine Project Initializer

A client-side TypeScript initializer that generates downloadable jMonkeyEngine projects in the browser.

public/config.json lists the available jMonkeyEngine releases under versions and selects the initial release with defaultVersion. Each release points to a profile containing its platform, Java, renderer, module, allocator, catalog and plugin settings. The browser reloads these settings when you select a release. The Java selector controls source and bytecode compatibility and defaults to Java 11. Foojay provisions the profile's JDK 25 toolchain when it is missing. The Native Image plugin follows the engine release unless the profile pins it. Use a release's moduleVersions for engine modules published on their own version. A release can override individual profile plugin versions under versions.<release>.plugins.

The default template builds from template-src/ into public/template.zip. To give a profile or an individual release its own template, set its template to an ID and put the complete template in template-versions/<id>/. The build packs it as public/templates/<id>.zip and embeds it in the headless generator.

Selectable core modules are data-driven. Add an entry with id, name and description; platforms is optional and defaults to every platform. Required modules are added silently from requiredModules and are not shown in the UI.

The generated project keeps its normalized source icon at icon.png. The iOS plugin consumes that file directly, while the included gradle/libs/android-icon-gen.gradle task regenerates Android launcher densities whenever the project is built.

Build

npm ci
AGENT_SITE_URL=https://start.jmonkeyengine.org npm run build

The static site is generated in dist/. The build prints the skill download URL using siteUrl from public/config.json or the optional AGENT_SITE_URL override.

Agent skill and starter

Install the complete jmonkeyengine directory using either source.

  • GitHub. Point your skill installer at this repository and the path skills/jmonkeyengine. The directory contains the Markdown instructions, references and assets/starter.zip.
  • ZIP. Give your agent the installable skill ZIP and ask it to install the enclosed jmonkeyengine directory. Its contents and relative links match the GitHub installation.

On each push to master, CI regenerates the all-platform starter for defaultVersion, then packages the skill directory with that starter. After the Linux and Windows checks pass, CI compares the packaged starter with the repository copy. If the bytes changed, it commits only skills/jmonkeyengine/assets/starter.zip using the workflow token. This push does not start another run. The same workflow publishes the installable ZIP at /skills/jmonkeyengine-skill.zip.

Embed

<script src="https://start.jmonkeyengine.org/embed.js"></script>

Releases

Packages

Contributors

Languages