Jump to content

Game like Imperia


lukinko171
 Share

Recommended Posts

Hi.

What's the best framework?

I think that it's the one you know better.

As far as I know you will have to either implement network logic yourself or you will use a third party library. I'm not aware of any framework specific for multi-player games.

Regarding server-side question, as you have this kind of doubt it means you're not used to develop servers.

So my opinion is the same: use the language / framework you know better.

Forget about performance.

Forget about asynchronous communication.

Use plain HTTP. Forget about fancy technologies like web socket.

Focus in making a simple server working well, implementing one feature at a time (for instance, make a simple tic-tac-toe with functions just to send user movement to server and a function in server that responds to game saying which will be next position of the opponent.

Only after you've learned well how a server works you may wonder about performance, asynchronous communication, and so on.

 

It may take years until you get the necessary expertise to make a great server.

That said, if you're really interested in performance, a good option is lapis framework. It performed much better than any JavaScript framework. You can see benchmark here. But the most important thing: It uses lua / moonscript as its programming language, what are much easier than JavaScript.

 

If you just want to make a multi-player game, its better for you to use someone else server and libraries. Take in consideration that it alone is a hard work.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...