COGNHACKER - LAB
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Heuzef 99516d2048
Initial commit
1 year ago
.github/workflows Initial commit 1 year ago
maps Initial commit 1 year ago
public Initial commit 1 year ago
src Initial commit 1 year ago
tilesets Initial commit 1 year ago
.gitignore Initial commit 1 year ago
LICENSE.assets Initial commit 1 year ago
LICENSE.code Initial commit 1 year ago
LICENSE.map Initial commit 1 year ago
README.md Initial commit 1 year ago
index.html Initial commit 1 year ago
package-lock.json Initial commit 1 year ago
package.json Initial commit 1 year ago
tsconfig.json Initial commit 1 year ago
vite.config.ts Initial commit 1 year ago

README.md

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

  • maps: Map files
    • map.(json/tmj): Map file
    • map.png: The map thumbnail displayed on the in-game map information
  • public: Static files like PDFs
  • src: Source files like scripts or PSDs.
  • tilesets: All tilesets

If you want to use more than one map file, just add the new map file in the /maps folder.

If you are going to create custom websites to embed in the map, please reference the HTML files in the input option in vite.config.js.

Requirements

Node.js version >=16

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 production map

You can test the optimized map as it will be 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