12-12-2012 06:11 AM
Hi All,
recently, I learned the Haxe NME (http://www.haxenme.org/) where it help me to create quick game apps for BB10. Just wondering where it could connect with BBM as social network integration. Any samples or articles would be much appreciated. Many Thanks
12-12-2012 03:29 PM
12-12-2012 09:00 PM
Many thanks joshua @singmajesty . Can't wait to learn it.
I will be waiting for your article or sample code.
12-12-2012 10:21 PM
+1 to ideanesia
plus maybe sample to integrate scoreloop.
12-17-2012 04:39 PM - edited 12-17-2012 04:41 PM
Hello @ideanesia,
From a social network integration point, BBM would be able to enable your application to reach more audiences, help with your application discovery, and provide tighter interactions between your application users.
Users between your applications are able to engage directly using BBM Chat as you are able to invoke BBM from with your application. User may invite their friends to download an application -- that invitation notification will be shown in user's friends BBM.
A good run down on some of the features may be found here: Blog on "Integrate with BBM and Watch Your Application Go Viral"
Using the BBM Platform APIs would allow games, for example, to send a BBM to an opponent notifying their attention is needed to play the next move.
I will investigate and see potentially how NME Framework may be integrated with BBM
12-21-2012 03:31 AM
I would also love to have BBM integrated into NME
. Should be fairly straight forward adding it as an extension/library to haxe?
12-21-2012 01:20 PM
Hey guys,
I had started work to support BBM as a native extension.
In general, native extensions are easy to set up when you understand how they work. I've posted my progress as well as some tips and explanations, which should help if you guys want to assist in creating an extension:
https://github.com/jgranick/bbm
BBM is a little unique, because it doesn't work only as standard C/C++ calls, but also expects to be able to hook into the event loop of your application. NME 3.4.4 is not designed to allow this, but work was done in the development builds to make this possible. Scoreloop is similar, though I think Scoreloop also supports a version of the API that does not require events.
12-21-2012 01:22 PM
12-22-2012 09:54 AM
> I think Scoreloop also supports a version of the API that does not require events.
What? that can't be true sorry...
12-22-2012 11:34 AM - edited 12-22-2012 11:35 AM
What I meant to say, was a version that did not require integration with the main event loop.
"Case 1" of the above link is what was recently made possible with NME, and actually now available in NME 3.5 that was just released yesterday -- so no development build should be required. "Case 2" of the above link is what I was referring to -- being able to call for events periodically rather than having integration with the main of the application.
NME on BlackBerry leverages SDL, so enabling support for "Case 1" (which is the only way to support BBM, to my knowledge), actually meant making changes to SDL so that these events could bubble through. That work is done now, so let's move ahead