Online gameplay

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
Zerock
Prole
Posts: 1
Joined: Mon Jul 06, 2015 1:47 am

Online gameplay

Post by Zerock »

While Lua is wonderful for simplicity and accessing LÖVE's simple API, it is terrible for low-level functionality such as sockets for online gameplay.

What would be the best way to gain such functionality in a LÖVE game? Is it even possible to implement in pure Lua? How can I properly link with C libraries if a Lua module is not an option?
User avatar
slime
Solid Snayke
Posts: 3163
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Online gameplay

Post by slime »

LÖVE includes both lua[wiki]socket[/wiki] and [wiki]lua-enet[/wiki]. ENet is specifically designed for real-time networked multiplayer, and it (and/or luasocket) should provide more than enough functionality for your needs.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests