Questions tagged [texture-atlas]

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.

127 questions
21
votes
1 answer

SpriteKit Texture Atlas vs Image xcassets

I am making a game and I noticed that during some scenes, my FPS kept dropping around the 55-60FPS area (using texture atlas). This drove me nuts so I decided to put all my assets to the Images.xcassets folder and voila, steady 60FPS. I thought this…
JRam13
  • 1,132
  • 1
  • 15
  • 25
12
votes
2 answers

iOS7 can I access images (not textures) from within an atlas added to xCode project?

I have a number of atlases (folder.atlas) added to my xCode project, and typically use them to create SKTextures for my sprites by name. However, now I see that I might need to share some images between Sprite Kit and UIView based classes. …
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
9
votes
4 answers

Animation atlas and dynamic physicsBody in Swift 3

I did a small test project using the "Hello World" Sprite-kit template where there is an atlas animation composed by these frames: - I want to show this knight and it's animation. I want to set a DYNAMIC physics body. So I've used a tool to…
Alessandro Ornano
  • 34,887
  • 11
  • 106
  • 133
7
votes
1 answer

Use Libgdx and TexturePacker with xxxdpi images get distorted

I'm an android developer, building my first game using LibGDX. After reading A LOT, there is still one thing I don't understand. I realize I should have one set of images, for the highest resolution 2560x1440 (For preventing ugly scaling up not…
Shirane85
  • 2,255
  • 1
  • 26
  • 38
6
votes
1 answer

Does DirectX 12 eliminate the need for texture atlasing?

I remember when I saw the initial talks on DirectX 12, I thought that it eliminated the need for texture atlasing. However it doesn't seem as obvious a conclusion now that I'm going through the documentation. One feature I have seen that could…
Trillian
  • 6,207
  • 1
  • 26
  • 36
6
votes
1 answer

SpriteKit Texture Atlas Generator Error 2048 x 2048

I'm trying to include a 2045 x 1536 background png in my atlas folder (myApp.atlas) I get the following error from TextureAtlas: sprikekit texture atlas generator error cannot fit input texture into a maximum supported dimensions of 2048 x…
Apollo
  • 8,874
  • 32
  • 104
  • 192
5
votes
1 answer

Texture Atlas Cannot Be Found

I have a texture atlas named plane1.atlas, which contains many images. When I init the Atlas and try to use one of the textures, I get the error message "Texture Atlas Cannot Be Found". As you can see in the following photo, I have the code to…
Andriko13
  • 992
  • 1
  • 7
  • 34
5
votes
1 answer

Unable to pack images of resolution 800x800 using libGDX texture packer with stripwhitespace option?

I have 3-4 images of size 800x800 pixels . When I trying to create .pack file using gdx-texturepacker.jar, if I turn on strip whitespace X and Y option it is unable to pack and throws an error [error] Exception occured: Error packing files. but If i…
Vishal
  • 147
  • 10
4
votes
1 answer

Can SKTextureAtlas load bundle from "my" bundle instead of "host" bundle?

I'm working on a SWIFT3/SpriteKit screensaver and I had the screensaver working except I cannot get my texture to load because when I do the following: // load texture atlas let textureAtlas = SKTextureAtlas(named: "Flyers") The SKTextureAtlas is…
Mavro
  • 571
  • 8
  • 19
4
votes
0 answers

Strange SpriteKit Texture Atlas Generator Error -- Texture Atlas Failure With Exit Code 11

I have a repeated, strange error. I'm working with a distributed team through github, and recently a developer added another .atlas folder to our project. None of the other atlases have issues, but this one is especially touchy. The error is a…
rizzes
  • 1,532
  • 20
  • 33
3
votes
0 answers

Basic Questions about Create Texture Atlas in Xcode

I think I might be using Texture Atlases incorrectly, and wanted to ask for some advice. I found a few sites online that suggested I create a folder, let's say Ball.atlas, and in there, add my animation frames (ball1, ball2, ball3). Then drag and…
NullHypothesis
  • 4,286
  • 6
  • 37
  • 79
3
votes
1 answer

Libgdx texture atlas vs files

So in my game i have more than 32000 images (size: 32x32). How to store this amount of images? What could better: loading these images as separate files or as one big texture atlas?
Dragomirus
  • 439
  • 3
  • 14
3
votes
1 answer

How do I replace an image of an SKSpriteNode for the duration of an action then return it to it's original texture atlas loop

I am trying to make a basic run and jump game in SpriteKit. When the view loads I wish for the sprite node to Run using images from a texture atlas. This I have managed to do. When the screen is touched I wish this image to change to another image…
Fiducial13
  • 1,103
  • 2
  • 9
  • 16
3
votes
1 answer

Create animation from TextureAtlas - libgdx

I have a .png file conataining a few textures one ofter one. I want to create an animation from this file. I know how to create an animation from a TexturePacker .txt file but in this case it doesn't help me much.
David Lasry
  • 1,407
  • 4
  • 26
  • 43
3
votes
1 answer

How to create atlas for SpriteKit

How to create atlas for SpriteKit ? I tried to transfer all my images to some folder and give it extension. At result folder will called "somefolder.atlas" . Is it right way to use it ?
Igor Prusyazhnyuk
  • 133
  • 2
  • 14
  • 29
1
2 3
8 9