New to Love2D and Lua

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
buhb11
Citizen
Posts: 81
Joined: Wed Dec 26, 2012 8:59 pm

New to Love2D and Lua

Post by buhb11 »

Hey guys, I would really like to get some opinions on which language i should use for my needs. I want to try and prevent months or years of game development just to find that I would get better results from a different language. I know Java well and i made some basic games in it in the past few months . But i dont like the fact its hard to use , so i was searching for something easier than Java but fast enough to make something small and cool ! So here i am to ask you if i should pick Love instead of Java for makeing simple but funny games like ( Asteroids , Mini Minecraft , Mari0 , Terraria ) , ok i am sure i am wrong saying those games are easy to make but i am curious if i can make games like those in Love2D whitout be worried of lag or issues like that.
I am planning to make just 2D games in the future because the math behind the 3d ones scare me a lot for a guy who hase only 15 years i think its too much :ehem: and i am 100% sure that 2D games are equally valued as the 3d ones.
Also i would like to know if i can port Love to android because i am going to buy a tabblet and i`d like to make my games on android too :).
Do you think its better to use Lua instead of Luaj ? However i need some tutorials to start on :)
So my friends do you think its good to fallow this path or i should stay in my shell and continue learning Java for the rest of my life :) ? Thanks you for reading and i wish you good holydays!


P.S : sorry for my grammar and so on :) :|
Last edited by buhb11 on Thu Dec 27, 2012 12:18 pm, edited 2 times in total.
I found Love very enjoyable and nice!
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: New to Love2D and Lua

Post by Nixola »

Well, Mari0 IS done with LÖVE ;)
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: New to Love2D and Lua

Post by BlackBulletIV »

Welcome. I'd say LÖVE's an excellent choice for those kind of games. Funny that you should mention Mari0, as it uses LÖVE (and it's probably the most recognised LÖVE game to date).

Lua is a brilliant language. It's very fast for an interpreted language, and it can get insanely fast if you use LuaJIT. On top of that, it's very flexible, simple, and easy to learn. Since you're already accustomed to programming, I'd recommend checking out my Lua for Programmers series if you want to learn it.

I totally concur with complexity of 3D. Someday I'd like to branch out and do 3D, but it's a daunting prospect, especially when you have to do the art yourself (3D modelling would take a long time to get the hang of it seems).

Whichever way you go, good luck! :)

EDIT: Ninja'd by Nixola on Mari0.
User avatar
Qcode
Party member
Posts: 170
Joined: Tue Jan 10, 2012 1:35 am

Re: New to Love2D and Lua

Post by Qcode »

I'm not trying to put you off of programming with love here, but I would just like to point out that Mari0 and Terraria probably wouldn't be as "simple" to make as you would think. I spent 8 minutes of my life counting up the used code of Mari0 and the total was 21869 lines of code. Though the game may seem simple in aspects, the programming could take quite a while. However, that shouldn't discourage you from making awesome games, I'd just like to point out that some games can take a lot more work than players give the author credit for. I wouldn't know how Mini-Minecraft works, but I'd imagine that would be the same. I'd certainly tell you to stay with love though. If you ever need help on anything, just come here and we'll be glad to help :awesome: .
User avatar
buhb11
Citizen
Posts: 81
Joined: Wed Dec 26, 2012 8:59 pm

Re: New to Love2D and Lua

Post by buhb11 »

Qcode wrote:I'm not trying to put you off of programming with love here, but I would just like to point out that Mari0 and Terraria probably wouldn't be as "simple" to make as you would think. I spent 8 minutes of my life counting up the used code of Mari0 and the total was 21869 lines of code. Though the game may seem simple in aspects, the programming could take quite a while. However, that shouldn't discourage you from making awesome games, I'd just like to point out that some games can take a lot more work than players give the author credit for. I wouldn't know how Mini-Minecraft works, but I'd imagine that would be the same. I'd certainly tell you to stay with love though. If you ever need help on anything, just come here and we'll be glad to help :awesome: .

Thanks for your replay , i know its hard to make even the simplest games out there but i just want to know if i can make games like that when i will be ready :)
And yes Mini Minecraft its quit big it has 178kilo of code,because i tryed to make mods for it !
I found Love very enjoyable and nice!
User avatar
buhb11
Citizen
Posts: 81
Joined: Wed Dec 26, 2012 8:59 pm

Re: New to Love2D and Lua

Post by buhb11 »

BlackBulletIV wrote:Welcome. I'd say LÖVE's an excellent choice for those kind of games. Funny that you should mention Mari0, as it uses LÖVE (and it's probably the most recognised LÖVE game to date).

Lua is a brilliant language. It's very fast for an interpreted language, and it can get insanely fast if you use LuaJIT. On top of that, it's very flexible, simple, and easy to learn. Since you're already accustomed to programming, I'd recommend checking out my Lua for Programmers series if you want to learn it.

I totally concur with complexity of 3D. Someday I'd like to branch out and do 3D, but it's a daunting prospect, especially when you have to do the art yourself (3D modelling would take a long time to get the hang of it seems).

Whichever way you go, good luck! :)

EDIT: Ninja'd by Nixola on Mari0.


Thanks for replay and for giveing me your awesome tutu!
I found Love very enjoyable and nice!
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: New to Love2D and Lua

Post by BlackBulletIV »

Qcode wrote:I spent 8 minutes of my life counting up the used code of Mari0 and the total was 21869 lines of code.
Wow. I knew it was big, but not that big. That makes the author's effort even more impressive.
User avatar
slime
Solid Snayke
Posts: 3170
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: New to Love2D and Lua

Post by slime »

Qcode wrote:I spent 8 minutes of my life counting up the used code of Mari0 and the total was 21869 lines of code.
cloc shows a total of 38,275 lines across 138 separate files in Mari0, although I'm using a yet-to-be-released version...
User avatar
buhb11
Citizen
Posts: 81
Joined: Wed Dec 26, 2012 8:59 pm

Re: New to Love2D and Lua

Post by buhb11 »

slime wrote:
Qcode wrote:I spent 8 minutes of my life counting up the used code of Mari0 and the total was 21869 lines of code.
cloc shows a total of 38,275 lines across 138 separate files in Mari0, although I'm using a yet-to-be-released version...

Well...that is something
I found Love very enjoyable and nice!
User avatar
Qcode
Party member
Posts: 170
Joined: Tue Jan 10, 2012 1:35 am

Re: New to Love2D and Lua

Post by Qcode »

slime wrote:
Qcode wrote:I spent 8 minutes of my life counting up the used code of Mari0 and the total was 21869 lines of code.
cloc shows a total of 38,275 lines across 138 separate files in Mari0, although I'm using a yet-to-be-released version...
I also didn't count any of the server code as it wasn't used in 1.6. It probably would have been closer to 25,000 if I had.
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests