[all] Adding Ubuntu Touch support

We’re looking at getting cocos2d-x working on the Ubuntu Touch platform[1] so all the cocos2d-x developers can get their games running on it really easily, but we’ve run into a problem with FMOD, which is binary only. We’d need an alternate solution for sound to build for the Ubuntu Touch platform. What are our options? How can we get round this?

Cheers,
Mike

[1] http://www.ubuntu.com/phone , http://developer.ubuntu.com/get-started/

Sorry, ignore that. Further reading of the code shows we’ll need to implement a “touch” backend.

OpenAL is the best choice, it can be extended with pitch/pan/gain in future (original cocos2d-iphone have 3 additional parameters in playEffect() function, while cocos2d-x hasn’t - I’m working on this issue and going to make pull request soon). Don’t use FMOD, since it’s free only for non-commercial usage (despite that it’s default backend for Linux).

I’m curious: are you using Qt in this port?

It’s possible we might use QGLWidget, as QML is the One True Way™ of writing a Touch app :slight_smile: However we’re in the early stages of investigation at the moment. I only suggested the idea this morning :slight_smile:

No love for ubuntu-touch yet?