NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

SpriteKit Texture Atlas

Forums > SwiftUI

I have some Assets from, which are already downloaded as a spritesheet and have a .xml document attached with the coordinates of each image and name and size. Additionally I have the images as single versions and could make my own textureAtlas with it. Question: How can I use the predefined spritesheet and corresponding .xml document to "decode" them to the proper image, instead of loading each image to my asset catalog for it?


Hacking with Swift is sponsored by Play

SPONSORED Play is the first native iOS design tool created for designers and engineers. You can install Play for iOS and iPad today and sign up to check out the Beta of our macOS app with SwiftUI code export. We're also hiring engineers!

Click to learn more about Play!

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.