Networking

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Nah-Trowen
Prole
Posts: 8
Joined: Thu Jan 03, 2013 8:04 am

Networking

Post by Nah-Trowen »

I want to make a MMORPG, I have a good understanding of Love2d and Lua. The only problem is that when it comes to networking I'm clueless. I've watched countless youtube tutorials so I know a few things(very few), but can someone thoroughly explain networking and networking in Love2d?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Networking

Post by Robin »

Help us help you: attach a .love.
Nah-Trowen
Prole
Posts: 8
Joined: Thu Jan 03, 2013 8:04 am

Re: Networking

Post by Nah-Trowen »

I understand how big a MMO is and how much time its going to take, but I'm ready to get started. I just need some information about networking and networking in Lua.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Networking

Post by Robin »

Nah-Trowen wrote:I just need some information about networking and networking in Lua.
Then you are not ready.
Help us help you: attach a .love.
Nah-Trowen
Prole
Posts: 8
Joined: Thu Jan 03, 2013 8:04 am

Re: Networking

Post by Nah-Trowen »

So how do I become ready with networking? If you think I shouldn't rush to make a MMO i won't, but how can I make a small multiplayer game in Lua to gain a basic understanding of networking?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Networking

Post by Robin »

Okay. Do you know luasocket and do you know how to use it? LÖVE comes bundled with it, and to use networking in LÖVE you generally use luasocket. The LÖVE wiki has a tutorial about it: Tutorial:Networking_with_UDP. After you've completed it, check out the "See Also" section. If you get stuck somewhere, you can come to the forums to ask us, but try to find a solution yourself first. You'll learn faster that way.
Help us help you: attach a .love.
User avatar
Lafolie
Inner party member
Posts: 809
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: Networking

Post by Lafolie »

There's http://enet.bespin.org/ too, though it's arguably easier to use luasocket (mainly for distribution purposes).
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
User avatar
miko
Party member
Posts: 410
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

Re: Networking

Post by miko »

Its kind of old thread, but you can start here:
viewtopic.php?f=3&t=3289&start=10#p33373
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests