Page 2 of 2

Re: Standard Lua with love2D?

Posted: Sat Mar 29, 2014 2:29 pm
by bartbes
It uses luajit, which is kind of between 5.1 and 5.2, but closer to 5.1. Alternatively, lua 5.1 is supported.

Re: Standard Lua with love2D?

Posted: Sat Mar 29, 2014 3:10 pm
by CH3DD4R
So, considering that I'm using Lua 5.1.4, the code would most likely be pretty compatible?

Re: Standard Lua with love2D?

Posted: Sat Mar 29, 2014 3:23 pm
by bartbes
The code itself should just run (unless you're using the deprecated 'arg' table), but you'll probably need to implement something like a main loop.

Re: Standard Lua with love2D?

Posted: Sun Mar 30, 2014 2:46 am
by CH3DD4R
Yeah, I've found that the easiest way to make a text based game, is the basically make a while true do loop, make it read input, run a parseInput function, which finds if certain words were typed, and do actions based on that. It shouldn't be hard to port it over, from what I've been told on this thread.