Improving wa-maps doc layout
This commit is contained in:
parent
633fa9f870
commit
a3eb715414
@ -61,20 +61,22 @@ By default, the characters can traverse any tiles. If you want to prevent your c
|
|||||||
To make a tile "collidable", you should:
|
To make a tile "collidable", you should:
|
||||||
|
|
||||||
1. select the relevant tileset and switch to "edit" mode:
|
1. select the relevant tileset and switch to "edit" mode:
|
||||||
{.document-img}
|
|
||||||
![](https://workadventu.re/img/docs/collides-1.png)
|
![](https://workadventu.re/img/docs/collides-1.png){.document-img}
|
||||||
|
|
||||||
2. right click on a tile of the tileset to select it:
|
2. right click on a tile of the tileset to select it:
|
||||||
{.document-img}
|
|
||||||
![](https://workadventu.re/img/docs/collides-2.png)
|
![](https://workadventu.re/img/docs/collides-2.png){.document-img}
|
||||||
|
|
||||||
3. on the left pane in the custom properties section, right click and select "Add properties":
|
3. on the left pane in the custom properties section, right click and select "Add properties":
|
||||||
{.document-img}
|
|
||||||
![](https://workadventu.re/img/docs/collides-3.png)
|
![](https://workadventu.re/img/docs/collides-3.png){.document-img}
|
||||||
|
|
||||||
Please add a `collides` property. The type of the property must be **bool**.
|
Please add a `collides` property. The type of the property must be **bool**.
|
||||||
|
|
||||||
4. finally, check the checkbox for the `collides` property:
|
4. finally, check the checkbox for the `collides` property:
|
||||||
{.document-img}
|
|
||||||
![](https://workadventu.re/img/docs/collides-4.png)
|
![](https://workadventu.re/img/docs/collides-4.png){.document-img}
|
||||||
|
|
||||||
Repeat for every tile that should be "collidable".
|
Repeat for every tile that should be "collidable".
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user