Search found 9 matches
- Wed Apr 05, 2017 4:07 pm
- Forum: Libraries and Tools
- Topic: [WIP][v1] Convert Formatted Text to Code Library
- Replies: 2
- Views: 2884
Re: [WIP][v1] Convert Some Fromat Text to Code Library
It seems interesting, though I can not help but wonder what purpose it serves. What is it you are hoping to accomplish with this library that couldn't otherwise be done using regular Lua? Also, the __call metamethod is your friend in the case of the square brackets. ;) I'll update this post with my ...
- Wed Mar 29, 2017 4:06 pm
- Forum: Libraries and Tools
- Topic: Classy - Middleclass Inspired, But a lot faster
- Replies: 12
- Views: 12368
Re: Classy - Middleclass Inspired, But a lot faster
The template that you provide to the class only defines the sets of keys that the underlying table will have as well as values that are automatically converted into strings. In this instance, defaultPicture is not the value you expect it to be since it is a love2d class object. You will want to inst...
- Wed Mar 29, 2017 4:03 pm
- Forum: Libraries and Tools
- Topic: Middleclass 4.x Object-Orientation for Lua
- Replies: 21
- Views: 24179
Re: Middleclass 4.x Object-Orientation for Lua
That aside, multiple inheritance is a pox on object oriented programming to begin with. Used sparingly, it can most certainly be useful in lower level languages like C++. However mixin functionality that defines common sets of functions and behaviors given a dataset is more or less what you'd want t...
- Thu Mar 09, 2017 5:53 pm
- Forum: Libraries and Tools
- Topic: Classy - Middleclass Inspired, But a lot faster
- Replies: 12
- Views: 12368
Re: Classy - Middleclass Inspired, But a lot faster
Update has been made.
- Thu Jan 05, 2017 4:21 pm
- Forum: Libraries and Tools
- Topic: Classy - Middleclass Inspired, But a lot faster
- Replies: 12
- Views: 12368
Re: Classy - Middleclass Inspired, But a lot faster
Sorry about that dude. Didn't even think to look to see if there was another project with the same name.
- Mon Jan 02, 2017 8:57 pm
- Forum: Libraries and Tools
- Topic: Classy - Middleclass Inspired, But a lot faster
- Replies: 12
- Views: 12368
Re: Classy - Middleclass Inspired, But a lot faster
@alloyed
Updated the git repo to do exactly that. There is definitely something henkey going on under the hood when ProFi is brought into the mix.
Updated the git repo to do exactly that. There is definitely something henkey going on under the hood when ProFi is brought into the mix.
- Sun Jan 01, 2017 1:48 am
- Forum: Libraries and Tools
- Topic: Classy - Middleclass Inspired, But a lot faster
- Replies: 12
- Views: 12368
Re: Classy - Middleclass Inspired, But a lot faster
@raidho When I feel compelled to, I may try to do that, however I try to share data wherever I can, hence the re-use of prototypes when subclassing objects. @airstruck The goal was to reduce the memory usage at a per-instance level, not at the per-class level (I'd like to optimise both here in the f...
- Thu Dec 29, 2016 5:44 am
- Forum: Libraries and Tools
- Topic: Classy - Middleclass Inspired, But a lot faster
- Replies: 12
- Views: 12368
Classy - Middleclass Inspired, But a lot faster
Greetings and salutations. So for my first trick, I bring to you all something that many of you who (like myself) use object oriented programming paradigms in Lua will find most interesting. Games use memory. They tend to use a lot of memory. Like, duh right? So why is it that we still blindly copy ...
- Wed Dec 21, 2016 4:31 am
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1805
- Views: 1732986
Re: What's everyone working on? (tigsource inspired)
What is everyone working on?
Something awesome. Will post details when I am able...
oh, and this is just clipart I found online. It's not an image indicative of what I'm working on... not directly indicative... I need sleep...