Servers

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
Banoticus
Citizen
Posts: 60
Joined: Wed Apr 04, 2012 4:01 pm
Location: London

Servers

Post by Banoticus »

How do i create a server that can transfer tables or integers from client to client and have a configurable file where you can edit the IP address?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Servers

Post by Robin »

Sorry if this answer seems a bit harsh, but: you write it.

This question sounds like "how do I create a game where there are two rectangles, one for each player, and there is a small white ball that bounces up and down and a player scores a point when other player misses the ball?"

Look up luasocket if you want to use Lua, or use Python and use the socket library, or use another language and another networking library... but pick something, read up on it, read a tutorial or two and get busy programming.

It's not hard, but it's not something that we can give you a snippet for so you are done with it.
Help us help you: attach a .love.
User avatar
Davidobot
Party member
Posts: 1226
Joined: Sat Mar 31, 2012 5:18 am
Location: Oxford, UK
Contact:

Re: Servers

Post by Davidobot »

Hmm.... Is there any tutorials that you can link me?
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: Servers

Post by josefnpat »

Davidobot wrote:Hmm.... Is there any tutorials that you can link me?
There are code samples in the LuaSocket introduction.
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Post Reply

Who is online

Users browsing this forum: No registered users and 206 guests