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
0
votes
1 answer

Cocos2d-x TMX maps sharing Texture image file with game sprites?

I am using cocos2d-x 2.1.4 and would like to use the same image file e.g. spritesheet.png for the tiles on a tmx map built using Tiled Map Editor as well as; in-game sprites, which I usually make the spritesheet using TexturePacker. The reason…
blufiro
  • 310
  • 2
  • 10
0
votes
3 answers

loading animation through texturepacker in cocos2dx for windows phone

Im running an animation using the following code CCSpriteFrameCache::sharedSpriteFrameCache()->addSpriteFramesWithFile("kid1.plist"); CCSpriteBatchNode *spritesheet = CCSpriteBatchNode::create("kid1.png"); …
0
votes
1 answer

Reskinning Cocos2d iOS/iphone/ipad app : Cant replace images with TexturePacker

I have source code of a iOS game built in cocos2d and working on reskinning it. Optimized sprite sheets are made by TexturePacker which are generated by script and are taken from .plist file. While reskining app, i have replaced these images from…
mohsinj
  • 143
  • 2
  • 9
0
votes
0 answers

TexturePacker and Cocos2d iPhone - blurry sprites

I'm using TexturePacker to generate sprite sheets. I have images sized perfectly for retina iPhone, I'm using AutoSD feature in TexturePacker to pack them to sprite.png and sprite-hd.png. Both png files look sharp. When I test my game in retina…
devmiles.com
  • 9,895
  • 5
  • 31
  • 47
0
votes
1 answer

cannot load images from imageatlas

Previously I was using simple Texture for sprite based animations, but that did not provide support for images which were not in the power of 2. TexturePacker provides with the ability to load all the images at once, and then fetch the required…
faizanjehangir
  • 2,771
  • 6
  • 45
  • 83
0
votes
1 answer

GameDevelopment: Is there an equivalent to TexturePacker to optimize single images RGB format?

Might be a silly question. I am using TexturePacker to export texture sheets for my Cocos2d game. At the end of certain levels I want to display a special image that tells the user that a new world is unlocked. I thought to create a single texture…
mm24
  • 9,280
  • 12
  • 75
  • 170
0
votes
1 answer

why easeljs fails, when does animations with TexturePacker, at change the number of decimals?

I don't know if the problem is a easeljs fault or if I'm doing something wrong (quite possibly). When I do animations with TexturePacker object, the animations that are in array positions between numbers with different number of decimals, don't…
0
votes
1 answer

Inserting a new property into JSON

I understand I can insert new properties into JSON like so: var jsonObj = { members: { host: "hostName", viewers: { user1: "value1", user2: "value2", …
Jamie Fearon
  • 2,574
  • 13
  • 47
  • 65
0
votes
2 answers

How to create a circular loop of animations in AndEngine?

I want to do an "chain" or circular loop of animations as can be described below: LABEL start do Anim1->Anim2->Anim3->Anim4 GOTO start The above will do a circular loop: Anim1->Anim2->Anim3->Anim4 and back to Anim1 and so on. I am not able to merge…
Shailen
  • 7,909
  • 3
  • 29
  • 37
0
votes
1 answer

TexturePackager export to Cocos2d existing sprite sheet

I got an existing sprite sheet dividing images on a 6x6 matrix. Now I would like to use that on my Cocos2d project. However CCSpriteFrameCache needs a .plist file in order to use them later on a batch node. So the question is how could I generate a…
Pablo
  • 3,433
  • 7
  • 44
  • 62
0
votes
1 answer

Why use Texture Atlases, when Cocos2D 2.0 supports NPOT Textures?

As far as I know from Cocos2D 2.0 a 1025*1025 texture does NOT use 4 times more memory than a 1024*1024 texture, just proportionally more. If I put my textures to an atlas, there is some unused space almost all the time. This is wasted. (Not to…
SPQR3
  • 647
  • 7
  • 20
0
votes
1 answer

CCAnimate laggy only the first time

On button "press" I execute an animation as follows: //create sprite animatedSprite = [[CCSprite alloc] initWithFile:@"transparentPixel.png" rect:CGRectMake(0, 0, 218, 218)]; SET_POS(animatedSprite, 167, 51); [self addChild:animatedSprite…
Daniel
  • 20,420
  • 10
  • 92
  • 149
0
votes
1 answer

Fit elements into box

I want to achieve the effect shown in the images attached. Given certain items, fit them into a shape (box or something else), with the option to resize the items or not. I know there has to be some algorithm related, but I don't know where to start…
Jorjon
  • 5,316
  • 1
  • 41
  • 58
-1
votes
1 answer

Graphics taking 0.5 GB memory in libgdx

I am developing a simple 2D game. I have multiple sprites. Each sprite has around 80 png/frames of 265* 256. I used LibGdx's Texture packer to package the atlas. Am enabling mimap using following code to pac TexturePacker.Settings settings = new…
user93796
  • 18,749
  • 31
  • 94
  • 150
-1
votes
1 answer

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: org.lwjgl.opengl.WindowsDisplay.setWindowProc(Ljava/lang/reflect/Method;)V

While im trying to run TexturePacker gui jar file from command line, its showing this error. Please see the image below. Thank you for your help in advance.
1 2 3
10
11