Skin Creation and clicking aound the skins

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

Moderators: Lapo, Bax

Post Reply
lilshtz
Posts: 17
Joined: 16 Dec 2008, 15:32

Skin Creation and clicking aound the skins

Post by lilshtz »

Hi All,

I was wondering about placement of skins in openspace, and the effect that the type of asset it is has on clicking *behind* the asset.

For example:
I have a circle. I made the circle is in two forms (for testing). both are MovieClips, both come into the openspace editor without any issues.
* bitmap (with an alpha channel so the circle is transparent outside of the circle)
* vector (drawn in flash)

When I put both assets into my room using openspace I get two types of behaviors.
* bitmap: I cannot click *behind* the circle (top left and top right of the circle) on walkable tiles there. even though I can see the tiles (because of the bitmap transparency) it seems that the image is blocking me from clicking on these tiles.
* vector: the above behavior does not exist. I can click anywhere I can see a tile.

In the open space examples, all the tiles are vector. However, I would like to use bitmaps for the look, and frame rate performance.

Is the described behavior above the way that openspace is supposed to function? how exactly does OS handle click events? is it possible to use bitmaps in the same manner as vector object?

thanks in advance for any and all help.
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

An answer to this question can be found in the OpenSpace Editor documentation and in other posts in this forum.
From the Editor documentation:

Using the “skin separationâ€
Paolo Bax
The SmartFoxServer Team
Post Reply