Git Product home page Git Product logo

meishijie / haxeflixel_extensions3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paala/haxeflixel_extensions3

0.0 2.0 0.0 20.48 MB

Demos of how to implement basic extensions for haxeflixel android and iOS (Admob, Chartboost, IAP, Gestures, Facebook,Gamecenter, Googleplayservices))

Java 42.97% Haxe 14.61% C++ 1.29% Objective-C++ 1.84% Objective-C 38.58% Shell 0.63% C 0.04% Python 0.04%

haxeflixel_extensions3's Introduction

HaxeFlixel_extensions

Demos of how to implement basic extensions for haxeflixel android and iOS (Admob, Chartboost, IAP, Gestures, Facebook,Gamecenter, Googleplayservices))


This includes demos on how to integrate the following extensions for haxeflixel 3.2.2 and openfl 1.2.0, for android and iOS Some of the extensions(Gestures, Facebook, Google Play services ) for android will not work if you update openfl due to this bug:

openfl/openfl-native#216

Extensions used:

  1. Admob: https://github.com/mkorman9/admob-openfl
  2. Chartboost http://fugocode.blogspot.ro/2013/04/integrating-chartboost-with-haxe-nme.html
  3. Google Play services: https://github.com/hyperfiction/HypPlay_services
  4. Facebook https://github.com/hyperfiction/HypFacebook
  5. Gestures: https://github.com/shoebox/HyperTouch
  6. In App Purchase: https://github.com/openfl/iap
  7. Gamecenter https://github.com/openfl/gamecenter

My wish list but unable to find or implement:

  1. Twitter
  2. PushWoosh(or other good push notification service)
  3. Cloudsave

In iOS you can easy make a project that contains all extensions. This is how the demo is here but with some code commented out

In android there are some extensions that require changes to mainactivity.java. If you want to use multiple extension you need to merge the contains of mainactivity into on file.

You need to replace my com.paala.testhaxe to your reversedns, replace facebook game id,in app purchase key,path to certificate and password etc in project.xml, and in MenuState.hx

For android you need for some projects to replace main activity from: C:\HaxeToolkit\haxe\openfl\lime\openfl-native\1,2,0\templates\android

with the ones provided in !!main activitys folder

INFO:

To install the enviroment to work with these extensions you need to rename your c:Haxetoolkit to haxe_3.1.3 then install haxe3.0.1 and all this libraries:

C:\Users\mihai.morosanu>haxelib list actuate: [1.7.3] flixel: [3.2.2] googleiap: git [dev:C:\HaxeToolkit\haxe\openfl\lime/googleiap/git] googleplay: git [dev:C:\HaxeToolkit\haxe\openfl\lime/googleplay/git] hxcpp: [3.1.30] hxlibc: [1.1.4] hxtools: [1.1.6] inthebox-macros: [1.0.4] haxelib.json include.nmml LICENSE readme.md src lime: [0.9.4] 0.9.9 lime-tools: [1.2.3] 1.5.3 openfl: 1.1.0 [1.2.0] openfl-native: [1.2.0]

Known issues:

Charboost no more app on iOS

haxeflixel_extensions3's People

Contributors

paala 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.