Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Monsieur OUXX on Thu 27/02/2014 15:14:40

Title: [SOLVED] "Replace sprite(s) from source" : relative or absolute?
Post by: Monsieur OUXX on Thu 27/02/2014 15:14:40
Hello,

I'm planning on using the new "Replace sprite(s() from source" feature, but I'm wondering: how is the path to the original files stored? Is it an absolute path, or is it relative to the game file's directory?

<crossing fingers for it to be relative>
Title: Re: "Replace sprite(s) from source" : relative or absolute?
Post by: Calin Leafshade on Thu 27/02/2014 15:18:07
It's absolute. Thats just how CJ stored it.
Title: Re: "Replace sprite(s) from source" : relative or absolute?
Post by: Monsieur OUXX on Thu 27/02/2014 15:46:38
Dang.
In the future it might be interesting to have them stored relative (to keep some sort of linking with the graphical files outside the game's folder while still being able to move or backup everything together at once. That would come handy for collaborative development)
Title: Re: [SOLVED] "Replace sprite(s) from source" : relative or absolute?
Post by: Crimson Wizard on Sat 01/03/2014 18:08:49
If they all were stored in one folder, you may replace starting path parts for all sprites in Game.agf (with Replace All command in text editor you are using).