Skip to content

VANILLAJS v2.7.0 โ€” The Scene & Narrative Foundry ๐Ÿ‘ฝ๐Ÿ“–๐ŸŒŒ

Choose a tag to compare

@EmergentMonk EmergentMonk released this 16 Nov 13:58
Immutable release. Only release title and notes can be modified.
70e63b9

Build the world. Write the story. Let the player decide.

VANILLAJS v2.7.0 introduces two major creator capabilities: a reusable Scene Graph for composing animated 3D worlds and a Narrative Foundry for creating interactive stories, dialogue, decisions and objectives.

Inspired by the creative freedom of classic game editors and branching-story tools such as Twine, these systems are independently implemented using native JavaScript, bounded data formats and the existing VANILLAJS engine.

No new runtime frameworks. No cloud dependency. No accounts. Just original tools for building original games.

๐ŸŒŒ Scene Composition โ€” Build Worlds That Move

The Visual Workbench gains a new scene-composition workflow, supported by the reusable scene-graph engine module.

Creators can now:

  • Organise objects into parent/child hierarchies.
  • Position objects using local and world-space transforms.
  • Reparent objects within a scene.
  • Create and reuse nested prefabs.
  • Author transform keyframes and animation tracks.
  • Seek and preview animations at chosen times.
  • Configure camera, light and appearance metadata.
  • Preview composed scenes using the native renderer.
  • Undo and redo composition edits.
  • Export and reimport validated scene compositions.

The new qsol.vanillajs.scene-graph.v1 format makes scene structures portable and inspectable.

Scene compositions are saved as separate files, preserving compatibility with existing Workbench v1/v2 projects. Legacy physics and project formats remain unchanged.

New module: modules/scene-graph/

๐Ÿ“– Narrative Foundry โ€” Give Your Game a Story

A completely new Narrative Foundry introduces visual story authoring to VANILLAJS.

Create interactive adventures using:

  • Story nodes and dialogue.
  • Branching player choices.
  • Conditions that unlock or restrict decisions.
  • Typed story variables.
  • Declarative effects and state changes.
  • Quest and objective tracking.
  • Events that can trigger changes in a game scene.
  • Reachability, missing-link and cycle diagnostics.
  • Multiple endings.
  • Deterministic story traversal.
  • Validated story and progress import/export.

The engine validates complete story projects before accepting changes. Invalid imports leave the previous story intact.

The new narrative module is independent of the browser interface and rendering system, allowing future games to reuse story logic without inheriting the Narrative Foundry UI.

New module: modules/narrative/

๐Ÿฎ The Last Lantern โ€” An Original Interactive Story

The Narrative Foundry includes The Last Lantern, an original branching adventure about signalling a courier from a coastal tower.

Its seven story nodes lead to three distinct endings.

Explore a workshop, find a missing prism, make decisions about the journey and influence an accompanying 3D scene.

The demonstration shows how authored narrative events can control presentation without embedding executable scripts inside story files.

Creators can modify the story, add branches, change conditions, preview different endings and export their own work.

๐Ÿ› ๏ธ Better Authoring, Better Reuse

Both systems are integrated with the existing VANILLAJS creator environment.

This release includes:

  • New Workbench scene-composition controls.
  • A dedicated interactive Narrative Foundry.
  • Scene and story preview tools.
  • Versioned, data-only project formats.
  • Human-readable tutorials and API references.
  • Two additional validated AI-agent workflows.
  • Creator Hub and homepage navigation.
  • Updated engine architecture and integration documentation.
  • Browser-verified export/import and recovery behaviour.

The engine catalogue now contains:

  • 66 experimental modules.
  • 47 registered recipes.
  • 2 research experiments.
  • 10 agent workflows.

Existing Sprite Foundry, Weapon Feel, Demoscene, Racing, FPS and other Game Labs remain supported.

๐ŸŽฎ Preparing for Games2

These additions provide reusable foundations for future QSOL-IMC games.

The Scene Graph can support animated environments, moving assemblies, cinematic moments and composed prefabs.

The Narrative Foundry opens opportunities for:

  • FPS campaigns and mission briefings.
  • Interactive science-fiction adventures.
  • Space exploration and branching missions.
  • Tactical RPG dialogue.
  • Futuristic investigation games.
  • RTS campaign decisions.
  • Quest systems and multiple endings.

Games2 remains independently developed. Any adoption of these capabilities will use a reviewed, source-pinned VANILLAJS release.

๐Ÿงช Verification & Engineering

The implementation passed:

  • 1,026 Node tests, with zero failures or skipped tests.
  • All seven packaged Chromium browser groups.
  • All eight hosted GitHub CI workflows.
  • Source and dependency validation.
  • Offline build and package integrity verification.
  • Documentation and agent catalogue checks.

The verified package contained 848 files, totalling 5,359,311 bytes.

Browser testing covered scene editing and animation, story choices and endings, imported projects, rollback, native-renderer scene effects, responsive layouts, offline operation and startup recovery.

The implementation preserves Apache-2.0 licensing, existing numerical contracts, formal proofs and historical evidence.

Both new APIs remain experimental. Lighting and material descriptions are metadata rather than a complete new lighting renderer, and exported scenes or stories are reusable data rather than finished games.

๐Ÿš€ What's Next?

The engine expansion programme continues:

v2.8.0 โ€” The Game Maker API

A simpler, raylib-inspired JavaScript development interface, tilemap authoring, sprite integration and compact playable game-building examples.

v2.9.0 โ€” HORIZON: The 3D Racing Foundry

A major graphics and simulation milestone introducing more detailed vehicles, realistic-looking environments, enhanced materials, lighting, suspension, driving physics and advanced track authoring.

Both remain future milestones requiring separate implementation and verification.

What's Changed

  • SCENE-NARRATIVE-001: Add Scene Composition and Narrative Foundry โ€” PR #102

Full Changelog: v2.6.0...70e63b9


Build the engine. Prove the physics. Make the tools. Teach the creator.

QSOL-IMC โ€” THIS IS NOT A PRODUCT. THIS IS INDEPENDENCE. ๐Ÿ‘ฝ

Apache-2.0 ยท Native JavaScript ยท Offline-first ยท Original content ยท No runtime dependencies