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

SpriteKit low fps and high cpu usage on start

I am trying to do some animations using SpriteKit and atlas files generated from texture packer, but when I start the scene, Animations are very low in fps(1-5 fps) at first 10 secs and CPU usage is about 90-100%. After that it goes fine, any ideas…
Simulator
  • 156
  • 1
  • 11
0
votes
1 answer

How to draw a part of a bitmap rotated by a certain value on a canvas

I'm trying to draw sprites created by texture packer (one big bitmap with informations such as width, height, position, texture rect for each sprite) It's not clear how to draw a sprite in case that it should be rotated by 90 degrees. I tried…
user1991679
  • 2,109
  • 1
  • 23
  • 19
0
votes
1 answer

how can I create a button with texturepackerimporter texture?

I can drag the prefabs texture to scene. But I don't know how to create a ui button use this texture.
zszen
  • 1,428
  • 1
  • 14
  • 18
0
votes
1 answer

Pixelated texture filtering distorted

I've created a isometric tile based game in Libgdx. The textures I'm using are 64x64 and packed using TexturePacker into a TextureAtlas. They are then drawn onto the screen. However, while moving around the pixelated edges of the 64x64 texture…
Deminth
  • 75
  • 7
0
votes
1 answer

Strange artefacts appear on CCSprite

I have a CCLayer class imported onto a game layer strangely all the the sprites have "artefacts" that seem to appear from nowhere since I have checked and re-exported all of the files Is some setting or something else that could cause this to…
StackBuddy
  • 577
  • 5
  • 17
0
votes
0 answers

Sprite edge cut off on right side

I'm making a game using Cocos2D and my sprites are kept in a TexturePacker sprite sheet. A couple of days ago I realized that nearly all of my sprites are missing a column of one to two pixels off their right side. The sprite png files and the…
0
votes
1 answer

How can I optimise drawing from large SKTextureAtlas files with preloading?

I have a game with 4 Texture Atlases. Each atlas is 4096 x 4096 and contains roughly 300 sprites, all ~ 15kb - 50kb. Unoptimised in Texture Packer, they're around 2 - 4MB each, and about half that when optimised. They contain assets to draw…
Smikey
  • 8,106
  • 3
  • 46
  • 74
0
votes
1 answer

Installing TexturePacker in Travis CI

I'm trying to install TexturePacker inside Travis CI. The following four commands all run fine and return exit code 0 on my mac. language: objective-c install: - hdiutil attach -mountpoint dmg client/TexturePacker-3.2.1-uni.dmg - cp -Ra…
Tom
  • 1,610
  • 1
  • 15
  • 19
0
votes
1 answer

If the CreateJS library supports the JSON output formats of Texture Packer

I'd been using CreateJS for a little time. I got trouble to load an image which is made by Texture Packer, and I got the JSON file like this: {"frames": [ { "filename": "aim_dot", "frame": {"x":118,"y":4,"w":76,"h":76}, "rotated":…
wuyou
  • 18
  • 4
0
votes
2 answers

Force certain sprites into only one image of the TextureAtlas in LIBGDX

I'm using TexturePacker to make a texture atlas. The result are 2 PNGs. I need certain images(sprites) to be deposited into only one of the pngs so I only have to bind only one texture to use in some shaders that I'm using. How can I force certain…
gogonapel
  • 788
  • 6
  • 17
0
votes
1 answer

Texture packer and 2d game sprite sheet creation

I am currently developing a game using Unity3d , my designer gave me a bunch of images created by After-Effect which should display the character animations, every animation have it's own pack of sprites,but my game got too slow because of the…
Sora
  • 2,465
  • 18
  • 73
  • 146
0
votes
1 answer

libgdx display background using texturepacker

I have a image background size 480 * 800. I use texturepacker to create .pack file. I try to display background into screen but background display very small and not fit screen device. Please help me display background correctly. Thanks
anh le
  • 183
  • 1
  • 7
0
votes
0 answers

Animation in Libgdx using .pack file

I want to make an animation of player when he 's running. I put all images into a .pack file using texture packer. And here's my code: TextureAtlas atlas = new TextureAtlas(Gdx.files.internal("images1/images.pack")); private Array
0
votes
2 answers

Using multiple textures in one image file

In my game I'm trying to use a sprite sheet with all my GUI textures in one image file. But I have no idea how to create a sprite using just part of an image resource defined by a rectangle. OBS: I don't want to use Texture Packer, I have an…
MouseCaneta
  • 135
  • 1
  • 8
0
votes
1 answer

Cocos2d: CCZ: Failed to uncompress data

I used expansion file(.obb) in my first coco2d-x3.0 android project, it worked fine in the local test( using adb push ...), but now when i download the .obb file from the google play, i have problem with loading assets(encrypted .pvr.ccz),and…
user3895008
  • 31
  • 1
  • 7