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

Load textures with TexturePacker (AndEngine)

I use TexturePacker. I packed my textures and I have this file: sample.png sample.tps sample.xml sample.java These resources are assets/gfx/sample. I connected to project sample.java. I have this code: Textures.java public class Textures…
monomi
  • 171
  • 1
  • 1
  • 8
1
vote
1 answer

ImageResource.ts:182 Uncaught (in promise), with PIXI and Typescript no texture loads using pixi and texturepacker

I am trying to do something very simple with PIXI and Typescript. I decided to switch to using texture packer from loading individual png files and ran into this issue. The issue is when trying to access the texture that is loaded through the…
1
vote
0 answers

IOS SpriteKit Blurred Sprite with TexturePacker

I'm doing a project with IOS Sprite kit (Objective-C), I use TexturePacker to make my Sheet/Atlas ,In my scene view I only display a Character animation nothing more but I have an issue when I display my Sprite it is blurry. The resolution of the…
1
vote
2 answers

Libgdx texturepacker doesn't pack all images

When i run the texturepacker in libgdx i have the problem that it doesn't pack all the images in one big sprite sheet. If i for example have 4 images and it only packs 3 of them. Note that 2 images are the exact copies of eachother so maybe that has…
syclone
  • 99
  • 13
1
vote
0 answers

How to load a spritesheet in pixijs using a json inside the code?

I am trying to load a spritesheet from external json file but 1/1000 times it fails to load the spritesheet textures, so how can I ensure it won't fail by adding them from a json that is inside the code? PIXI.loader .add(path +…
MrNobody
  • 69
  • 2
  • 9
1
vote
1 answer

Different size texture regions bounce when run as animation in libGDX

I have a Texture sheet that was created with a texture packer app, it removes all of the unnecessary transparent pixels to save space in the final texture sheet. The problem is my animation is a guy with a sword, so when he attacks he swings the…
Neglected Sanity
  • 1,770
  • 6
  • 23
  • 46
1
vote
1 answer

PIXI.js AnimatedSprite lag on first play

I need some help understanding what the best practice is for creating a PIXI.extras.AnimatedSprite from spritesheet(s). I am currently loading 3 medium-sized spritesheets for 1 animation, created by TexturePacker, I collect all the frames and then…
Brenwell
  • 767
  • 10
  • 24
1
vote
0 answers

Using SpriteKit within a Screensaver using TextureAtlases (SWIFT 3)

I've made a simple Screensaver using SWIFT 3 and SpriteKit. I can get the scene to display but when I try to apply the texture atlas and animate it I get a red X with the animation instead of the actual image. The debugger has the following…
Mavro
  • 571
  • 8
  • 19
1
vote
0 answers

How to use pivot points which were generated by texturepacker?

I am using TexturePacker to generate spritesheet with JSON Array format.It generates some JSON like this: { "filename": "test.png", "frame": {"x":0,"y":0,"w":40,"h":41}, "rotated": false, "trimmed": false, "spriteSourceSize":…
1
vote
1 answer

Animation offset for multiple animations

I am using TexturepackgerGUI to pack multiple animations into a spritesheet. I generate these animations with Spriter. TexturepackerGUI comes with a handy feature that outputs a offset field that can be used to offset the animation so the sprite…
Madmenyo
  • 8,389
  • 7
  • 52
  • 99
1
vote
1 answer

Libgdx - Getting an error when using TexturePacker

I am new to Libgdx and have been following a book 'Learning LibGDX Game Development, 2nd Edition' for learning, and to let you now I am using Android Studio, the problem is even though I can create pack files in the android asset folder somehow I…
Raggy Shrestha
  • 435
  • 1
  • 5
  • 8
1
vote
1 answer

Images with transparent pixels packed with Texture Packer are black

I tried creating texture atlas with transparent images for animation. Instead of my texture, I end up with black square image, matching the size of the first texture I wanted to pack into texture atlas. I used this texture packer…
potato
  • 4,479
  • 7
  • 42
  • 99
1
vote
1 answer

TextureAtlas and Skin libgdx

I'm willing to fully exploit the AssetManager from Libgdx and all its Loaders. But i have problem understanding this so special link between Skin and TextureAtlas. I want to use the JSON way of creating skins as much as possible. In the wiki i can…
VanesBee
  • 616
  • 1
  • 6
  • 18
1
vote
1 answer

LibGDX - Load a TiledMap tileset from a big TextureRegion

I'm currently developing a game using LibGDX and I have come to the following situation: The game uses TiledMap maps for each level in it. I created a large tile set and packed it to a ~1300x1300 PNG file (non-POT). Tiles are 128x128 + gutter. The…
Azurlake
  • 612
  • 1
  • 6
  • 29
1
vote
2 answers

libgdx loading asset, texture packer

sorry for bothering you, i know that this have been asked already, but i cant manage to fix it. I have started to work with libgdx and decided to have a book as tutorial - "Learning LigbGDX Game Development". It was all going fine until chapter 4 ,…
1 2
3
10 11