Hello Guest

Author Topic: How to create .bytes files with TexturePacker ?  (Read 4457 times)

hougenit

  • Newbie
  • *
  • Posts: 4
    • View Profile
How to create .bytes files with TexturePacker ?
« on: December 04, 2013, 03:30:03 am »
I need to create collection in runtime,accroding to project 13,

tk2dSpriteCollectionData.CreateFromTexturePacker(spriteCollectionSize, texturePackerExportFile.text, texturePackerTexture );

the "texturePackerExportFile" file is a .bytes file,i don't know how to create this .bytes files with TexturePacker ?

hougenit

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: How to create .bytes files with TexturePacker ?
« Reply #1 on: December 04, 2013, 05:25:30 am »
I have solve the problem.

Texture Setting--output--DataFormat--

if we choose 2D Toolkit,then it will generate a .bytes file.

if we choose Unity3d,then it will generate a .txt file.