Sign in to follow this  
MilkyTerror

How would I start a 2d mmorpg

Recommended Posts

I know an mmo takes ages to make and I have that time, I am just wondering how to start programming a server that just sends for example map data to the client, have sprites walk around, nothing fancy. I have done some research on networking and I hope to do this in c/c++

Share this post


Link to post
Share on other sites

I'd suggest going to the forum's FAQ

 

Items #0, 1, 3, 8, 28, 29, should all be especially useful. You'll note the links in SotL's post are also in those answers. The rest of the forum FAQ is good too, although some of the links are broken and a few of the answers are dated.

Share this post


Link to post
Share on other sites

High level -- how it differs from a Solo game  (you may have already done this mostly if you had done mutiplayer already )

 

Server is in the middle, assembles all the commands from the clients and then correlates the actions and their results (including any side effects of different players actions happening in close proximity) and the  filters those results to send them to the clients which would be in range to see them.

 

NPCs behavior (and terrain changes)  would be run on the Server.

 

Network traffic flows in and back out of the Server in the center

 

So you have to start slicing you solo program into the parts that would be in that center and the parts the client retains (like rendering and validating innputs)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this