Eligibility of developing an MMO

To keep things short and sweet, I’ve been developing games for 4 years or so as an Indie developer (nothing published), but am looking to build something bigger. I’m intending to slowly build a 2D, top down, pixel art MMO similar to Realm of the Mad God
P.S I’m new to the engine

So what I’m wondering is,

  1. Is networking possible, if so is there a limit on players? (I’m happy to code a separate client if need be)
  2. What is the feasibility of a completely open world? (not necessary, just curious)
  3. Are connections secure? If not can something like SSL or an encrypted connection be made to work?

If something is difficult, not impossible I’d like to know, I’m willing to work as hard as needs to be to get it done
"Where there’s a will, there’s a way"

Thanks for the help :smile:

~ Kent

Bump? I’ve done some more experimenting, still curious as to whether this is possible :slight_smile: If the concept of an entirely online world is not possible, or this question is difficult to answer, is cooperative joining of a same world possible? (Sorry if bumping is frowned upon)

~ Kent

Kent, I’m sorry for not answering your questions. I must have missed this post, my apologies.

Networking
In Defold you can use HTTP/HTTPS via the http module. Defold also includes LuaSocket. With LuaSocket you can easily create UDP and TCP sockets and there are Lua modules built on top of LuaSocket to create SMTP, FTP and HTTP connections. LuaSocket doesn’t support secure sockets, for that we need LuaSec built into the engine. I can also recommend that you take a look at Copas which is a Lua based dispatcher, suitable for socket servers, which might be useful in a game such as yours.

Feasibility of an open world
This is a very open ended question (no pun intended). What exactly do you mean when you say open world? Defold tilemaps can be pretty big (not sure of the upper limit) but you probably want even larger, and in that case I’m sure you could build a system on top of them where you load/save chunks of the world into an existing tilemap as you scroll around.

1 Like

Britzl,

Thanks so much for the reply, and really its alright, I appreciate everything you guys do here and how dedicated you all are to helping everyone out, I totally understand if you miss posts, thanks again for the reply. Good to hear that networking is supported, I’ll look into that more when I get to that stage but I just wanted to know before I got far with my particular design if it was possible.

As for open world, I guess it is a bit vague, and to be honest I’m not sure how to compare scale, but I’ll experiment with the tile map sizes and see if they suit what I need, if not I’ll find another way :smiley:

Thanks a lot!

~ Kent

1 Like

Hey Kent,

Just thought I would chime in on this - If you were to make a large world with defold. I would look into dynamically loading and unloading as players enter and exit the New / Old Scene respectively.

Here is a Stack Exchange Article on the subject to point you into the right direction. It is XNA / C# but still should be applicable to 2D games.

Anyway - If you do make a System like this please share it or sell it. :slight_smile:

I would love such as system for use in my own games.

  • HeadClot
1 Like