Dynamic Skin Assignment
Dynamic Skin Assignment
Is it possible to assign a skin to a tile dynamically from the server? The context is one where users are allowed to create new rooms in SFS2x and I would like to have a new skin or existing skin with a trigger to facilitate entering that new room.
Re: Dynamic Skin Assignment
This is not possible on the server side.
On the client side you could have a named skin which you make invisible (using the Tile.getSkinByName method) by default as soon as the map is loaded, unless you need to display it to activate the room change trigger.
On the client side you could have a named skin which you make invisible (using the Tile.getSkinByName method) by default as soon as the map is loaded, unless you need to display it to activate the room change trigger.
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 23 guests