augustozuniga / arisgames

Automatically exported from code.google.com/p/arisgames
MIT License
1 stars 0 forks source link

Optimize client-server communications #84

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Send the least amount of data across the wire and only have the player wait
when they have to.

Some examples:

1. Functions that update the server when a node was viewed or an item was
viewed should get a response indicating which parts of the system now need
to be refreshed. Do this in the background. Since the map is the only game
state that other players can change, the inventory, quests, npcs, nodes etc
do not need a refresh unless the update functions say so.

2. Do most calls in a separate thread like facebook

3. build a server to client notification system to replace #1 including the gps

Original issue reported on code.google.com by mrdjgag...@gmail.com on 10 Sep 2009 at 8:14