Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualZeroBeat

Posted 27 January 2013 - 08:59 AM

Like frob says, networking is an additional component to the game that you have to consider while making the game.

I found it a bit overwhelming to learn both networking and game programming at the same time. So I did (using SDL and its networking library SDL_net):

1. Made a very very simple 2D game (Pong). It took me 1-2 days. Its all in one file so easy to copy/paste.

2. Started playing around with Networking tutorials to better understand how networking works.

2.5 After modifying tutorials and seeing how the library works, I started to experiment

3. Made a small "guess my number ?" game. Just in the console/terminal view. (tried to keep it simple and easy)

4. Lastly I copy/pasted my pong code with the server and client code.

4.5 After modifing the code to work properly, I had a working 2 player pong game.


I wouldnt say that networking is hard. But it does bring an additional layer of complexity to a game. Eg One player may see something totally different from another.

#4ZeroBeat

Posted 27 January 2013 - 08:58 AM

Like frob says, networking is an additional component to the game that you have to consider while making the game.

I found it a bit overwhelming to learn both networking and game programming at the same time. So I did (using SDL and its networking library SDL_net):

1. Made a very very simple 2D game (Pong). It took me 1-2 days. Its all in one file so easy to copy/paste.

2. Started playing around with Networking tutorials to better understand how networking works.

2.5 After modifying tutorials and seeing how the library works, I started to experiment

3. Made a small "guess my number ?" game. Just in the console/terminal view. (tried to keep it simple and easy)

4. Lastly I copy/pasted my pong code with the server and client code.

4.5 After modifing the code to work properly, I had a working 2 player pong game.


I wouldnt say that networking is hard. But it does bring an additional layer of complexity to a game. Eg One player may see something totally different from another.

#3ZeroBeat

Posted 27 January 2013 - 08:58 AM

Like frob says, networking is an additional component to the game that you have to consider while making the game.

I found it a bit overwhelming to learn both networking and game programming at the same time. So I did (using SDL and its networking library SDL_net):

1. Made a very very simple 2D game (Pong). It took me 1-2 days. Its all in one file so easy to copy/paste.

2. Started playing around with Networking tutorials to better understand how networking works.

2.5 After modifying tutorials and seeing how the library works, I started to experiment

3. Made a small "guess my number ?" game. Just in the console/terminal view. (tried to keep it simple and easy)

4. Lastly I copy/pasted my pong code with the server and client code.

4.5 After modifing the code to work properly, I had a working 2 player pong game.


I wouldnt say that networking is hard. But it does bring an additional layer of complexity to a game. Eg One player may see something totally different from another.

#2ZeroBeat

Posted 27 January 2013 - 08:58 AM

Like frob says, networking is an additional component to the game that you have to consider while making the game.

I found it a bit overwhelming to learn both networking and game programming at the same time. So I did (using SDL and its networking library SDL_net):

1. Made a very very simple 2D game (Pong). It took me 1-2 days. Its all in one file so easy to copy/paste.

2. Started playing around with Networking tutorials to better understand how networking works.

2.5 After modifying tutorials and seeing how the library works, I started to experiment

3. Made a small "guess my number ?" game. Just in the console/terminal view. (tried to keep it simple and easy)

4. Lastly I copy/pasted my pong code with the server and client code.

4.5 After modifing the code to work properly, I had a working 2 player pong game.


I wouldnt say that networking is hard. But it does bring an additional layer of complexity to a game. Eg One player may see something totally different from another.

#1ZeroBeat

Posted 27 January 2013 - 08:03 AM

Like frob says, networking is an additional component to the game that you have to have in mind while programming.

 

I found it a bit overwhelming to learn both networking and game programming at the same time. So I did (using SDL and its networking library SDL_net):

 

1. Made a very very simple 2D game (Pong). It took me 1-2 days. Its all in one file so easy to copy/paste.

2. Started playing around with Networking tutorials to better understand how networking works.

2.5 After modifying tutorials and seeing how the library works, I started to experiment

3. Made a small "guess my number ?" game. Just in the console/terminal view. (tried to keep it simple and easy)

4. Lastly I copy/pasted my pong code with the server and client code.

4.5 After modifing the code to work properly, I had a working 2 player pong game.

 

I wouldnt say that networking is hard. But it does bring an additional layer of complexity to a game.  Eg One player may see something totally different from another.


PARTNERS