Page 1 of 1

NineSliceRect utility class

Posted: Fri Dec 31, 2010 8:37 pm
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.

Re: NineSliceRect utility class

Posted: Sat Jan 01, 2011 12:23 am
by ishkabible
this crashes when i run it

Re: NineSliceRect utility class

Posted: Sat Jan 01, 2011 1:14 am
by TechnoCat
main.lua has to be in the root of the love file.

Re: NineSliceRect utility class

Posted: Sat Jan 01, 2011 6:58 am
by Araqiel
Oops. Didn't realize 7-zip did that. Fixed it, try downloading it again.