sktextureatlas Questions

1

Apple's recommended way for organizing assets in a SpriteKit project has changed greatly over the course of the engine's history. There have also been bugs in the old methodology which stymied the ...
Dumanian asked 16/4, 2018 at 21:11

1

I'm experiencing a performance hit when preloading SKTextureAtlas: let textureAtlas = SKTextureAtlas(named: atlasName) textureAtlas.preload(completionHandler: { ... }) By performance hit, I mea...
Mimosaceous asked 27/11, 2016 at 22:22

1

Solved

It is often mentioned on StackOverflow that SpriteKit does its own internal caching and reuse. Does Sprite Kit load a texture atlas multiple times if I use SKTextureAtlas later? should I cache te...
Antipas asked 9/5, 2016 at 15:31

5

Since my sample project was deleted (I thought this would be much easier to test), I will post some code and images to illustrate my point. Here are sample images My atlas setup: My launch...
Commodore asked 26/1, 2015 at 8:25

2

Solved

When I run my SpriteKit game, I receive this error multiple times in the console. As far as I can tell (though I'm not completely sure), the game itself is unaffected, but the error might have some...
Androsphinx asked 16/12, 2015 at 0:50

0

I ran into a problem with SpriteKit (tried Xcode 7 beta and Xcode 6.4 on OS X 10.11 beta) where normal-mapped lighting breaks down if I create a SKTextureAtlas from the image and normal files that ...

2

Solved

In my project, textures are procedurally generated from method provided by PaintCode (paint-code). I then create a SKTextureAtlas from a dictionary filed with UIImage generated by these methods : ...
Psychomancy asked 22/7, 2015 at 8:3

3

When a project only has @2x images because it only targets retina display devices, atlas Sprite Kit atlas gets the scale wrong with the RGBA8888_COMPRESSED setting to use with PVR textures. RGBA888...
Earle asked 2/1, 2014 at 18:41

1

Solved

As I was looking around for information about spritekit textures, and I stumbled upon this quote: If all of the children of a node use the same blend mode and texture atlas, then Sprite Kit can ...
Poisonous asked 4/4, 2014 at 1:35

1

This is making me think. Game starts and I create sprites with -spriteNodeWithImageNamed: method. Later for animation, I create a SKTextureAtlas object. Some people say it is faster because -sprit...
Nela asked 2/1, 2014 at 18:19
1

© 2022 - 2024 — McMap. All rights reserved.