LVG - Loveable vector graphics ;)

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
Bananicorn
Prole
Posts: 1
Joined: Thu Apr 12, 2018 9:59 am

LVG - Loveable vector graphics ;)

Post by Bananicorn » Thu Sep 06, 2018 1:20 pm

I needed SVGs for my game, so I wrote a simple SVG parser, but I'd happily add more features in the future (I'm only having trouble *filling* complex shapes, since I can't use the löve-native triangulate function for that)
https://github.com/Bananicorn/lvg

Have a look and tell me what features you'd need for your projects! :)

bobbyjones
Party member
Posts: 693
Joined: Sat Apr 26, 2014 7:46 pm

Re: LVG - Loveable vector graphics ;)

Post by bobbyjones » Thu Oct 11, 2018 2:14 am

What license is this available under. I recommend MIT. Also I might use this in my project.

User avatar
ivan
Party member
Posts: 1322
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: LVG - Loveable vector graphics ;)

Post by ivan » Thu Oct 11, 2018 4:53 am

It's a good start. I've written similar things in the past, but it's hard to support all of the features from the SVG format.
My suggestion would be to separate the rendering from the parser so there is no "love." code in the project.
Anyways good luck!

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 6 guests