Return to Starling Playback Library

Duplicate asset when add custom images into a atlas

Questions related to Starling playback library should be asked here.

Duplicate asset when add custom images into a atlas

Postby Lê Huy Hùng » September 24th, 2015, 1:48 am

Like title, i try use pro feature add custom images into a texture atlas, how to avoid duplicate asset in atlas in this case. If it is impossible, do you have a plan make this. Last but not least, this feature is available in demo mode, where do i buy GAF pro?? I see license of GAF Studio have 10 seats but we are small team with 2 members. Can i buy GAF pro for 1 or 2 users, thank you :D

This is my demo about this problem :D
http://www.mediafire.com/download/rr7v6 ... +asset.rar
Last edited by Lê Huy Hùng on September 24th, 2015, 6:37 pm, edited 2 times in total.
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Re: Duplicate asset when add custom images into a atlas

Postby vadym.mitin » September 24th, 2015, 4:58 am

Hello,

To avoid duplicates in your particular example you just need to remove "Symbol 1" from the Stage.

If you export a Sprite for Action Script and at the same time use it somewhere inside a Movie Clip, that is exported for Action Script, or on the Stage - duplicates will occur. This happens because an algorithm that divide an animation on the parts, that will be placed into a texture atlas as separate regions, works independently from the algorithm that is placing "custom regions" into a texture atlas. This is technical issue that we can't solve right now. But when we find a way - we will solve this issue.

Right now I don't recommend to use "custom regions" inside animations in FLA to avoid duplicates.
User avatar
vadym.mitin
 
Posts: 254
Joined: December 4th, 2013, 8:00 am

Re: Duplicate asset when add custom images into a atlas

Postby Lê Huy Hùng » September 24th, 2015, 6:56 am

Thank for your answer, maybe i will replace object in Stage with empty object :3
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Return to Starling Playback Library

Who is online

Users browsing this forum: No registered users and 2 guests