Code Monkey home page Code Monkey logo

hxgk-flixel's Introduction

#hxgk for HaxeFlixel

The options for integrating Game Center into HaxeFlixel projects are not great. The original HxGK project seems to have largely disappeared from the Internet and NMEX, while full of great features, is an absolute pain to get running in its current state. This project should, hopefully, make basic Game Center integration (leaderboards and achievements) much simpler.

##Instructions

  • Install hxgk into a directory:
git clone [email protected]:prestia/hxgk-flixel.git DESTINATION-FOLDER
  • Add the following to your Project.xml file:
<include path="DESTINATION-FOLDER" if="ios" />
<dependency name="GameKit.framework" if="ios"/>
  • Remember to include import hxgk.Hxgk; in your .hx files!

##To-Do

This is a brand new hack of a seemingly abandoned extension and not very well tested. It works on my project, but I'm eager for feedback from others. There is now a sample program in the repo, but I haven't had a chance to fully test it.

##WARNING

When testing Game Center apps, there is a bug with the sandboxed Game Center since iOS 7. You can read more about it here. Essentially, if you hit "Cancel" at Game Center login 3 or more times, the device (hardware or simulated) will automatically cancel all future login requests. This is not a bug with hxgk-flixel. To fix this, you must wipe the device settings, which can be done through the settings app on iOS devices or "Reset Content and Settings..." in the iOS Simulator menu.

hxgk-flixel's People

Contributors

prestia avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.