Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: How to dev an online server for a simple game  (Read 4167 times)

0 Members and 1 Guest are viewing this topic.

fixus971

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.fixweb.it
How to dev an online server for a simple game
« on: April 23, 2011, 02:37:48 pm »
I'm finding info about how to develop the online part of server for a simple 4players 2D  strategic game.

I find for hours but drop all times on sites and tread for a big games.

I just done 1/2game with client and server on my local net but
now I want to understand if is possible to put the server side of game on an online shared server.

I want to know if I can use SFML libs on a game server. And Graph-Lib?

This is a strategic game with a very small use of TCP pakets but I think that here we have a bad ADSL line to do that in home.

Where can I found info about small online server for my small game?

Thanks for any suggestions. -Fixus
^_^=>Il calcolatore è straordinariamente veloce, accurato e stupido. Gli uomini sono incredibilmente lenti, imprecisi e creativi. L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)

PhiLLe

  • Newbie
  • *
  • Posts: 36
    • View Profile
How to dev an online server for a simple game
« Reply #1 on: April 30, 2011, 04:57:54 pm »
Quote
I just done 1/2game with client and server on my local net but
now I want to understand if is possible to put the server side of game on an online shared server.


If you have done a client/server game it should be simple to do that. There really is nothing changing but that it is running over the internet and you can't use your local IPs to acces the server.

Quote
I want to know if I can use SFML libs on a game server. And Graph-Lib?


Yes, of course you can! For your server you normally don't need any graphics.

Quote
This is a strategic game with a very small use of TCP pakets but I think that here we have a bad ADSL line to do that in home.


Just check how much bandwidth your game needs in your local network and then check how fast your line is. For a game with many players you will need a computer with a fast acces to the internet though.

Quote
Where can I found info about small online server for my small game?


There are many tutorials about that I think. The SFML example/tutorials for networking will help you to understand how SFML handles it.
http://gamedev.net/ is always a good resource.

I hope that helps you :)

fixus971

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.fixweb.it
How to dev an online server for a simple game
« Reply #2 on: May 01, 2011, 02:02:47 am »
Thanks for your reply.
My experience in online gaming is 0.001 but I have some hope.
For now thanks.
^_^=>Il calcolatore è straordinariamente veloce, accurato e stupido. Gli uomini sono incredibilmente lenti, imprecisi e creativi. L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)

 

anything