Hi there, I’m new to this forum and fairly new to Playcanvas, so apologies if this is a bit of a newbie question, I hope this hasn’t been posted already (I have had a read through but not found any posts).
I have a project where I built all of the screens and UI using sprites generated from a series of texture atlases, made from texture packer. Now the artists have supplied me with some updated graphics (some of which are different sizes etc) and I have rebuilt the series of texture atlases in TP and obviously everything on the atlases has shuffled around a bit, but they all have the exact same names as before.
But now I can’t figure out a way to replace the sprites used in the play canvas project.
Is there a way of doing this, and if not, how do you guys deal with updates to UI - should I not have used TP texture atlases?
Oh, you have multiple atlases (as I see now in the title, sorry!). Ideally (and we should perhaps add this to the documentation), related sprites should be on the same texture atlas so moving sprites from one atlas to another should be deliberate action and not done by the tool.
If it’s only a few sprites and as long as you know which sprites they are, on the sprite asset you might be able to get away with changing the texture atlas reference:
I think it would be tough to do due to the relationship between the sprite atlas and the sprite asset. The sprite asset references the atlas and there is no knowledge of the sprite assets at the texture atlas level
We could potentially have update sprite asset from frame in the sprite editor