客户端开发指南.pdfVIP

  • 4
  • 0
  • 约3.5万字
  • 约 27页
  • 2018-11-01 发布于湖北
  • 举报
客户端开发指南

Project Darkstar客户端开发指南 Translate By: ChinaEstone Project Darkstar Project Darkstar PPrroojjeecctt DDaarrkkssttaarr 客户端开发指南 (Java 版) 翻译:中國壹石頭 博客: 邮箱:chinaestone@ estone@ Whatwecallhumannatureisactuallyhumanhabbit . Project Darkstar客户端开发指南 Translate By: ChinaEstone Contents 目录 Introductionv 简介 Lesson1:HelloUserClient1 第一课:HelloUserClient SimpleClient1 简单的一个客户端SimpleClient Connecting1 连接 Client/ServerCommunication2 客户端/服务器通信 RunningHelloUserClient3 运行 HelloUserClient Code:HelloUserClient3 代码: HelloUserClient HelloUserClient3 HelloUserClient Lesson2:HelloChannelClient10 第二课:HelloChannelClient Publish/SubscribeChannels10 订阅/发布的通道 JoiningandLeavingaChannel10 加入和退出一个通道 SendingandReceivingChannelMessages10 发送和接收通道的信息 RunningHelloChannelClient11 运行HelloChannelClient Code:HelloChannelClient11 代码:HelloChannelClient HelloChannelClient11 HelloChannelClient Conclusion15 总结 Whatwecallhumannatureisactuallyhumanhabbit . Project Darkstar客户端开发指南 Translate By: ChinaEstone Introduction 介绍 Thisdocumentisashorttutorialforprogrammingclients thatconnecttotheProject DarkstarServer(PDS). 这篇文档是一个简单的用于编写和PDS系统通讯的一个客户端开发指南。 ProgramminggameclientsthatuseserversprovidedbytheProjectDarkstarServeris notmuchdifferentfromcodinganyothersortofgameclient. Thebigdifferencebetween PDS-basedgamesandothersishowtheyconnecttoandcommunicatewiththeserver andwitheachother.Thistutorialfocusesonthe“plumbing”necessarytomakethose connections. 使用PDS环境开发一个游戏的客户端和使用其他形式开发一个游戏客户端有很多不同的地 方。基于PDS的游戏和其他的服务器最大的不同是怎样和服务器进行连接和通信,已经怎 样使用客户端和服务器进行连接和通信。本指南的特点是在于讲述以“装修水管的工作方式 (添加和删除通道Channel)”进行这种连接的必要性。 Itdoesnotattempttoaddressthedesignissuesofhowtodesignagoodclient/server architectureforanonlinegame,sincethisisverygame-specificandwel

文档评论(0)

1亿VIP精品文档

相关文档