AGS Development > Editor Development

Feature Request: Store sprites as separate files

(1/9) > >>

JanetC:
It's currently really hard to keep AGS projects in source control, due mainly to the enormous size that acsprset.spr can grow to in any large projects. Could the sprite image sources be kept as links to separate image files on disk, as with the sound files?

eri0o:
You can add to git ignore and use git-lfs.

cat:
The question is: can the spr file be rebuilt from the info in the Game.afg and the sprite images in the folder?

Crimson Wizard:

--- Quote from: cat on 22 Oct 2017, 20:33 ---The question is: can the spr file be rebuilt from the info in the Game.afg and the sprite images in the folder?

--- End quote ---

TBH I do not remember about sprites which keep references to sourcefiles, but the sprites package can also contain sprites copied from clipboard, in which case they do not have any links to real sprites (and there may not be any original files on disk whatsoever).

This should be also kept in mind if this feature is implemented, because unlike AudioCache which you can safely delete if you have original audios somewhere, you won't be able to just delete all sprites from cache.
So probably there should be a special folder in your project where Editor will add sprites created by clipboard copying, or something like that.

cat:
In this case I would advice against git-ignoring it. The purpose of source control is being able to restore your project to a specific historic state. But if the sprite file is not included, game data is basically broken and cannot be restored which renders source control pointless.

Navigation

[0] Message Index

[#] Next page

Go to full version