secutor:LibGDX服务器-客户端游戏通信演示

上传者: 42114046 | 上传时间: 2024-02-06 14:46:04 | 文件大小: 2.31MB | 文件类型: ZIP
司徒 多人游戏依赖于服务器来使连接的客户端彼此保持同步。 Secutor演示了服务器如何维护游戏状态并控制客户端。 试试看 使用./gradlew desktop:dist来./gradlew desktop:dist JAR应用程序 使用java -jar secutor.jar -server运行服务器 使用java -jar secutor.jar连接任意数量的客户端 带有碰撞处理的旧演示(已删除): 开发与运行 Java 8是唯一的要求。 运行: ./gradlew desktop:run 分发: ./gradlew desktop:dist输出到desktop/build/libs文件夹 使用标志-server运行服务器。 core目录包含所有游戏逻辑和渲染。

文件下载

资源详情

[{"title":"( 73 个子文件 2.31MB ) secutor:LibGDX服务器-客户端游戏通信演示","children":[{"title":"secutor-master","children":[{"title":"gradlew <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 25B </span>","children":null,"spread":false},{"title":"core","children":[{"title":"src","children":[{"title":"com","children":[{"title":"keenant","children":[{"title":"secutor","children":[{"title":"utils","children":[{"title":"GameAnimationParams.java <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"GameAnimationLoader.java <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"SimpleLogger.java <span style='color:#111;'> 880B </span>","children":null,"spread":false},{"title":"GameAnimation.java <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"EventBus.java <span style='color:#111;'> 463B </span>","children":null,"spread":false},{"title":"Utils.java <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Direction.java <span style='color:#111;'> 549B </span>","children":null,"spread":false},{"title":"TextureAnimation.java <span style='color:#111;'> 322B </span>","children":null,"spread":false}],"spread":true},{"title":"Assets.java <span style='color:#111;'> 4.54KB </span>","children":null,"spread":false},{"title":"event","children":[{"title":"Event.java <span style='color:#111;'> 64B </span>","children":null,"spread":false},{"title":"EntityMoveEvent.java <span style='color:#111;'> 757B </span>","children":null,"spread":false},{"title":"EntityEvent.java <span style='color:#111;'> 386B </span>","children":null,"spread":false}],"spread":true},{"title":"SecutorApp.java <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"Constants.java <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"engine","children":[{"title":"view","children":[{"title":"gladiator","children":[{"title":"GladiatorView.java <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"world","children":[{"title":"WorldView.java <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":false},{"title":"AbstractView.java <span style='color:#111;'> 356B </span>","children":null,"spread":false},{"title":"View.java <span style='color:#111;'> 538B </span>","children":null,"spread":false}],"spread":false},{"title":"model","children":[{"title":"Entity.java <span style='color:#111;'> 720B </span>","children":null,"spread":false},{"title":"gladiator","children":[{"title":"Gladiator.java <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"ClientGladiator.java <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":false},{"title":"world","children":[{"title":"World.java <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"CollidableEntity.java <span style='color:#111;'> 756B </span>","children":null,"spread":false},{"title":"Model.java <span style='color:#111;'> 402B </span>","children":null,"spread":false}],"spread":false},{"title":"Game.java <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"controller","children":[{"title":"gladiator","children":[{"title":"GladiatorController.java <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"ClientGladiatorController.java <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":false},{"title":"Controller.java <span style='color:#111;'> 797B </span>","children":null,"spread":false},{"title":"world","children":[{"title":"WorldController.java <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":false},{"title":"AbstractController.java <span style='color:#111;'> 685B </span>","children":null,"spread":false},{"title":"EntityController.java <span style='color:#111;'> 328B </span>","children":null,"spread":false}],"spread":false},{"title":"animation","children":[{"title":"GladiatorAnimationState.java <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"GladiatorAnimationLogic.java <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"network","children":[{"title":"packet","children":[{"title":"Packet.java <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"JoinPacket.java <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":"GladiatorPacket.java <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"WorldSetupPacket.java <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"EntityMovePacket.java <span style='color:#111;'> 679B </span>","children":null,"spread":false},{"title":"LoginPacket.java <span style='color:#111;'> 432B </span>","children":null,"spread":false},{"title":"LeavePacket.java <span style='color:#111;'> 326B </span>","children":null,"spread":false}],"spread":false},{"title":"SecutorClient.java <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"SecutorEndPoint.java <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"SecutorConnection.java <span style='color:#111;'> 332B </span>","children":null,"spread":false},{"title":"SecutorServer.java <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false}],"spread":false},{"title":"SecutorArgs.java <span style='color:#111;'> 964B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"assets","children":[{"title":"white.png <span style='color:#111;'> 72B </span>","children":null,"spread":false},{"title":"gladiator","children":[{"title":"gladiator_up.png <span style='color:#111;'> 423B </span>","children":null,"spread":false},{"title":"gladiator_right.png <span style='color:#111;'> 375B </span>","children":null,"spread":false},{"title":"gladiator_down_attack.png <span style='color:#111;'> 492B </span>","children":null,"spread":false},{"title":"gladiator_up_attack.png <span style='color:#111;'> 447B </span>","children":null,"spread":false},{"title":"gladiator_right_attack.png <span style='color:#111;'> 414B </span>","children":null,"spread":false},{"title":"gladiator_shadow.png <span style='color:#111;'> 141B </span>","children":null,"spread":false},{"title":"gladiator_down.png <span style='color:#111;'> 420B </span>","children":null,"spread":false}],"spread":true},{"title":"dpcomic.ttf <span style='color:#111;'> 8.73KB </span>","children":null,"spread":false},{"title":"background.png <span style='color:#111;'> 12.69KB </span>","children":null,"spread":false},{"title":"manaspace.regular.ttf <span style='color:#111;'> 9.33KB </span>","children":null,"spread":false},{"title":"helmet","children":[{"title":"helmet_down.png <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"helmet_up.png <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"helmet_right.png <span style='color:#111;'> 132B </span>","children":null,"spread":false}],"spread":true},{"title":"shield","children":[{"title":"shield_front.png <span style='color:#111;'> 219B </span>","children":null,"spread":false}],"spread":true},{"title":"audio","children":[{"title":"menu.mp3 <span style='color:#111;'> 2.33MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 202B </span>","children":null,"spread":false}],"spread":true},{"title":"desktop","children":[{"title":"src","children":[{"title":"com","children":[{"title":"keenant","children":[{"title":"secutor","children":[{"title":"desktop","children":[{"title":"DesktopLauncher.java <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 52.94KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 840B </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 95B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明