From eb69ff91c08d070b30b1aac931cee58c98b168ae Mon Sep 17 00:00:00 2001 From: Alexis Faizeau <a.faizeau@workadventu.re> Date: Mon, 13 Jun 2022 17:44:20 +0200 Subject: [PATCH] Modify folder architecture --- map.json | 18 +++++++++--------- package.json | 2 +- public/README.md | 3 +++ tilesets/README.md | 3 +++ {assets => tilesets/example}/TCM_Logo.png | Bin .../example}/WA_Decoration.png | Bin {assets => tilesets/example}/WA_Exterior.png | Bin {assets => tilesets/example}/WA_Logo_Long.png | Bin .../example}/WA_Logo_Short.png | Bin .../example}/WA_Miscellaneous.png | Bin .../example}/WA_Old_Logo_Long.png | Bin .../example}/WA_Old_Logo_Short.png | Bin .../example}/WA_Other_Furniture.png | Bin .../example}/WA_Room_Builder.png | Bin {assets => tilesets/example}/WA_Seats.png | Bin .../example}/WA_Special_Zones.png | Bin {assets => tilesets/example}/WA_Tables.png | Bin .../example}/WA_User_Interface.png | Bin 18 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 public/README.md create mode 100644 tilesets/README.md rename {assets => tilesets/example}/TCM_Logo.png (100%) rename {assets => tilesets/example}/WA_Decoration.png (100%) rename {assets => tilesets/example}/WA_Exterior.png (100%) rename {assets => tilesets/example}/WA_Logo_Long.png (100%) rename {assets => tilesets/example}/WA_Logo_Short.png (100%) rename {assets => tilesets/example}/WA_Miscellaneous.png (100%) rename {assets => tilesets/example}/WA_Old_Logo_Long.png (100%) rename {assets => tilesets/example}/WA_Old_Logo_Short.png (100%) rename {assets => tilesets/example}/WA_Other_Furniture.png (100%) rename {assets => tilesets/example}/WA_Room_Builder.png (100%) rename {assets => tilesets/example}/WA_Seats.png (100%) rename {assets => tilesets/example}/WA_Special_Zones.png (100%) rename {assets => tilesets/example}/WA_Tables.png (100%) rename {assets => tilesets/example}/WA_User_Interface.png (100%) diff --git a/map.json b/map.json index 48bd790..60fb462 100644 --- a/map.json +++ b/map.json @@ -8735,7 +8735,7 @@ { "columns": 6, "firstgid": 1, - "image": "assets\/WA_Special_Zones.png", + "image": "tilesets\/example\/WA_Special_Zones.png", "imageheight": 64, "imagewidth": 192, "margin": 0, @@ -8760,7 +8760,7 @@ { "columns": 12, "firstgid": 13, - "image": "assets\/WA_Decoration.png", + "image": "tilesets\/example\/WA_Decoration.png", "imageheight": 256, "imagewidth": 384, "margin": 0, @@ -8773,7 +8773,7 @@ { "columns": 10, "firstgid": 109, - "image": "assets\/WA_Miscellaneous.png", + "image": "tilesets\/example\/WA_Miscellaneous.png", "imageheight": 352, "imagewidth": 320, "margin": 0, @@ -8786,7 +8786,7 @@ { "columns": 12, "firstgid": 219, - "image": "assets\/WA_Other_Furniture.png", + "image": "tilesets\/example\/WA_Other_Furniture.png", "imageheight": 416, "imagewidth": 384, "margin": 0, @@ -8799,7 +8799,7 @@ { "columns": 25, "firstgid": 375, - "image": "assets\/WA_Room_Builder.png", + "image": "tilesets\/example\/WA_Room_Builder.png", "imageheight": 1280, "imagewidth": 800, "margin": 0, @@ -8812,7 +8812,7 @@ { "columns": 13, "firstgid": 1375, - "image": "assets\/WA_Seats.png", + "image": "tilesets\/example\/WA_Seats.png", "imageheight": 448, "imagewidth": 416, "margin": 0, @@ -8825,7 +8825,7 @@ { "columns": 10, "firstgid": 1557, - "image": "assets\/WA_Tables.png", + "image": "tilesets\/example\/WA_Tables.png", "imageheight": 864, "imagewidth": 320, "margin": 0, @@ -8838,7 +8838,7 @@ { "columns": 6, "firstgid": 1827, - "image": "assets\/WA_Logo_Long.png", + "image": "tilesets\/example\/WA_Logo_Long.png", "imageheight": 32, "imagewidth": 192, "margin": 0, @@ -8851,7 +8851,7 @@ { "columns": 25, "firstgid": 1833, - "image": "assets\/WA_Exterior.png", + "image": "tilesets\/example\/WA_Exterior.png", "imageheight": 1088, "imagewidth": 800, "margin": 0, diff --git a/package.json b/package.json index e07dec8..af80e8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "workadventure-map-starter-kit", - "version": "3.0.2", + "version": "3.0.3", "license": "MIT", "scripts": { "dev": "vite", diff --git a/public/README.md b/public/README.md new file mode 100644 index 0000000..da38e46 --- /dev/null +++ b/public/README.md @@ -0,0 +1,3 @@ +# WorkAdventure Map Starter Kit - Public Folder + +In this directory you can put static files (audio files, images except tileset...) that you want to be available in production. diff --git a/tilesets/README.md b/tilesets/README.md new file mode 100644 index 0000000..d5d586b --- /dev/null +++ b/tilesets/README.md @@ -0,0 +1,3 @@ +# WorkAdventure Map Starter Kit - Tilesets Folder + +In this directory you should place the tileset files used in maps. diff --git a/assets/TCM_Logo.png b/tilesets/example/TCM_Logo.png similarity index 100% rename from assets/TCM_Logo.png rename to tilesets/example/TCM_Logo.png diff --git a/assets/WA_Decoration.png b/tilesets/example/WA_Decoration.png similarity index 100% rename from assets/WA_Decoration.png rename to tilesets/example/WA_Decoration.png diff --git a/assets/WA_Exterior.png b/tilesets/example/WA_Exterior.png similarity index 100% rename from assets/WA_Exterior.png rename to tilesets/example/WA_Exterior.png diff --git a/assets/WA_Logo_Long.png b/tilesets/example/WA_Logo_Long.png similarity index 100% rename from assets/WA_Logo_Long.png rename to tilesets/example/WA_Logo_Long.png diff --git a/assets/WA_Logo_Short.png b/tilesets/example/WA_Logo_Short.png similarity index 100% rename from assets/WA_Logo_Short.png rename to tilesets/example/WA_Logo_Short.png diff --git a/assets/WA_Miscellaneous.png b/tilesets/example/WA_Miscellaneous.png similarity index 100% rename from assets/WA_Miscellaneous.png rename to tilesets/example/WA_Miscellaneous.png diff --git a/assets/WA_Old_Logo_Long.png b/tilesets/example/WA_Old_Logo_Long.png similarity index 100% rename from assets/WA_Old_Logo_Long.png rename to tilesets/example/WA_Old_Logo_Long.png diff --git a/assets/WA_Old_Logo_Short.png b/tilesets/example/WA_Old_Logo_Short.png similarity index 100% rename from assets/WA_Old_Logo_Short.png rename to tilesets/example/WA_Old_Logo_Short.png diff --git a/assets/WA_Other_Furniture.png b/tilesets/example/WA_Other_Furniture.png similarity index 100% rename from assets/WA_Other_Furniture.png rename to tilesets/example/WA_Other_Furniture.png diff --git a/assets/WA_Room_Builder.png b/tilesets/example/WA_Room_Builder.png similarity index 100% rename from assets/WA_Room_Builder.png rename to tilesets/example/WA_Room_Builder.png diff --git a/assets/WA_Seats.png b/tilesets/example/WA_Seats.png similarity index 100% rename from assets/WA_Seats.png rename to tilesets/example/WA_Seats.png diff --git a/assets/WA_Special_Zones.png b/tilesets/example/WA_Special_Zones.png similarity index 100% rename from assets/WA_Special_Zones.png rename to tilesets/example/WA_Special_Zones.png diff --git a/assets/WA_Tables.png b/tilesets/example/WA_Tables.png similarity index 100% rename from assets/WA_Tables.png rename to tilesets/example/WA_Tables.png diff --git a/assets/WA_User_Interface.png b/tilesets/example/WA_User_Interface.png similarity index 100% rename from assets/WA_User_Interface.png rename to tilesets/example/WA_User_Interface.png -- GitLab