josefnpat wrote:awesome! If you find a bug, please open a ticket and if you fixed it, offer a pull request or tell me how you fixed it!
I made some small modifications and it's working great now, video is looping like a charm! Here's what I've done:
- First I modified your generation script to not stop when reaching the last "full" mega-tile, I create a last one with the remaining frames (and I make sure this mega tile as the same overall size that the other ones), and I add to the info.lua file the number of frames in this last mega tile.
- I modified the reading code to take into account this last file and stop when reaching the last quad from it.
I'll be able to share it of course but I still need to clean it a bit before, I hard coded some specific tweaks I wanted (like removing some pixels from each frame), I'll make it configurable!
Apart from that, I started to work on some UI elements, like dialogues:
For the text, I'm using this library:
I like the control it gives per character, and so far it fits my needs pretty well, I'll see how it goes.