Crashes in cocos2d with new TexturePacker 2.3.x, cocos2d issue #1040

Since TexturePacker 2.3.x the name of the texture in the .plist file changed: I remove the -hd from a retina display texture which is related to cocos 2d #1040 and currently discussed on cocos2d forum. According to riq it is the right way to remove the -hd. Otherwise a warning is issued.

Some people encounter crashes with this – especially when loading -hd textures on iPad.

I meanwhile reverted this behavior with TexturePacker 2.3.4 which is available with the beta update stream. Please go to preferences and enable beta updates, then do an update check.

2 Responses to “Crashes in cocos2d with new TexturePacker 2.3.x, cocos2d issue #1040”

  1. Joey August 18, 2011 at 9:46 am #

    So to clear something up for me.

    In my folder I have sprite1.png , sprite2.png etc..

    In texturepacker I create the spritesheet with sd support spriteSheet-hd.png

    Is this the way to go now?

    i usually did this dunnow if that was the right way tho :

    sprite1-hd.png , sprite2-hd.png etc.. and then make my spriteSheet-hd.png

    • Andreas Löw August 23, 2011 at 7:37 am #

      Just use the sprite names without -hd – otherwise cocos2d will give you trouble.
      Add the hd sprites to a sprite sheet and check AutoSD – this will scale the sprites down and create an -hd and -sd sheet for you.

Leave a Reply