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

How to align sprites sequentially in a line and extract them as a png format with TexturePacker?

I want to align 15 picture from this pack in one line using TexturePacker and create a png file as sprite sheet to create an animation using FireAtlas afterward. I tried a lot but couldn't create such output. I am using Flame library in Flutter and…
Davoud
  • 2,576
  • 1
  • 32
  • 53
0
votes
0 answers

Game design: Type error when trying to use an image preloaded with assets.js

I hope someone can tell me what I'm doing wrong here. I'm trying to draw an image on canvas. The images are part of a texture atlas (created with texturePacker) so there is a sprite sheet and an accompanying JSON file: {"frames": { "cat.png": { …
Fishbite
  • 144
  • 12
0
votes
1 answer

Loading Pixi spritesheets from TexturePacker manually and not through Pixi.Loader?

I have been using TexturePacker and Pixi for animations, but now the exported TexturePacker files (multipacked) are stored in a CMS system. The CMS prepends the file names with unpredictable letters and numbers, which makes PIXI unable to link the…
Solsiden
  • 673
  • 1
  • 7
  • 22
0
votes
0 answers

How to deal with texture set problem with Python,I can't create sprite

It show an error when I run my program which said I attempted to draw a sprite without a texture set,please help,great thanks
0
votes
1 answer

Google Cloud Build and GLIBCXX_3.4.21 not found(for TexturePacker)

I'm trying to use Google Cloud Build to build my project which requires TexturePacker. I managed to install TexturePacker but once script execute its CLI I get this error: /usr/bin/../lib/texturepacker/TexturePacker_:…
abradas
  • 91
  • 4
0
votes
1 answer

Use multiple sprite sheets at once in Cocos2d-x

I'm making a platformer videogame in Cocos2d-x C++. What I want to do is really easy but everything I have found on the internet either doesn't work or it's for another programming language like Objective-C. I basically have multiple Spritesheets…
amodrono
  • 1,900
  • 4
  • 24
  • 45
0
votes
0 answers

How do I create SKTextureAtlas at run time from plist in SpriteKit?

I load textures from net. Textures are created with TexturePacker for SpriteKit. I can create Atlas only from textures that I have at compilation moment.
0
votes
2 answers

Sovled: Powershell - How to store arguments to a variable and use it?

I have written a CMD script for batching atlas packs, and it works fine. CMD Script set OutputDir=%1 set MaxSize=%2 set Scale=%3 set TpCmd=--format unity-texture2d --smart-update --max-size %MaxSize% --scale %Scale% TexturePacker %TpCmd% --data…
Mars
  • 3
  • 5
0
votes
1 answer

How to adjust positioning of sprites with texture pack

I'm using texture pack to create a spritesheet and I'm getting this: How do I re-position the second sprite so it's in line in the first one. Right now the animation will move the character as well whereas I just want it to raise the man's hand:
0
votes
0 answers

Looking for a program that generated Property List with specific output

I've been using TexturePacker to create spritesheet and property list for game, TexturePacker's property list: Sprite_1.png aliases spriteOffset
Dant
  • 89
  • 9
0
votes
1 answer

libGDX: convert TextureRegion to Texture

How can I use my dragon as a Texture? atlas = new TextureAtlas("myPack.atlas"); dragon = dragon.findRegion("dragon"); // returns TextureRegion
user5646735
0
votes
1 answer

Loading correct texture from Atlas with multiple pages

I have a big set of images saved in one atlas, but due to the 2048*2048 size limitation of a single page I had to split my packs in 12 pages. My problem is that when I use atlas.findRegion(imageName).getTexture() to load the texture, it loads the…
EsotericVoid
  • 2,306
  • 2
  • 16
  • 25
0
votes
1 answer

When loading images from a sprite sheet in PIXI.JS is the order or amount of sprite sheets important?

I'm using Texture Packer to create sprite sheets for all of my game image resources. I end up using a multipack of 5 sheets with a max of 2048x2048. I have a good amount of sprites being loaded into various containers, sprites, tilingsprites, etc.…
hanesjw
  • 2,356
  • 4
  • 26
  • 34
0
votes
1 answer

Libgdx Sprite - AtlasRegion size issue

It's possible to create a Sprite from a TextureAtlas region with the original non-trimmed size of the image? I have an Atlas with images that are trimmed, but I want to get the original image with whitespaces to create a Sprite; AtlasRegion have the…
riu999
  • 46
  • 4
0
votes
1 answer

Texture packing animation images/Sprite sheets efficiently-Libgdx

For my LibGdx project,I have assets including single images and sprite sheets for animation.I know it is efficient to pack everything in to a single atlas. But when it comes to sprite sheets,how can I pack it?Do I have to use a single sprite sheet…
Niranjana
  • 514
  • 5
  • 23