Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Reload with a different image - but keep regions, grid, sprite names, etc?

A topic by aidenjl created May 03, 2023 Views: 100 Replies: 2
Viewing posts 1 to 2
(1 edit)

I have several different spritesheets representing different biomes/levels for my project. They're all organised in the same way - walls in one place, enemies in another place, all the same size... etc. The only thing that's different is the pixel art. 

I thought I would be able to set up my regions and name all of the sprites ONCE, export to sliced up sprites, and then reload with the next sheet and export using the already-placed regions etc. However, it looks like this isn't possible, because when I hit "Reload" I get a warning about the regions being deleted. 

Am I missing something or is this not supported? Hope my question makes sense and thank you in advance. 

Edit: Workaround

After playing around, I found a workaround. In case this helps anyone else:

After setting up the regions and sprite data for the first sheet, you can simply "Save As" the resulting json file, open it up in a text editor, and tthen change the image that it points to (put the next spritesheet and this edited json in the same folder). Open the edited .json in Atlas, and it will pull the new image but apply the same region data to it. 

Developer

Hello. Currently the feature you require is not there.
But it's a useful one, I will consider implementing it in the next update, thanks for the tip.
The workaround you've posted is a valid one. In the future, I think, it will be possible just to "apply" the markup to different images, if their geometry matches the atlas.

That's awesome to hear. Thank you for the response! 

If you remember and it isn't much too ask, please reply to this when/if the feature makes it in :) 

For now, I swapped to using the oldschool Photoshop slices because it proved a little quicker than editing the JSON, but I would much prefer to continue using and supporting Atlased instead.