Return to Starling Playback Library

Problem when convert with scale settings

Questions related to Starling playback library should be asked here.

Problem when convert with scale settings

Postby Lê Huy Hùng » October 1st, 2015, 3:06 am

I convert a swf with scale settings but result is quite different than that swf, if I ignore scale settings, every thing is ok, quite complex to explain, please see a demo, thank :D

http://www.mediafire.com/download/08en9 ... GAFBug.rar
User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Re: Problem when convert with scale settings

Postby vadym.mitin » October 1st, 2015, 4:18 am

Hi,

Please check that you attached correct demo. Because there are no FLA, SWF or GAF files in attached archive.
User avatar
vadym.mitin
 
Posts: 254
Joined: December 4th, 2013, 8:00 am

Re: Problem when convert with scale settings

Postby Lê Huy Hùng » October 1st, 2015, 5:39 am

User avatar
Lê Huy Hùng
 
Posts: 61
Joined: July 3rd, 2015, 8:32 pm

Re: Problem when convert with scale settings

Postby vadym.mitin » October 1st, 2015, 7:40 am

Yes, the problem is inside the GAF Converter. It appears when used "Originally designed for Scale and/or CSF" different from 1:1 and GAFMovieClip has a GAFImage inside, that is baked into texture atlas as "one pixel region" (in the demo this is half transparent black rectangles). We will fix it in the next version of the GAF Converter.

If you need to fix it right now - do the following in FLA: change the fill of the "problem shapes" from Solid Fill to Linear Gradient Fill (for example from 0x000000 alpha 0.50 to 0x000000 alpha 0.51). This way you will tell the GAF Converter to bake this shape in normal way (not as "one pixel region").

Hope this is clear. If not - tell me and I will send you modified FLA. And thanks for reporting the issue!
User avatar
vadym.mitin
 
Posts: 254
Joined: December 4th, 2013, 8:00 am

Re: Problem when convert with scale settings

Postby Lê Huy Hùng » October 1st, 2015, 7:27 pm

I don't need fix right now, thank for seen and fixed it :D
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