Page 4 of 4

Re: Content format reference

Posted: Mon Mar 25, 2019 8:04 am
by Zukero
No problem at all. Thanks for reading it thoroughly and reporting the issues.

Re: Content format reference

Posted: Mon Apr 01, 2019 7:33 pm
by BWPanda
Here, viewtopic.php?f=6&t=5825#p57706, regarding the IconID field, it says:
One sprite is generally defined as a 32x32px square within a spritesheet.
But what happens when it's not? E.g. https://github.com/Zukero/andors-trail/ ... demon2.png

How do you know what the sprite square's dimensions are? Is there a separate list of sprite dimensions somewhere I can reference? Or is this hard-coded for the few sprites that exceed the typical 32x32px square?

I guess the ideal situation would be to have a new field, something like 'IconSize', that defaults to '32x32' but, for example, for the Hira'zinn would be '64x64'.

Re: Content format reference

Posted: Mon Apr 01, 2019 7:55 pm
by rijackson741
The information about sprite sizes is held in two places, one for AT, and one for ATCS. What are you trying to do?

Re: Content format reference

Posted: Mon Apr 01, 2019 10:26 pm
by BWPanda
I'm trying to automatically parse the source code and generate an online database of items, monsters, etc. So I'm trying to create an HTML IMG tag showing each individual sprite/icon.

Re: Content format reference

Posted: Mon Apr 01, 2019 10:54 pm
by rijackson741
Look in ...\AndorsTrail\src\com\gpl\rpg\AndorsTrail\resource\ResourceLoader.java