Hi, I would like to create a simple match-3-like mobile game in Unity. The game will be using NFT and blockchain features. I also need a server for the game. I have experience with creating mobile apps and games, but I don’t know much about backend development for mobile games. My first thought was to create a custom server in Node.js. After a quick research, I realized that there are already a lot of different and developed server solutions for unity like Mirror or Photon.
My server has to have the following features:
- be the authoritative server and run the whole logic of the game
- access NFT, interact with smart contracts and send all required blockchain-related data to the client
- supports PVP, PVE and co-op type of gameplay
- supports a microservices architecture
- allow for easy deployment scalability with services like AWS or Google
- expose an APIs
- ofc be secure and attack-proof
- has all the features that a decent mobile game needs
As I said earlier I don’t have much experience with creating a backend for mobile games and I’m really confused about what solution should I pick. I am afraid that creating a custom server might be overkill but at the same time, I don’t know if the server solutions available for unity can handle all of my requirements.
I’m wondering:
- What's the standard, a most common technology used for creating backends for the mobile games?
- Is there any Unity backend solution like Mirror or Photon that supports all of the requirements that I mentioned above?
- Is it common to have a mixed solution where the game uses Mirror or Photon strictly for running gameplay, and a custom server that e.g. interacts with smart contracts, exposes APIs, etc?
===============================================
I also post the same question on StackOverflow in case anyone would like to earn some points there:
https://stackoverflow.com/questions/73075249/backend-for-unity-mobile-game