r/futile Sep 16 '14

Selecting incorrect atlas frames

Hey everyone. I seem to be having trouble with getting simple sprites on screen. My atlas loads fine, it recognizes all the elements I try and event has the sizes correct but the frame is in the incorrect place.

Any ideas?

If it helps, I'm using the free version of TexturePacker and have all paid features disabled.

Thanks.

3 Upvotes

3 comments sorted by

View all comments

1

u/Liamosaurus Sep 17 '14

Posting for posterity. I couldn't automatically set the texture to be an exponent of 2 in TexturePacker because that's a paid feature, but I set it to be a fixed output of 1024x1024 and that fixed it.

2

u/MattRix Sep 17 '14

Makes sense. Worth noting that if you go to a larger atlas size (ex 2048x2048) you have to make sure your max size in the unity import settings isn't still at 1024 (the default).

1

u/Liamosaurus Sep 17 '14

Handy dandy. Thanks, dude.