Search found 33 matches

by Trebgarta
Tue May 24, 2016 2:59 pm
Forum: Libraries and Tools
Topic: class.lua and more
Replies: 9
Views: 5803

Re: class.lua and more

I guess it should be fixed now. Used recursive model from another gist, the nonrecursive gist didnt work for me. Couldn't index "stack". The gist I used is in the class file comments. Also didnt get it quiet right yesterday, forgot to mention: My inheritance model allows classes inheriting...
by Trebgarta
Mon May 23, 2016 7:20 pm
Forum: Libraries and Tools
Topic: class.lua and more
Replies: 9
Views: 5803

Re: class.lua and more

Thanks! Exactly the reason why I posted this here. I couldn't ask for a better feedback. I'm not exactly new to lua. I've been a little jumpy in my 1.5 years programming so I can say I used löve2d down the road somewhere but I cant recall when and for what. I definitely remember I didnt learn metata...
by Trebgarta
Mon May 23, 2016 5:30 pm
Forum: Libraries and Tools
Topic: class.lua and more
Replies: 9
Views: 5803

class.lua and more

Yet another class implementation I guess, though this is not intended for public usage. I just relearned Lua and jumped on Löve 3 days ago and this is the result. A class implementation for myself, for a ECS-like structure implementation in the file next to it. What I'd love to have is some code rev...