Hi, I've been messing around with this Library trying to learn and understand it and came across a small bug that I thought I would share.
I had a large .png file consisting of many frames of an animated character, I used the Import from texture button and then the Rectangular Patterns option from the Tools menu to set up the patterns. I then saved to an appropriately named phximg file.
I then tried to use this file in a Sprite test program I had created using the 1945.phximg file, but it didn't work. I tried this several times until i discovered what was wrong:
It seems the Rectangular Pattens tool does not default the Pivot values to anything meaningful and I was ending up with Pivot values of something like 10794700,1
After manually editing the Pivot values for each pattern, the Test program worked fine. So my fix was to edit the TPHXImage.LoadFromStream source to check and adjust of necesary.
Anyway, sorry to be so long-winded.
Bookmarks