简体   繁体   中英

Creating Server for a mobile multiplayer game

I have to build a server to which I make requests using Unity for a mobile game.

I was advised to stay away from using REST for the server.

I want to be able to, in the client, make GET and POST requests via endpoints like "/players".

My question here is: which programming language and programs do you recommend me to start with to build a server to which clients can communicate with, in this case?

I've been using NodeJS to write servers for my programs and I've found it really good for a couple of reasons:

1) It is easy to understand the syntax (JS) if you've been using UnityScript or C# in the past.

2) There is a free download from the Asset Store that helps you parse and send data from a NodeJS server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM