Merge branch 'develop' of github.com:thecodingmachine/workadventure into metadataScriptAPIV2
This commit is contained in:
+1
-1
@@ -85,5 +85,5 @@ WA.ui.registerMenuCommand("test", () => {
|
||||
```
|
||||
|
||||
<div class="col">
|
||||
<img src="./assets/menu-command.png" class="figure-img img-fluid rounded" alt="" />
|
||||
<img src="https://workadventu.re/img/docs/menu-command.png" class="figure-img img-fluid rounded" alt="" />
|
||||
</div>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 9.6 KiB |
+14
-12
@@ -60,21 +60,23 @@ By default, the characters can traverse any tiles. If you want to prevent your c
|
||||
|
||||
To make a tile "collidable", you should:
|
||||
|
||||
1. select the relevant tileset and switch to "edit" mode:
|
||||
{.document-img}
|
||||

|
||||
2. right click on a tile of the tileset to select it:
|
||||
{.document-img}
|
||||

|
||||
3. on the left pane in the custom properties section, right click and select "Add properties":
|
||||
{.document-img}
|
||||

|
||||
1. select the relevant tileset and switch to "edit" mode:
|
||||
|
||||
{.document-img}
|
||||
|
||||
2. right click on a tile of the tileset to select it:
|
||||
|
||||
{.document-img}
|
||||
|
||||
3. on the left pane in the custom properties section, right click and select "Add properties":
|
||||
|
||||
{.document-img}
|
||||
|
||||
Please add a `collides` property. The type of the property must be **bool**.
|
||||
|
||||
4. finally, check the checkbox for the `collides` property:
|
||||
{.document-img}
|
||||

|
||||
4. finally, check the checkbox for the `collides` property:
|
||||
|
||||
{.document-img}
|
||||
|
||||
Repeat for every tile that should be "collidable".
|
||||
|
||||
|
||||
Reference in New Issue
Block a user