Skip to content
Snippets Groups Projects
Select Git revision
  • 3273b61d46947b4e39e417ee992ae37f5b20860c
  • master default protected
  • renovate/configure
  • v3.1.4
  • v3.1.3
  • v3.1.2
  • v3.1.1
  • v3.1.0
  • v3.0.4
  • v3.0.3
  • v3.0.1
  • v3.0.0
12 results

workadventure-map-507

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Alexis Faizeau authored
    3273b61d
    History

    WorkAdventure Map Starter Kit

    map

    This is a starter kit to help you build your own map for WorkAdventure.

    To understand how to use this starter kit, follow the tutorial at https://workadventu.re/map-building.

    Structure

    • tilesets : All tilesets
    • public : Static files
    • src : All TypeScript/Javascript scripts
    • map.json : Map file
    • map.png : Image displayed on README.md and on the map infos in-game

    If you want to use more than one map file, just add the new map file in the root folder, your tilesets in the assets folder and a new script if you need it in the src folder (it will be automaticaly optimized in production).

    Installation

    With npm installed (comes with node), run the following commands into a terminal in the root directory of this project:

    npm install
    npm run dev

    Test optimized map

    You can test the optimized map as you do in production:

    npm run build
    npm run preview

    Licenses

    This project contains multiple licenses as follows:

    About third party assets

    If you add third party assets in your map, do not forget to:

    1. Credit the author and license with the "tilesetCopyright" property present in the properties of each tilesets in the map.json file
    2. Add the license text in LICENSE.assets