There are already, of course, the 9-patch libraries for LÖVE. But they work different . You had to place in the borders of the image the black pixels and, if I recall correctly, use .9.png file extension. I did not really like this. So I decided to make my own 9-patch library that would just let the user choose the width and height in the load() function alongside with the image path argument.
Well that is really cool! Huh. I think I might update my simpleWindows thing to use that, since it already does edges/etc, it just doesn't scale with them/etc.
pauljessup wrote: ↑Sat Jul 01, 2023 4:25 pm
Well that is really cool! Huh. I think I might update my simpleWindows thing to use that, since it already does edges/etc, it just doesn't scale with them/etc.
Thanks! It's nice to see when someone uses your library!