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.
- tilesets : All tilesets
- public : Static files
- src : All TypeScript/Javascript scripts
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).
Node.js version >=16
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
You can test the optimized map as you do in production:
npm run build
npm run preview
This project contains multiple licenses as follows:
- Code license (files in the .github folder, vite and ts config)
- Assets license (the files inside the
tilesets/exemples
folder) - Mixed liceses * the files in the tilests/common directory *
- Copyright Jamespot * all other files *
If you add third party assets in your map, do not forget to:
- Credit the author and license with the "tilesetCopyright" property present in the properties of each tilesets in the
map.json
file - Add the license text in LICENSE.assets