Search found 3094 matches

by kikito
Tue Jan 31, 2017 3:52 pm
Forum: Libraries and Tools
Topic: Middleclass 4.x Object-Orientation for Lua
Replies: 21
Views: 6018

Re: [Lib] Middleclass 4.0.0. Object-Orientation for Lua

DanielPower wrote:It turns out I've been using Middleclass 4.0 for a year
^^ that made me chuckle a little. I don't update middleclass very often now, because I think it is pretty much done. I can try to make it a little bit faster, but that's pretty much it.
by kikito
Mon Jan 30, 2017 4:06 pm
Forum: Libraries and Tools
Topic: Middleclass 4.x Object-Orientation for Lua
Replies: 21
Views: 6018

Re: [Lib] Middleclass 4.0.0. Object-Orientation for Lua

Thank you again Kikito for your fantastic libraries. I use middleclass in all of my projects, and almost always end up using bump and inspect. I also wanted to mention that your blog taught be a lot about writing and using modules, and oop. I'll be upgrading to middleclass 4 when I get the time to ...
by kikito
Mon Jan 30, 2017 11:29 am
Forum: Libraries and Tools
Topic: Middleclass 4.x Object-Orientation for Lua
Replies: 21
Views: 6018

Re: [Lib] Middleclass 4.0.0. Object-Orientation for Lua

Great news, considering I'm going to use those Rect's a lot! If you are planning to use it a lot, for intensive calculus etc, I would recommend you to measure how fast it is to not use middleclass at all too. Middleclass (and, in fact, any object-oriented library) is not a good fit for super-tight ...
by kikito
Sun Jan 29, 2017 10:41 pm
Forum: Libraries and Tools
Topic: Middleclass 4.x Object-Orientation for Lua
Replies: 21
Views: 6018

Re: [Lib] Middleclass 4.0.0. Object-Orientation for Lua

Hi there! Thanks for your kind words. Let me start by saying that I am not a huge fan of getters/setters in Lua. In other languages, I can accept them; for example in ruby, they are integrated in the language's message-passing mechanism. But in Lua they are extra syntactic sugar, and risk making thi...
by kikito
Sat Jan 28, 2017 5:54 pm
Forum: Games and Creations
Topic: Game idea checking for interest
Replies: 13
Views: 2663

Re: Game idea checking for interest

Your idea is worthless.

Not because it is specially bad or anything. What I mean is that all ideas are worthless.

What matters is execution. Execution is everything.
by kikito
Fri Jan 20, 2017 7:02 pm
Forum: Support and Development
Topic: (SOLVED) reading a file with love.filesystem.lines
Replies: 5
Views: 994

Re: reading a file with love.filesystem.lines

The 'string.sub(line,j,j)' part seems to be wrong. Surely there must be an "i" somewhere on that expression?
by kikito
Fri Jan 06, 2017 7:46 pm
Forum: Support and Development
Topic: Can't make require function work [SOLVED]
Replies: 11
Views: 2109

Re: Can't make require function work

Are you running Debian? I had the impression this was something weird the Debian package maintainers did, and it didn't affect other platforms. I'm not sure it's Lua's fault; as far as I know they don't make any recommendation for what exactly should go in package.path (from LUA_PATH or luaconf.h),...
by kikito
Fri Jan 06, 2017 4:54 pm
Forum: Support and Development
Topic: Can't make require function work [SOLVED]
Replies: 11
Views: 2109

Re: Can't make require function work

But why? You can have an "init.lua" file in your module folder and calling "require ( modulefolder )" will call this file. That's Lua's fault. The implementation of `init.lua` isn't complete. It works when the library is in certain places (like when installed by LuaRocks) but not when you are tryin...
by kikito
Thu Jan 05, 2017 5:03 pm
Forum: General
Topic: Post-0.10.0 feature wishlist
Replies: 177
Views: 28331

Re: Post-0.10.0 feature wishlist

Keep in mind love is open source and anyone is welcome to contribute! I don't really have the capacity to significantly improve distribution workflow myself, right now. I can totally sympathise. My free time has diminished dignificantly in the recent months, and my open source projects are stalling...
by kikito
Thu Jan 05, 2017 2:05 pm
Forum: General
Topic: Post-0.10.0 feature wishlist
Replies: 177
Views: 28331

Re: Post-0.10.0 feature wishlist

I'm beginning to think that an official "love-maker" would be a good idea. There have been some heroic unofficial attempts at creating a script for doing this in the past, but it's still a pain point for me. I also would love it very much if LÖVE was smart enough to handle .love files made by compre...