How to cut a texture in a atlas into parts?

Hello,
I’m working with a 512x512 texture in a atlas and would like to divide it into eight equal 64x64 tiles. After that, I plan to rescale each tile to 96x48 and place them in the same order they were originally cut. My main objective is to manage multiple textures within an atlas, allowing for tile replacement and, eventually, applying auto-tiling with masks for transitional blending.

I’ve been struggling with this for many weeks without success, so I would greatly appreciate any guidance or support. Thank you!

1 Like

I’m sorry, but I have problems understanding what you want to achieve. Can you elaborate? Why can’t you just use tilemaps and tilesources? Those are meant for tiles, not atlases. And especially that you are mentioning auto-tiling, it will be easier for you with tilemaps, because you have easy API to get and replace each and single tile.

2 Likes

Hi! Thanks a lot for replying!
The thing is, the tilemap only lets me use one tilesource at a time. But I have around 12 different textures, and I’d like to be able to load them simultaneously and choose which one to use for each tile.

You can also try one of the online tools, like Online sprite sheet cutter / splitter / decompiler

1 Like

Is it possible, that you can merge them in a single tilesource? Because, if you want to use all of them, they will be loaded anyway, so it’s not about efficiency I guess, right? Is it about more comfortable workflow? Or is the texture, if merged, too huge? (e.g. I think there are limits on mobile)

1 Like