Advertisement Jump to content
Sign in to follow this  

AppWarp in theoretic view

This topic is 1158 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

It is the first time, that I'm working on a multiplayer mode to my game, so maybe this is reason why I so many questions have. So, I have read all the existing tutorials(also YouTube videos), but have some questions.(Because libgdx has already changed a lot since tutorials have published.)

  1. How should a project folder structure look like? Which packages should I add to my android folder in libGDX project?

  2. My existing single player game has 2 different roles. One for player and one for computer, with different motivations. It is a graph based game, they all playing by signing its vertices with two different colours.(The game has a mathematic base, a graph algorithm.) So, in this way all the two players codebase should be the same?

  3. Maybe I need a screen with some listeners for the multiplayer game, and that is all? Can you please tell me some basics, about building this screen?

libGDX's changed project structure make it hard and complicated to interpret older AppWarp tutorials

Share this post

Link to post
Share on other sites
You can add App42MultiPlayerGamingSDK.jar file in build.gradle file as a dependency in your libgdx project,
dependencies {    
compile files('libs/App42MultiPlayerGamingSDK.jar')   
AppWarp listeners can be managed as explained in this tutorial
In Game scene whenever you play your turn you can send turn data with sendMove/sendChat/sendUpdatePeers API and on the ends you will be getting the data in the corresponding listener callbacks. You just need to update your game as per the data received in the callback.
[edit by mod]
Let me know if you need more helps in game integration.
Thanks. Edited by Tom Sloper
invitation to connect off-forum

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!