Online Game: Speed Issues...?
Author |
Message |
TokenHerbz
![](http://compsci.ca/v3/uploads/user_avatars/717170395558e628d9452b.jpg)
|
Posted: Sun Jan 20, 2008 6:48 pm Post subject: Online Game: Speed Issues...? |
|
|
So lets say I have this game, basic ping pong. Two users connect like a chat, and take control of each paddle.
What would the speed issues be like with Turing? I've had few speed problems with chat programs, and input reading programs.
Next question, Would the game be greatly effective if we added 1 or 2 more players?
I was going to try to make a game up to 4 players, pong game, Everyone gets to take a side, and if not enough players where in the game the side for that player would become a solid wall, so 2 players can play, even 3. Also i was going to make a computer able to play any side if the user assigned it.
A really complicated pong game, with multiple options of retarded fun
But before i finish i just want to know what kind of speed issues i'll be running into..
Generally there isn't any lag with LAN connections right? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
ericfourfour
|
Posted: Sun Jan 20, 2008 8:18 pm Post subject: RE:Online Game: Speed Issues...? |
|
|
There was an MMORPG made in Turing. The server, however, was done in Pearl (I think). I don't think pong will be an issue with Turing.
A few things you should think about:
What is the client going to do?
What is the server going to do?
What is the client going to send to the server? What is the server going to send to the client?
Four player poing is a good idea. And doing it over a network is better than four people at a keyboard. |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Sun Jan 20, 2008 8:25 pm Post subject: RE:Online Game: Speed Issues...? |
|
|
The thing is, some communication might go missing, or delayed, so you have to take that into account. If a movement information packet gets held up in such a way that I think that I have deflected the ball just in time, but your side thinks that the ball went through -- how would you define the common truth? |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
TokenHerbz
![](http://compsci.ca/v3/uploads/user_avatars/717170395558e628d9452b.jpg)
|
Posted: Sun Jan 20, 2008 10:13 pm Post subject: RE:Online Game: Speed Issues...? |
|
|
Thats a good thought tony, How would i work around that kind of issue? |
|
|
|
|
![](images/spacer.gif) |
ericfourfour
|
Posted: Sun Jan 20, 2008 11:01 pm Post subject: RE:Online Game: Speed Issues...? |
|
|
Let the server do the backend work. |
|
|
|
|
![](images/spacer.gif) |
|
|