HaxeExtension/extension-gamecenter

Name: extension-gamecenter

Owner: Haxe Extensions

Description: Support for iOS GameCenter

Created: 2013-10-09 02:56:13.0

Updated: 2017-10-24 22:06:46.0

Pushed: 2017-05-02 02:21:10.0

Homepage:

Size: 84

Language: Objective-C++

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

MIT License Haxelib Version Build Status

GameCenter

Provides access to Apple GameCenter (iOS, Mac) for OpenFL projects using a common API.

Installation

You can easily install GameCenter using haxelib:

haxelib install gamecenter

To add it to a Lime or OpenFL project, add this to your project file:

<haxelib name="gamecenter" />

Troubleshooting

If you are running on iOS 8.0 or greater you will need to manually enable Sandbox or else Authorization will fail.

In iOS, go to Settings > Game Center and manually enable Sandbox.

Development Builds

Clone the GameCenter repository:

git clone https://github.com/openfl/gamecenter

Tell haxelib where your development copy of GameCenter is installed:

haxelib dev gamecenter gamecenter

You can build the binaries using “lime rebuild”

lime rebuild gamecenter ios

To return to release builds:

haxelib dev gamecenter

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.