Search found 259 matches
- Mon Jun 18, 2012 6:36 am
- Forum: General
- Topic: Killa: a new scripting language for Love 0.8.0
- Replies: 45
- Views: 39149
Re: Killa: a new scripting language for Love 0.8.0
I just found this and I want to say, this project is brilliant!! Programming with Lua was beginning to seem frustrating, and then this graceful language lands into existence! I'm a bit confused as to how to start using it though. My questions are: 1) Is Killa stable enough to be used for a commercia...
- Sun Jun 17, 2012 9:33 pm
- Forum: Support and Development
- Topic: Lua auto-complete?
- Replies: 24
- Views: 12839
Re: Lua auto-complete?
var is not a keyword in Lua. It's local . ;) That doesn't help. If I do: local myXVariable = 2 --Then later if myXvariable <= 10 --won't work. Won't throw an error. Whereas var myXVariable = 2 if myXvariable <= 10 --Should throw an error because it wasn't declared Killa may be of interest. Oh god. ...
- Sun Jun 17, 2012 7:32 pm
- Forum: Support and Development
- Topic: Lua auto-complete?
- Replies: 24
- Views: 12839
Re: Lua auto-complete?
I was considering attempting to make my own version of Lua with brackets for everything, that would first compile to Lua, removing the brackets and placing indents where appropriate then compiling that Lua file. How hard/practical would that be? Perhaps someone could make a stricter version of Lua....
- Sat Jun 16, 2012 11:23 am
- Forum: Support and Development
- Topic: Advanced Level Editor
- Replies: 3
- Views: 1381
Re: Advanced Level Editor
I'm pretty new to Love and Lua as well so take my advice with a grain of salt. I don't think it would take an insane amount of work to build something like that. In fact I think Love would make it easier (but when I say easier I'm comparing it to making your own level editor in C++) I don't see why ...
- Fri Jun 15, 2012 7:19 am
- Forum: Support and Development
- Topic: Lua auto-complete?
- Replies: 24
- Views: 12839
Re: Lua auto-complete?
So it looks like due to Lua's nature, this is pretty much impossible unless you custom-tailor your own plugin to work for your specific code structure, but I'm not sure if that'd be worth the time and effort. But hey, if everyone else can live without it, I guess I can too. I was considering attempt...
- Thu Jun 14, 2012 11:10 am
- Forum: Support and Development
- Topic: Lua auto-complete?
- Replies: 24
- Views: 12839
Re: OOP in Lua?
Thanks for the heads up, changed it.kikito wrote:Your post has little to do with OOP in Lua. I suggest you modify it to something like "How do I get autocomplete for Lua in Sublimetext?" (Which by the way, I have no idea how to do)
- Thu Jun 14, 2012 10:43 am
- Forum: Support and Development
- Topic: Lua auto-complete?
- Replies: 24
- Views: 12839
Lua auto-complete?
So I've been slowly getting the hang of metatables and whatnot in order to code in OOP. The one thing I can't seem to get working is that, assume I got my "class" set up and made an instance of it and set it as my metatable and everything. Now I want it so that, when I type: MyObject. It s...
- Thu May 31, 2012 10:29 am
- Forum: Support and Development
- Topic: .love files working, but cmd not detecting "love" ?
- Replies: 5
- Views: 5278
Re: .love files working, but cmd not detecting "love" ?
Thanks guys! It seems to work now. When I type "love" it opens that demo application. Typing "love --version" doesn't do anything though. This isn't really a big issue right? I just want to double check this won't bite me in the ass in the future or anything, since I can compile ...
- Tue May 29, 2012 6:50 pm
- Forum: Support and Development
- Topic: .love files working, but cmd not detecting "love" ?
- Replies: 5
- Views: 5278
.love files working, but cmd not detecting "love" ?
So I've just downloaded and install Love2d and have been prowling the wiki and whatnot, however I'm not sure if I installed Love correctly. The .love files from the demo's are working with no problem, however when I run "love --version" in the cmd it tells me that it isn't recognized. I'm ...