Dynamic Skin Assignment

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Posts: 42
Joined: 24 Jul 2013, 08:35
Location: Algarve Portugal

Dynamic Skin Assignment

Postby croftie » 13 Aug 2014, 13:51

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.
User avatar
Site Admin
Posts: 4535
Joined: 29 Mar 2005, 09:50
Location: Italy

Re: Dynamic Skin Assignment

Postby Bax » 13 Aug 2014, 15:37

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.
Paolo Bax
The SmartFoxServer Team

Return to “OpenSpace v2 discussions and help”

Who is online

Users browsing this forum: No registered users and 8 guests