turn TOVE graphics into LÖVE graphics

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
coolCatfish
Prole
Posts: 7
Joined: Sat Nov 11, 2023 1:00 pm

turn TOVE graphics into LÖVE graphics

Post by coolCatfish »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests