A sample application demonstrating how to integrate a LibGDX Android game with Google Play Game Services.
libgdx-gameservices-tutorial is hosted in the following web site
https://github.com/TheInvader360/libgdx-gameservices-tutorial
If you think the Android project libgdx-gameservices-tutorial listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of libgdx-gameservices-tutorial.
Item | Value |
---|---|
Java File Count | 25 |
Supported screen sizes | [mdpi, xxhdpi, hdpi, xhdpi] |
Minimum SDK Version | 9 |
Activity Count | 1 |
Fragment Count | 1 |
jar files used | android-support-v4.jar gdx-backend-android-sources.jar gdx-backend-android.jar gdx-backend-lwjgl-natives.jar gdx-backend-lwjgl-sources.jar gdx-backend-lwjgl.jar gdx-natives.jar gdx-sources.jar gdx.jar google-play-services.jar |
Required Permissions | android.permission.ACCESS_NETWORK_STATE android.permission.INTERNET |
Asset File Names | assets\data\background.png assets\data\click.wav assets\data\coin.wav assets\data\font.fnt assets\data\font.png assets\data\highjump.wav assets\data\hit.wav assets\data\items.png assets\data\jump.wav assets\data\music.mp3 |
There are 26 image files in libgdx-gameservices-tutorial. The names of the image files are listed as follows.
common_signin_btn_icon_disabled_dark.9.png common_signin_btn_icon_disabled_focus_dark.9.png common_signin_btn_icon_disabled_focus_light.9.png common_signin_btn_icon_disabled_light.9.png common_signin_btn_icon_focus_dark.9.png common_signin_btn_icon_focus_light.9.png common_signin_btn_icon_normal_dark.9.png common_signin_btn_icon_normal_light.9.png common_signin_btn_icon_pressed_dark.9.png common_signin_btn_icon_pressed_light.9.png common_signin_btn_text_disabled_dark.9.png common_signin_btn_text_disabled_focus_dark.9.png common_signin_btn_text_disabled_focus_light.9.png common_signin_btn_text_disabled_light.9.png common_signin_btn_text_focus_dark.9.png common_signin_btn_text_focus_light.9.png common_signin_btn_text_normal_dark.9.png common_signin_btn_text_normal_light.9.png common_signin_btn_text_pressed_dark.9.png common_signin_btn_text_pressed_light.9.png ic_plusone_medium_off_client.png ic_plusone_small_off_client.png ic_plusone_standard_off_client.png ic_plusone_tall_off_client.png powered_by_google_dark.png powered_by_google_light.png
The following screenshort is generated from the image listed above.
libgdx-gameservices-tutorial has the following Java source files.
android.UnusedStub.java com.google.example.games.basegameutils.BaseGameActivity.java com.google.example.games.basegameutils.GameHelper.java com.theinvader360.tutorial.libgdx.gameservices.ActionResolver.java com.theinvader360.tutorial.libgdx.gameservices.ActionResolverDesktop.java com.theinvader360.tutorial.libgdx.gameservices.Animation.java com.theinvader360.tutorial.libgdx.gameservices.Assets.java com.theinvader360.tutorial.libgdx.gameservices.Bob.java com.theinvader360.tutorial.libgdx.gameservices.Castle.java com.theinvader360.tutorial.libgdx.gameservices.Coin.java com.theinvader360.tutorial.libgdx.gameservices.DynamicGameObject.java com.theinvader360.tutorial.libgdx.gameservices.GameObject.java com.theinvader360.tutorial.libgdx.gameservices.GameScreen.java com.theinvader360.tutorial.libgdx.gameservices.Main.java com.theinvader360.tutorial.libgdx.gameservices.MainActivity.java com.theinvader360.tutorial.libgdx.gameservices.MainMenuScreen.java com.theinvader360.tutorial.libgdx.gameservices.OverlapTester.java com.theinvader360.tutorial.libgdx.gameservices.Platform.java com.theinvader360.tutorial.libgdx.gameservices.Settings.java com.theinvader360.tutorial.libgdx.gameservices.Spring.java com.theinvader360.tutorial.libgdx.gameservices.Squirrel.java com.theinvader360.tutorial.libgdx.gameservices.TutorialLibgdxGameservices.java com.theinvader360.tutorial.libgdx.gameservices.World.java com.theinvader360.tutorial.libgdx.gameservices.WorldRenderer.java