Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Sparkiller on Thu 18/04/2013 18:56:55

Title: How to RE-import tiled sprites?
Post by: Sparkiller on Thu 18/04/2013 18:56:55
Example: I used the "Tiled sprite import" menu to import three frames of animation in a row.

Now i updated these frames in Photoshop, so i want to overwrite these three frames.
I thought i just have to use "Replace sprite from file" and then use "Tiled sprite import" again, but this just changes the first sprite?

So does this feature just not exist or am i missing something?

Thanks in advance!
Title: Re: How to RE-import tiled sprites?
Post by: Khris on Thu 18/04/2013 19:00:51
It doesn't exist.
The fastest way is to delete the three sprites, then re-import them. That way they should also get the same slots as before, but memorize them just to be sure and if necessary, change the numbers back to the old ones.
Title: Re: How to RE-import tiled sprites?
Post by: Crimson Wizard on Thu 18/04/2013 21:13:38
The "Replace sprite from file" feature you mention exists in the development version of the editor, and will be put into final 3.3.0 release.
I am not sure if it works of tiled import though, maybe not. But even then, you may suggest it here (http://www.adventuregamestudio.co.uk/forums/index.php?board=18.0) or here (http://www.adventuregamestudio.co.uk/forums/index.php?project=5;area=issues).

http://www.adventuregamestudio.co.uk/forums/index.php?topic=47768.0

A custom 3.2.1 version built with this feature:
https://dl.dropbox.com/u/27247158/AGS3.2.1WithSpriteReload.zip
Title: Re: How to RE-import tiled sprites?
Post by: Calin Leafshade on Thu 18/04/2013 23:54:06
AGS doesnt record the source of tile imports nor the rect so they cannot be reimported from source.
Title: Re: How to RE-import tiled sprites?
Post by: Cerno on Sat 20/04/2013 10:31:27
Quote from: Calin Leafshade on Thu 18/04/2013 23:54:06
AGS doesnt record the source of tile imports nor the rect so they cannot be reimported from source.
But it does. Open the game.agf in a text editor and see for yourself ;)
Edit: Unless tiles != sprites in which case I take everything back.
Title: Re: How to RE-import tiled sprites?
Post by: Crimson Wizard on Sat 20/04/2013 12:55:00
Quote from: Cerno on Sat 20/04/2013 10:31:27
But it does. Open the game.agf in a text editor and see for yourself ;)
Edit: Unless tiles != sprites in which case I take everything back.
Tiles != sprite, tile = part of sprite. Tiled import allows to cut sprite into pieces of identical size.

Quote from: Calin Leafshade on Thu 18/04/2013 23:54:06
AGS doesnt record the source of tile imports nor the rect so they cannot be reimported from source.
Would not it be possible to extend sprite information and keep the rectangle coords along with source file?