Hey guys
Logistics and scope aside, what would be the best approach for an online multiplayer game in Unity?
Ideally, you dont want the games code being pulled apart. There are secrets to uncover, math you want hidden, exploits to be found, etc.
So if I was to be looking into creating an online multiplayer game as a side project, essentially would the best approach be to have all of the ‘thinking’ done server side in hidden functions?
So the game would send to the server
‘Use item X from the Inventory’
and the server would send back
‘Error, you don’t have that. So No.’
or
‘Item Used, remove it from bag. Also gained 25 experience. Also got this message in chat about it.’
So essentially, anything that changes values or calculates values should be server side, while the Unity game is then essentially just a shell that is only capable of sending and receiving information, never changing it.
So Unity would essentially contain nothing about how the game works, it would just be the visual interpretation of the data.
Am i on the right track with all of this at all?
And would something like Gamesparks be reliable enough for at least the begining phases, or would it be best to use my own server (in which case, any recommendations for a starting point).
I have the time, team, funding and means to do something of this scope (its more of a fun excercise anyway), so please dont post about feasibility in that regard. Im just trying to figure out the best steps to start with