Mod support


This update lays the foundation for mod support in Thrust. While it’s still early, the core systems are now in place to allow the game to load content dynamically instead of everything being hard-coded.

What’s new

Added a mod loading system that scans a mods folder at startup

Mods can now define:

New items

New blocks

New recipes

Custom data values (stats, costs, descriptions)

Game content is no longer fully static — systems now reference data definitions instead of fixed values

Mods can be enabled or disabled without changing the base game files

Add a file in /mods/, e.g. my_mod.js

Add it to /mods/index.json

Register a piece:

(() => {

  GameModAPI.registerPiece(

    { id: "myPiece", label: "My Piece", icon: "⭐" },

    ({ THREE }) => new THREE.Mesh(

      new THREE.SphereGeometry(1.2, 24, 16),

      new THREE.MeshStandardMaterial({ color: 0x00ffaa })

    )

  );

})();

Files

fps_mobile_web_v55_undo_redo_rotate_nudge_duplicate.zip 3.7 MB
1 day ago
fps_mobile_web_v56_less_cramped_ui.zip 3.7 MB
1 day ago
fps_mobile_web_v54_ui_less_cramped_css_only.zip 3.7 MB
1 day ago

Get Thrust

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.