Servers
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Servers
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.
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.
Re: Servers
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
personal page and a raycaster
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: Servers
There are code samples in the LuaSocket introduction.Davidobot wrote:Hmm.... Is there any tutorials that you can link me?
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
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
Who is online
Users browsing this forum: No registered users and 206 guests