2D Toolkit Forum

2D Toolkit => Support => Topic started by: hougenit on December 04, 2013, 03:30:03 am

Title: How to create .bytes files with TexturePacker ?
Post by: hougenit 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 ?
Title: Re: How to create .bytes files with TexturePacker ?
Post by: hougenit 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.