Hi all,
I'm a developper that knows some things about software programming,
but nothing about game programming.
I would like to know concept of network game programming. books,
articles, ... are welcome
For example, let me know if it's the good strategy :
I would like to create a 2 players game, very simple for beginning.
The purpose is to establish the network engine.
What i want to do, on a screen, 2 players (2 sprites), and each player
can move his sprite, and each player can see his player and the other
one too.
So, what i've done :
- a server that broadcast the message to the others players (in my
case, to the only one other player)
- 2 clients that :
- can move a sprite when moving pad and send position to the
serveur
- can listen to the server, receving the position and display the
other sprite at the position
I've try something like this, but I encounter a lot of slowness .
My question is : is this the good philosophy ?
I try to send data trough network (wifi capability), but despite the
very little amount of data sended, the game is too slow.
How can real game do with sending many many data during a game ?
Thanks for your answers.
S.


|