WhiteTiger -> RE: friend bank (4/3/2016 3:35:14)
|
Storage of people on your friends list is probably as simple as an array of x player objects, like { ...
"friends": [
{ "_id": 123,
"name": name },
... ],
... } Which probably takes up a few kilobytes of space and is likely not a major concern. I think the bigger concern is if you were allowed to have 500 friends and all of those 500 friends were online and decided to talk to you at the same time, the game probably wouldn't be able to handle 500 chat windows open at the same time. There also wouldn't be a lot of room on your screen to have all those chats open and there would be a lot more stress on the server from your friends requesting chats, finding where you are, requesting an ally link, etc. You address this issue with the fact that your friend bank wouldn't allow these features, but then you'd have to build a system that allows you to transfer friends back and forth and check if a friend is banked or not. No, you can't just copy the code from the existing banking system, change weapon to friend and then it works. Depending on how friends are set up, I can see this as being really easy or really hard, but either way I don't think it's necessary.
|
|
|
|