/MOEGameCenterExample

Barebones example of how to get GameCenter running in your LibGDX game with Intel's Multi OS Engine (MOE).

Primary LanguageJava

MOEGameCenterExample

Barebones example of how to get GameCenter running in your LibGDX game with Intel's Multi OS Engine (MOE).

How?

Refactored the old RoboVM bindings for GameCenter from here (https://github.com/BlueRiverInteractive/robovm-ios-bindings/tree/master/gamecenter/src/org/robovm/bindings/gamecenter).

Things to Note

  • Uses LibGDX 1.9.9 and Intel MOE 1.4.3
  • It is the LibGDX sample project with a GameCenter login. If it works, you'll see it welcome you on the screen. If it fails, you can check your system logs to see why.
  • You will want to assign a team in Xcode and test on an actual device. I did not test in a simulator, but it may still work.
  • Removed deprecated GameCenter implementation code as LibGDX MOE games run on iOS 9.3+.
  • Utilizes lambdas, so you may have to update to newer versions of Java if your IDE doesn't recognize them.
  • Not sure if the method buildUnauthenticatedPlayerError is updated correctly, as my account logged in correctly. Marked as untested.
  • Removed getIOSVersion method as it was outdated for iOS 10+.