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?
Online gameplay
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- slime
- Solid Snayke
- Posts: 3163
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Online gameplay
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.
Who is online
Users browsing this forum: No registered users and 7 guests