NineSliceRect utility class

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
Araqiel
Citizen
Posts: 54
Joined: Sat Oct 30, 2010 7:33 pm

NineSliceRect utility class

Post by Araqiel »

I found myself needing customizable rectangles in my game. Therefore, I made a quick Middleclass-based... class to do it for me. Just thought I'd share with the rest, since it could be quite useful.

Everything you need to know about using it will be in main.lua.
Attachments
NineSliceRect.love
(6.13 KiB) Downloaded 133 times
Last edited by Araqiel on Sat Jan 01, 2011 9:15 am, edited 2 times in total.
User avatar
ishkabible
Party member
Posts: 241
Joined: Sat Oct 23, 2010 7:34 pm
Location: Kansas USA

Re: NineSliceRect utility class

Post by ishkabible »

this crashes when i run it
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: NineSliceRect utility class

Post by TechnoCat »

main.lua has to be in the root of the love file.
Araqiel
Citizen
Posts: 54
Joined: Sat Oct 30, 2010 7:33 pm

Re: NineSliceRect utility class

Post by Araqiel »

Oops. Didn't realize 7-zip did that. Fixed it, try downloading it again.
Post Reply

Who is online

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