Questions tagged [texturepacker]

TexturePacker is a utility for Sprite sheets, normally for use in the cocos2d game engine.

Use TexturePacker to create, optimize, and use sprite sheets.

References:

  1. TexturePacker from Code'n'Web
  2. cocos2d-iphone.org
  3. cocos2d.org
  4. cocos2d on github
  5. Minecraft, texturepacker.net
151 questions
1
vote
1 answer

How to use LIBGDX TexturePacker2?

I'm having difficultly using the TexturePacker2 class... Could someone clarify what I'm doing wrong? I have an input directory called basics, and an output directory called output. This is my input directory: This is my output after using the…
Shaku
  • 670
  • 1
  • 8
  • 19
1
vote
2 answers

TmxMapLoader to use packed tileset

In the old libgdx map api, they used to have map = TiledLoader.createMap(Gdx.files.internal("maps/testmap.tmx")); atlas = new TileAtlas(map, Gdx.files.internal("maps")); tileMapRenderer = new TileMapRenderer(map, atlas, 8, 8); However in the new…
Linghua Jin
  • 570
  • 2
  • 6
  • 22
1
vote
1 answer

File not Found when loading multipack spritesheet in Cocos2d

I'm attempting to use multipacking via TexturePacker to handle multiple animations for the same sprite. I added all my images in TexturePacker and published them, no problem. I've added them to the Resources folder in my project and I even see…
SnareHanger
  • 928
  • 11
  • 22
1
vote
3 answers

""CCSprite is not using the same texture id"" workaround?

I am animating a whole body through SpriteSheets with CCSpriteBatchNode and CCSpriteFrameCache. Now user can add his own pic to that body which when i try to addChild to Spritesheet crashes with error "CCSprite is not using the same texture id" Now…
hemant
  • 1,771
  • 4
  • 31
  • 43
1
vote
1 answer

CAKeyframeAnimation for Sprite Animation

i'm trying to animate a sprite-sheet made with Texture Packer using Core Animation. I have a NSCollection with all my sprite contents. (Keys and CGImageRef's) My Collection { "caja01.png" = ""; "caja02.png" = "
1
vote
1 answer

Andengine - Memory Usage Increase on using TexturePacker Spritesheet

I was developing a game for android platforms using andengine. and i used to regularly check memory usage by application. This was the memory usage before using spritesheets Later on i came to know about SpriteSheet and Andengine's…
Chaitanya Chandurkar
  • 2,142
  • 3
  • 24
  • 43
1
vote
0 answers

Shifting to spritesheets causes flicker in spite of extruding

I have a cocos2d iOS game that was originally built with direct images (without spritesheets). I am migrating to spritesheets, and used Texture Packer to generate the spritesheets. I have several elements that are rendered next to each other, which…
Anand
  • 3,690
  • 4
  • 33
  • 64
1
vote
2 answers

Using Mac Texture Packer for Cocos2D Android port

I just finished an iPhone game using cocos2d. I used the Texture Packer program to create the texture files I needed for my game. This program created some pvr.ccz compressed files. Now I want to port the game to Android. I installed the Android SDK…
Marc
  • 3,386
  • 8
  • 44
  • 68
1
vote
1 answer

Cocos2d x How to create CCMenuItemImage with texture packer

I'm using TexturePacker to pack my sprites. Then I'm trying to use it but I have no idea that how to create CCMenuImageItem with that sprite sheet. Cause CCMenuImageItem::create has defined as: CCMenuItemImage *…
ngochoa_st
  • 11
  • 2
1
vote
0 answers

Objective C: Using spritesheet from TexturePacker without GameEngine

I would like to read several images from a XML file which i created with Texture Packer and add them to a collection view. The XML looks like this:
Mietz
  • 11
  • 1
1
vote
1 answer

Tiling an image that is part of a texture atlas

I'm using Cocos2D. What is the most efficient way to tile an image when it's part of a texture atlas that's been generated using Texture Packer. I have an image that is 10 x 320 and I want to tile it to fill the screen. I've used this code before…
Tiddly
  • 1,620
  • 3
  • 21
  • 43
0
votes
1 answer

How to launch command line version of app from command line programmatically?

I have an application : TexturePacker. If I click on the application icon in the application folder it launches the gui. If I type "texturepacker" in terminal, it runs the command line version. I want to launch the command line version…
Rahul Iyer
  • 19,924
  • 21
  • 96
  • 190
0
votes
2 answers

How to change the image in a sprite made from textureAtlas image using spriteWithSpriteFrameName

I have a cocos2d iOS app with Box2D (and Kobold2D); i have an array of 18 CCSprites in a layer. They are now created using spriteWithSpriteFrameName and a textureAtlas (thank you texturePacker). When i want to update the 18 sprites, i think i can…
harry
  • 340
  • 4
  • 13
0
votes
0 answers

Create a BitmapText in PixiJS starting from single .png images where each image corresponds to a char

apologize if my question is a little generic. I'm trying to move from createJS to PixiJS. In createJS, I usually create bitmap texts starting from .png images, where each image corresponds to a single char. Using texturePacker, I create a…
0
votes
0 answers

Omit/Skip images on export - TexturePacker

I'm an animator by trade, so this is new ground for me. Hope someone can help ;-) I am using an app called TexturePacker to pack an image sequence of about 100 pngs into a texture sheet to be used in a game. I want to try optimising the texture…