turn TOVE graphics into LÖVE graphics
Posted: Sat Nov 11, 2023 1:30 pm
Hello everyone,
the TOVE library has its own "graphics" object and different rendering engines that displays the graphics object.
Among them is "texture" rendering. What I want is to export this texture into the standard LÖVE library, so that I can deal with it like with any other love.graphics object. Is this possible?
The reason being uniformity. E.g. LÖVE grabs textures on the upper left corner, while TÖVE grabs them by the center. So if I mix in TOVE graphics into my scene, I'd have to give them different coordinates. I've also come upon a bug in TOVE, where suddenly it doesn't render certain graphics anymore.
... generally I just want to have one kind of graphics object. I use TOVE as an SVG loader, and would like to keep using it so that it can render for me any scaling (and especially: rescaling in runtime) and coloring of the SVG graphics.
The TOVE library is amazing btw.
Thanks everyone and kind regards
the TOVE library has its own "graphics" object and different rendering engines that displays the graphics object.
Among them is "texture" rendering. What I want is to export this texture into the standard LÖVE library, so that I can deal with it like with any other love.graphics object. Is this possible?
The reason being uniformity. E.g. LÖVE grabs textures on the upper left corner, while TÖVE grabs them by the center. So if I mix in TOVE graphics into my scene, I'd have to give them different coordinates. I've also come upon a bug in TOVE, where suddenly it doesn't render certain graphics anymore.
... generally I just want to have one kind of graphics object. I use TOVE as an SVG loader, and would like to keep using it so that it can render for me any scaling (and especially: rescaling in runtime) and coloring of the SVG graphics.
The TOVE library is amazing btw.
Thanks everyone and kind regards