[Solved] Lua or Moonscript?

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.
Post Reply
User avatar
eduardojuniosm
Prole
Posts: 5
Joined: Tue May 20, 2014 1:36 pm
Location: .com.br

[Solved] Lua or Moonscript?

Post by eduardojuniosm »

I'm thinking about create a game in love2d and I can't choose if I'll work with pure Lua or Moonscript. Which is better for OOP? Thank you in advance.
Last edited by eduardojuniosm on Tue May 20, 2014 11:02 pm, edited 1 time in total.
CODE IS POETRY.
User avatar
smoking bunny
Citizen
Posts: 67
Joined: Wed May 07, 2014 9:04 am
Contact:

Re: Lua or Moonscript?

Post by smoking bunny »

so why bother using love2d? why not just embed lua into a c++ project instead? you can still use images, love2d makes it easier to work with such things though.
im not key on moonscript, but you can use lua in love2d, because its built with lua, so really you would still be working with pure lua, in a sense, just more that you have an 'add-on' for it instead. plus has oop. plus its still multi-platform capable.

its more on how you implement it to work rather than whats better, the discussion could go either way for peoples own perspective on what is better. its the user and practitioner that makes it better because its them who is working with it in their own way.

you just need to get on and make something, look at some examples and dig deep into things.
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
User avatar
eduardojuniosm
Prole
Posts: 5
Joined: Tue May 20, 2014 1:36 pm
Location: .com.br

Re: Lua or Moonscript?

Post by eduardojuniosm »

smoking bunny wrote:so why bother using love2d? why not just embed lua into a c++ project instead? you can still use images, love2d makes it easier to work with such things though.
im not key on moonscript, but you can use lua in love2d, because its built with lua, so really you would still be working with pure lua, in a sense, just more that you have an 'add-on' for it instead. plus has oop. plus its still multi-platform capable.

its more on how you implement it to work rather than whats better, the discussion could go either way for peoples own perspective on what is better. its the user and practitioner that makes it better because its them who is working with it in their own way.

you just need to get on and make something, look at some examples and dig deep into things.
Thank you for your answer.
CODE IS POETRY.
User avatar
master both
Party member
Posts: 262
Joined: Tue Nov 08, 2011 12:39 am
Location: Chile

Re: Lua or Moonscript?

Post by master both »

Since Moonscript compiles into lua, you can use whatever you like, although lua doesn't have OOP built into, but there are many different libraries you can use. Here you can find a few Link.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 4 guests