Java Multiplayer Game Development
Using AppWarp, developers can now add realtime communication to their Java games to build beautiful, rich and engaging multiplayer games. The great thing is that developers can do this without any server side code or socket level programming as all the communication is managed by AppWarp Java SDK and cloud.
Here are following 2 options of setting up SDK
Option 1: (Recommended) Use AppWarp Java SDK Maven dependency.
• Paste the below line of code in settings.xml file.
<settings> <servers> <server> <id>jitpack.io</id> <username>jp_n0cr04o1s0as4utq72eqd1o1co</username> <password>.</password> </server> </servers> </settings>
Note: Please follow the below steps to find setting.xml folder
C:\Users\
• Paste the below dependency in your pom.xml file.
<dependency> <groupId>com.github.shephertz</groupId> <artifactId>AppWarp_JAVA_SDK</artifactId> <version>2.7</version> </dependency> <repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> </repositories>
Option 2: Download AppWarp Java SDK and setup locally.
Samples
superjumper(libgdx) code walkthrough
We’ve written a complete tutorial to illustrate how developers can write multiplayer games by integrating AppWarp cloud Java SDK with libgdx.
View the code walk-through