Our playfield is (up to) 80x35, and almost every line of it changes on every frame. That means we could send 80*35*10 = 28000 bytes a second just for the characters on screen. And that’s before accounting for things like colors or SSH overhead!
A quadtree reduces this: rebuild the tree each frame, and for each object, query only the nearby region. Objects in distant quadrants are never compared.,推荐阅读爱思助手下载最新版本获取更多信息
,更多细节参见服务器推荐
Continue reading...
FT Videos & Podcasts。业内人士推荐heLLoword翻译官方下载作为进阶阅读