From ac69861e37289b9db11ccc9c9de32f5daf157a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Mon, 11 May 2020 08:51:46 +0200 Subject: [PATCH] Rewording exit paragraph --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 981a4bc0..a165a494 100644 --- a/README.md +++ b/README.md @@ -45,10 +45,12 @@ A few things to notice: ![](doc/images/tiled_screenshot_1.png) -If you have exit scene -- You must create layer "exit". The layer have cases where the gamer can switch to the next scene. -- In layer properties, you must add "exitSceneUrl" property. It represents a url map of the next scene For exemple : `//.json`. Be careful, if you want that the next map will be correctly loaded, you must check that the map files are in folder `back/src/Assets/Maps/`. The files will be accessible by url `/map/files//...`. -- If you want to have multi exit, you can create each layer with name "exit". Each layer has key `exitSceneUrl` and have tiles what represent exit from another scene. +In order to place an on your scene that leads to another scene: + +- You must create an "exit" layer. The layer name MUST be "exit". +- In layer properties, you must add "exitSceneUrl" property. It represents the map URL of the next scene. For example : `//.json`. Be careful, if you want the next map to be correctly loaded, you must check that the map files are in folder `back/src/Assets/Maps/`. The files will be accessible by url `/map/files//...`. +- If you want to have multiple exits, you can create many layers with name "exit". Each layer has a different key `exitSceneUrl` and have tiles that represent exits to another scene. + ![](doc/images/exit_layer_map.png) ### MacOS developers, your environment with Vagrant