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.
NineSliceRect utility class
NineSliceRect utility class
- 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.
- ishkabible
- Party member
- Posts: 241
- Joined: Sat Oct 23, 2010 7:34 pm
- Location: Kansas USA
Re: NineSliceRect utility class
this crashes when i run it
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: NineSliceRect utility class
main.lua has to be in the root of the love file.
Re: NineSliceRect utility class
Oops. Didn't realize 7-zip did that. Fixed it, try downloading it again.
Who is online
Users browsing this forum: Google [Bot] and 6 guests