Skip to content

VANILLAJS v2.8.0 โ€” The Game Maker API ๐Ÿ‘ฝ๐ŸŽฎ

Choose a tag to compare

@EmergentMonk EmergentMonk released this 16 Nov 15:42
Immutable release. Only release title and notes can be modified.
f7cd8d6

From an empty canvas to a playable game. No frameworks. No cloud. No compromises.

VANILLAJS v2.8.0 introduces a native JavaScript Game Maker API, a reusable tilemap engine and an interactive Game Maker Lab.

Inspired by the simplicity of classic game-development tools such as raylib, this release makes building original browser games more approachable while preserving VANILLAJS's modular architecture, numerical contracts and offline-first philosophy.

Create the world. Add the mechanics. Test your game. Export it. Keep everything.

๐ŸŽฎ Game Maker API โ€” Small Code, Real Games

The new api/game-maker/ provides a lightweight development interface over existing VANILLAJS engine systems.

Creators can:

  • Draw rectangles, circles, lines and text.
  • Render sprites and layered tilemaps.
  • Apply camera transformations.
  • Work with validated local assets.
  • Handle supplied input and fixed-step simulation.
  • Generate bounded procedural particles.
  • Play original locally generated sounds.
  • Control pause, reset and resource disposal.

The API owns its resources explicitly. It does not introduce a hidden game loop, mandatory framework or global engine dependency.

A small independently runnable example, Ember Relay, demonstrates how to compose these capabilities into a game with real movement, jumping, collision, pickups, victory conditions and restart.

๐Ÿ—บ๏ธ Tilemap Engine โ€” Build Your Own Worlds

The new modules/tilemap/ brings reusable 2D world construction to VANILLAJS.

Features include:

  • Multiple visual tile layers.
  • Parallax backgrounds.
  • Sprite Foundry atlas integration.
  • Collision grids.
  • Spawn points and interaction markers.
  • Camera-follow behaviour.
  • Bounded tile-based collision.
  • Versioned, validated world data.

Tile movement composes existing integer-based motion systems, keeping authored visual tiles and authoritative simulation coordinates explicitly defined.

The system is suitable for future platformers, top-down adventures, arcade shooters and other original 2D games.

๐ŸŒฑ Game Maker Lab โ€” Introducing Signal Garden

Meet Signal Garden, an original interactive creation workshop.

Start with an empty stage and turn it into a functioning game.

The lab includes:

  • Sprite, palette and tileset editing.
  • Visual tile placement.
  • Multiple layers.
  • Collision and interaction painting.
  • Player movement and jumping.
  • Working pickups and objectives.
  • Optional original sound.
  • Win, lose and restart conditions.
  • Undo/redo and project import/export.
  • Validation diagnostics and meaningful progress feedback.

This is more than a collection of editor controls: the resulting game uses actual VANILLAJS simulation and rendering facilities.

๐Ÿ“ฆ Export a Complete Offline Game

One of the biggest additions in v2.8.0 is portable game export.

Creators can export a validated Game Maker project as a ZIP containing:

  • The playable native JavaScript runtime.
  • Authored world and asset data.
  • The supported example gameplay rules.
  • Required engine dependencies.
  • Licence and attribution notices.
  • Source and SHA-256 integrity records.
  • A scoped offline service worker.

The generated package can be hosted independently under a nested URL without relying on the original VANILLAJS website.

An accompanying command-line exporter supports reproducible development workflows:

node scripts/export-game-maker.mjs PROJECT.json --out NEW_DIRECTORY

Exported games remain available offline after the required browser installation.

Important: The exporter packages supported Game Maker projects and their declared gameplay rules. It does not execute arbitrary imported JavaScript or automatically compile every possible Visual Workbench scene into a complete game.

๐Ÿ› ๏ธ Creator and AI-Agent Integration

The Creator Hub, documentation and machine-readable agent catalogue have been updated to support the new workflow.

VANILLAJS now provides:

  • 67 experimental modules
  • 48 registered recipes
  • 2 research experiments
  • 11 agent workflows

New documentation covers the public API, tilemap authoring, the Game Maker Lab, portable export and integration into independent projects.

The existing Sprite Foundry, Scene & Narrative Foundry, Demoscene Foundry and other Game Labs remain compatible.

๐Ÿ”ง Reliability and Export Fixes

The final review also addressed export cancellation and stale asynchronous operations.

Restarting a project or rejecting an imported file now restores export availability correctly.

An older export operation cannot incorrectly overwrite the state of a newer export. Busy-state feedback and cancellation messages also recover properly.

These behaviours have dedicated regression coverage.

๐Ÿงช Verification

The implementation passed extensive automated verification:

  • 1,060 Node tests passed.
  • All seven packaged Chromium browser groups passed during milestone verification.
  • All eight hosted GitHub CI workflows passed.
  • Source, dependency and documentation checks passed.
  • Build and offline integrity verification passed.
  • Portable ZIP export and actual browser playback were exercised.
  • Nested-path deployment and offline loading were tested.
  • Import rejection, cancellation, keyboard/touch input and graphics/audio recovery were covered.

The final corrected package contains 887 files, totalling 5,909,519 bytes.

Existing mathematics, formal proofs, historical evidence, Workbench schemas and Mod SDK compatibility are preserved.

All new APIs remain experimental. No physical GPU, mobile-device or controller performance claims are made.

๐Ÿš€ What's Next?

v2.9.0 โ€” HORIZON: The 3D Racing Foundry ๐ŸŽ๏ธ

Detailed vehicles, realistic-looking environments, improved lighting and materials, elevation-aware tracks, suspension, driving dynamics and advanced racing creator tools.

HORIZON is planned across three separately reviewed implementation PRs.

v3.0.0 โ€” THE MACHINE DREAMS ๐Ÿ‘ฝ๐ŸŽต

Following HORIZON, VANILLAJS will revisit its demoscene roots with a full audiovisual production combining the upgraded engine, original industrial music, cinematic environments and mathematical visual effects.

DEMOSCENE-002 development issue #104

What's Changed

  • GAME-MAKER-001: Add Game Maker API, tile worlds and portable game creation โ€” PR #103

Full Changelog: v2.7.0...f7cd8d6


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