matrix-workadventure

Experimental workadventure map for matrix.org using an experimental support of ldtk
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-workadventure.git
Log | Files | Refs | README

README.md (672B)


      1 # How to edit
      2 
      3 All edits are done using <https://ldtk.io>.
      4 
      5 After that we need to convert the exported files to tiled as workadventure has no direct support.
      6 
      7 For that run:
      8 
      9 ```bash
     10 tiled matrix_office/tiled/0001_level_0.tmx --export-map level_0.tmj
     11 tiled matrix_office/tiled/0002_level_element.tmx --export-map level_element.tmj
     12 ```
     13 
     14 Since however there is some missing data in those conversions we need to fix those up.
     15 
     16 To do that first build the js file by running `npx tsc -p ./tsconfig_util.json`.
     17 
     18 After that you can fixup the data using:
     19 
     20 ```bash
     21 node ./dist_utils/postprocess_map_export.js ./matrix_office.ldtk
     22 ```
     23 
     24 If you want to view the map run `npm run dev`.