I have based a particular inventory items configuration on the bear rug in your example.
The way I am interpreting it is that in order to have the entire skin walkable, and not have the avatar end up behind it, it must be below the upper right/left extended boundries.
And it works.
But to have the skin of an oval rug positioned properly so that the avatar is not placed behind it the skin is offset enough that you cannot click on the skin to select it, you must actually click on the tile.
Is there something that I am doing incorrectly?
If having the skin on the tile and being able to click anywhere to select it why would not having the skin directly over the tile prevent this? Especially when the skin is much larger than the tile and can be selected when clicking on a portion of it that is not above the actual tile.
Inventory item selection issue while on map
If a tile is walkable, the tile click has priority over skin click.
In order to avoid the avatar being behind the skin, you have to put the skin on the lowest depth level. This means that all the other tiles which cover the skin (which exceeds the boundaries of the tile it belongs to) are above the skin, so they catch the click event (if they are walkable).
In order to avoid the avatar being behind the skin, you have to put the skin on the lowest depth level. This means that all the other tiles which cover the skin (which exceeds the boundaries of the tile it belongs to) are above the skin, so they catch the click event (if they are walkable).
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Return to “OpenSpace v2 discussions and help”
Who is online
Users browsing this forum: No registered users and 32 guests