bullseyestudio / guns-game

Guns, the tank game
http://wiki.narc.ro/a/Guns
4 stars 0 forks source link

Viewport resizing #12

Closed narc0tiq closed 12 years ago

narc0tiq commented 12 years ago

Currently, the client viewport is fixed-size (1024x576px). We should allow clients to resize their viewports, and should also have them notify the server of their viewport size.

The server should use this information to reduce the amount of data sent to each player -- if you can't see player A, you don't need to be told where they are (i.e. fog of war).

Ethrel commented 12 years ago

I have the client-side code implemented as well as the message to server, gotta work on server-side object culling yet. Should be up in the next few days. Hopefully. Once I wade through the relevant server code which I have barely touched yet.