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


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
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands

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
Party member
Posts: 1213
Joined: Sat Mar 31, 2012 5:18 am
Location: Cambridge, UK

Re: Servers

Post by Davidobot »

Hmm.... Is there any tutorials that you can link me?
My projects: Raycaster, love.js v11.3 port
itch page: link
My website: link
My library: LovelyMoon
User avatar
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement

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

<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: Bing [Bot], Google [Bot], pgimeno and 17 guests