• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

menacher/java-game-server: Jetserver is a high speed nio socket based multiplaye ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

menacher/java-game-server

开源软件地址:

https://github.com/menacher/java-game-server

开源编程语言:

Java 90.8%

开源软件介绍:

Note New version of Jetserver is called Nadron and is in a new netty 4 branch of this same repo.
JetServer is a java nio based server specifically designed for mutliplayer games. It supports UDP and TCP transports. It uses Netty for high speed network transmission and Jetlang for extremely fast in-vm message passing between player sessions and game rooms. The project also uses spring for its dependency injection. This way, it is highly configurable and you can swap out any part of the server with your own implementations.

Wiki

The wiki provides implementation level details and answers to general questions that a developer starting to use jetserver might have about it. The following blog has post on game creation.

Support Group

For general discussion please use the jetserver google group. Issues and bugs can be raised directly in github.

Installation

Maven

<dependency>
    <groupId>com.github.menacher</groupId>
    <artifactId>nadron</artifactId>
    <version>0.5</version>
</dependency>

From Source

Using pre-built jar files

The pre-built jar files of this project are located in the jetserver/binaries directory. All dependent jars are located in the jetserver/lib directory. You can add them to your favorite IDE’s classpath for coding. If you want to compile from source, then follow steps below.

With Maven and using Eclipse

Pre-requisites: Please have maven 3+ and Spring source tool suite or eclipse installed. If you are using plain vanilla eclipse, then M2Eclipse and EGit plugins though not required will be helpful. The maven-eclipse plugin part of pom.xml should be modified when using another IDE.

Steps

  1. git clone [email protected]:menacher/java-game-server.git
  2. cd java-game-server
  3. cd jetserver
  4. mvn eclipse:eclipse - Takes time, the first time! If you want to reduce this time, then comment out include sources/jars option from the maven pom.xml eclipse plugin part.
  5. eclipse -> file -> import -> git -> select repository and import jetserver project.
  6. jetserver project in eclipse -> right click on pom.xml -> run as -> maven test - Takes time the first time!

If everything works as expected you should see some test cases executed successfully!

With Ant

If you are using ant, then the lib folder within the jetserver project contains all the dependent libraries. Just right click and run ant build and it will create the jetserver jar.

Happy coding!




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap