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

In Unity5 why some sprites in spritesheets are not visible in sprites but works fine in UI images?

In Unity5 I use texturepacker and made several spritesheets, but some images in several spritesheets don't work with sprites, whether I created them by dragging the image name under the spritesheet name in project inspector, or manually created an…
ArtS
  • 1,730
  • 1
  • 20
  • 43
0
votes
0 answers

SpriteKit texture memory (RAM) usage optimisation

I am at a loss at how to really judge SpriteKit memory usage for a texture atlas or an image loaded into an SKSpriteNode. Texturepacker supports RGBA4444 output format for png. However, does spritekit actually load them as 16-bit per pixel or are…
plawres
  • 313
  • 4
  • 19
0
votes
1 answer

Why does my texture packer not find the sprites?

Im using the TexturePacker implemented by LibGDX to load my sprites. For some reason however, the files are not found and it gives me this exception: Exception in thread "main" java.lang.RuntimeException: Error packing images. at…
zebleckDAMM
  • 333
  • 1
  • 4
  • 14
0
votes
1 answer

Texture atlas UV coordinate conversion

I have got some UV coordinates that go from (0, 0) to (16, 16) for my textures. Now I have packed this texture in a texture atlas with the size dim (w, h) at the position rec (x, y, w, h). I need to convert the UV coordinates so that I can address…
piegames
  • 975
  • 12
  • 31
0
votes
2 answers

How to load sprite sheets from web API in SpriteKit

I'm new to SpriteKit, and my question is how to load sprite sheets from web API. Currently, I have an API returns a big PNG image, which contains all sprite sheets, and a json about individual frame information. (file and json are generated by…
Honghao Z
  • 1,419
  • 22
  • 29
0
votes
1 answer

Animating sprites using single sprite sheet

I was previously animating different states of a sprite (standing/walking/jumping) by having a separate .png and a textureAtlas file for each of those state. It was working fine. Now I went and combined those seperate sheets into a single png and…
nabeel
  • 425
  • 1
  • 9
  • 22
0
votes
1 answer

How to make sprites fit the entire screen of more than one device

I been working with corona for a few and I wanted to know how to make a sprite (using texture packer) and set it as a background of my app. I also want it to fit as many devices as it can without any of the sprite content being cropped out. In…
user5277516
0
votes
1 answer

Why LibGdx texturepacker doesn't pack images in order?

I got these images and when I pack them they come in the wrong order, like the last 7 images or so go to the front and this messes it all up for me and I don't even know why.I have packed images before with no problems.
The Prophet
  • 147
  • 1
  • 4
  • 13
0
votes
1 answer

Texture packer trim sprites with CreateJS

Does Createjs have any support for trimming sprites with texturepacker ( removing the alpha pixels in the actual sheet) but displaying the sprite with the alpha in game. If it does not support it does anyone have any suggestions on adding this or…
Derek Lawrence
  • 1,551
  • 2
  • 16
  • 36
0
votes
2 answers

Cocos2d-x shader is using invalid offset on texturepacker imported spriteframe

I'm trying to implement a shader for grass in cocos2d-x. The shader works OK on texture loaded with Sprite::create() and it looks like this: https://i.stack.imgur.com/Rv4rd.png The problem is that if I'm using Sprite::createWithSpriteFrameName() and…
Daniel Gorgan
  • 83
  • 2
  • 5
0
votes
1 answer

Creating a sprite sheet for Unity-2D

I'm in the process of creating sprites for my game and this time I'm not using pixel art which were the size of 24x24ish but higher res 2d sprites created in Affinity Designer which can export hi-res images. I'm now in the process of gathering my…
0
votes
1 answer

texture packer doesn't create one huge image of images

I'm following a book about libgdx and I haven't comprehend texture atlases as I would like to. As far as I understood, Texture Packer creates one huge image with all textures and atlas or pack file. But when I run it it creates atlas/pack file and…
potato
  • 4,479
  • 7
  • 42
  • 99
0
votes
1 answer

How to make After Effects animation responsive for many device sizes inside Ionic app

I am developing a mobile app for android and ios in the ionic framework which contains a game element which is animated. Currently I am using Adobe After Effects to animate a character which forms part of a game. I export a PNG sequence from After…
user3391835
  • 305
  • 1
  • 3
  • 14
0
votes
1 answer

How to read center of trimmed sprite from TexturePacker generated JSON?

In this Udacity course, we have to read a JSON file generated by TexturePacker to compute the center of a sprite from a spritesheet. We have to consider whether the sprite is trimmed or not. An spritesheet with untrimmed sprites looks like this…
Federico
  • 3,650
  • 4
  • 32
  • 45
0
votes
1 answer

Xcode error calling -display has no effect

Recently i updated my Xcode to 7, and before doing that I had no problems, but I am currently having an issue with the my Sprite sheets not trimming properly from texture packer when I set it to crop, keep positioning. I have tried changing the z…