From: David NĂ©grier Date: Mon, 11 May 2020 06:51:46 +0000 (+0200) Subject: Rewording exit paragraph X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ac69861e37289b9db11ccc9c9de32f5daf157a24;p=libreadventure.git Rewording exit paragraph --- diff --git a/README.md b/README.md index 981a4bc..a165a49 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