Skip navigation
Qizhi Zhang
Currently Being Moderated

Incorrect size of TextureAtlas using "Generate Sprite Sheet..."

Jan 6, 2014 6:07 PM

Tags: #spritesheet #textureatlas

1. create a shape of any size. a 4*4 rectangle for example

2. using "Generate Sprite Sheet..." to make a TextureAtlas

3. check the generated config file, the size is wrong: "<SubTexture name="Symbol 1 instance 10000" x="2" y="2" width="5" height="4" pivotX="0" pivotY="0"/>"

width should 4, not 5.

 

Both Flash Pro CS6 and Flash Pro CC have this bug.

a.png

 
Replies
  • Currently Being Moderated
    Jan 6, 2014 9:30 PM   in reply to Qizhi Zhang

    Hi Qizhi

     

    Can you try this. Round of the  X and Y position to a whole number on the stage.

     

    Example . Make X = 335 and Y = 54 for the symbol on stage.

     

    Let me know if this helps.

     

    Reagrds

    Avinash

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points