I’m in the process of making some tutorials for Cocos2d-HTML5 specifically focused on the BlackBerry PlayBook and BlackBerry 10. I created a virtual controls system so that making Joysticks and Buttons was simplified (my initial tutorials revolve around a game; shocker I know.)
In any case, full articles are coming, but I wanted to share the source in case anybody was interested in checking it out:
There is a Documentation folder with a PDF that describes how to use the framework.
If anybody has any questions about it, or ends up using it, I would be ecstatic to hear how it goes! If anybody sees anything that could use improvements, I’m absolutely happy to take recommendations too.
DISCLAIMER: This is not implemented using the Cocos2d-HTML5 framework ‘touch’ functions. It is using standard HTML5 touch listeners that get assigned to your
element. Due to issues I encountered in my development I had to take that approach. Good news is that it’s not very different, and once we’re able to get unique touch identifiers with Cocos2d-HTML5 on the BlackBerry PlayBook / BlackBerry 10, it won’t be that tricky to convert ControlsOverlay.js to use the standard Cocos2d-HTML5 events instead. But for the time being, that’s the workaround I needed to use.