Hello all, I have a few questions that I’ll roll up into 1 post here.
For the related questions, we’ll use a multiplayer example game such as “Battlefield” or “Call of Duty” - Standalone.
-
When trying to record experience, kills, ratios etc… What is the best and or easiest way to store this information? Is this information stored in a database (on the server) that is created with the “user id” to be called and referenced during game-play continuously?
-
When the scripts are written to store and locate the information, is the scripts to do so coded on the players controller? Example. Each time a bullet hits its target, a check is made to see what type of target, what points are awarded, and then determines whether to add that portion to the database. And for this example, this script would be on the bullet itself, or the controller?
-
Should I write 1 script (that rests within the bullet) that calls 1 larger script that checks all of the awards and points and damages etc? That script then awards the points to the proper databse ID in its correct location?
-
When I create such database, do I create it now, that way Unity has something to reference and for debug purposes, or must I have it all up and online first?
My terminology is a bit whack I understand, but the logic i “think” is there ![]()
Thanks all!