Standard Lua with love2D?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Standard Lua with love2D?

Post 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.
CH3DD4R
Prole
Posts: 6
Joined: Thu Mar 27, 2014 7:20 pm

Re: Standard Lua with love2D?

Post by CH3DD4R »

So, considering that I'm using Lua 5.1.4, the code would most likely be pretty compatible?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Standard Lua with love2D?

Post 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.
CH3DD4R
Prole
Posts: 6
Joined: Thu Mar 27, 2014 7:20 pm

Re: Standard Lua with love2D?

Post 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.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest