In realtime computer graphics, a texture atlas is a large image containing a collection of sub-images, or "atlas" which contains many smaller sub-images.
Questions tagged [texture-atlas]
127 questions
2
votes
0 answers
How check the .spriteatlas sizes generated by Xcode?
I'm using texture atlas for handling my images. I didn't created the atlas by myself however I let Xcode to do this for me:
My question is: How can I see this file or know its properties (I mean, sizes and weight)? What if and how can I know if the…

user3582537
- 414
- 6
- 20
2
votes
3 answers
Tiling atlas textures correctly with a custom shader in Unity
This is a bit complicated, but it boils down to be quite a simple problem, I hope. So here is how it goes: I am using Unity to generate a map gameobject during runtime from a bsp file which has a whole bunch of vertices, faces, uvs, texture…

Oxters Wyzgowski
- 78
- 1
- 13
2
votes
0 answers
iPhone 6+ simulator doesn't load @3x images from atlas
What I've noticed when running project on iPhone 6+ simulator is that simulator don't pick up right images. Instead of @3x, @2x images are used.
I tried reseting simulators content and settings, clean project and delete derived data from organizer…

Whirlwind
- 14,286
- 11
- 68
- 157
2
votes
1 answer
How to create a rotated texture from another already rotated in SpriteKit
I’m creating a sprite from a SKTexture, that in turn was created from another texture loaded from an atlas, like this:
SKTexture *textureFromAtlas = [SKTexture textureWithImageNamed:@“MyImage.png”];
CGRect myRect =…

rraallvv
- 2,875
- 6
- 30
- 67
2
votes
1 answer
LibGDX Texture Packer
I am trying to use LibGDX's texture packer gui for making a texture atlas of tiles for a video game. But I keep getting alpha bleed and I am wondering how to prevent that from happening? I have tried all the different filters and the only one which…

Scott Kingdon
- 351
- 1
- 2
- 9
2
votes
1 answer
Libgdx packing a NinePatch into TextureAtlas
I have seen, that you can pack NinePatches into TextureAtlas by using TexturePacker2. I have also seen this and this. But i am not sure if understood it correct. I want to pack all my GUI-stuff into one TextureAtlas and my GUI-stuff is not only made…

Robert P
- 9,398
- 10
- 58
- 100
2
votes
1 answer
LibGdx resolutionFileResolver + Assetmanager, file names?
I want to use the resolution file resolver to select a correct texture atlas for my app, so I createa RFR with a couple of resolutions:
Resolution _568x1136 = new Resolution(568, 1136, ".568x1136");
Resolution _1200x1920 = new Resolution(568, 1136,…

Myth1c
- 639
- 1
- 7
- 23
2
votes
1 answer
LibGdx Assetmanager loading invalid line
When I try to load my TextureAtlas through the AssetManager, it throws the following exception:
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: com.badlogic.gdx.utils.GdxRuntimeException: Error reading pack file:…

Myth1c
- 639
- 1
- 7
- 23
2
votes
1 answer
Libgdx - Using TextureAtlas with Skin. Memory Consideration?
I am using TextureAtlas to load my assets for a game in Libgdx. I know that TextureAtlas's method findRegion is expensive, memory wise, so it should be loaded once and stored.
I was just going through the Skin class where I encountered this…

Jazib
- 1,200
- 1
- 16
- 39
1
vote
1 answer
AndEngine -- Multiple Textures Overlapping On One TextureAtlas
I have been working with AndEngine for a little while now, and have managed to get most things working, but I am having some difficulty with my latest bug. To make a long story short, I have come to a point where I want to combine some images…

Cyanide
- 33
- 6
1
vote
1 answer
What is the correct way to implement NearestNeighbor for TextureAtlas sprites in a Bevy project?
I am trying to set up a bevy project and use pixelart.
Right now, it uses a textureatlas to load sprites from a single image.
All is working, but I cannot find out how to use NearestNeighbor in my sprites. My sprites are blurry at the moment.
All…

Eatenpancreas
- 35
- 7
1
vote
0 answers
Storing a calculated SKPhysicsBody Array for future use
I am running the following code in the background thread when the app first loads so that the SKPhysicsBody array is all ready when the node is loaded. This is then used in a custom SKAction as per How can I animate a SKPhysicsBody texture from an…

Guitarman4
- 33
- 5
1
vote
1 answer
How do you combine/stitch images of different sizes to one image with a size that is a power of 2?
Some context
I am working on a voxel game (like minecraft). I can not use a prebuilt texture atlas as I need to allow players to add custom blocks to the game. That's why I must create texture atlases at the runtime based on the textures provided.…

RedSmarty
- 13
- 2
1
vote
2 answers
Libgdx animation is flickering when flipping
I have a character that has 2 animations both when idle and when walking. Whenever i press the left or right key the image is flipped in the direction i pressed. However the problem is that when implementing this with the idle animation it flickers…

syclone
- 99
- 13
1
vote
0 answers
Will I get performance gains from using a texture atlas with JavaFX Canvas and rendering sub-images?
I am developing a game using JavaFX for an assignment. I am familiar with texture atlases and the fact that they bring performance improvements (I've previously worked on similar projects using LibGDX). Does this apply to JavaFX's Canvas…

Jan Neumann
- 23
- 2