Hi,
I have been playing with construct for a few weeks. I though t I would try and get a hello world app running on android via cocoon. I put a button and a text box on the screen and set the text value when the button is clicked, (as simple as it gets). Works fine in construct but when I export to cocoon, compile on cocoon and send to my htc one all I get is the text box showing. Not sure how to go about resolving this. Can anyone verify construct + cocoon + android works or offer some advice ?
Develop games in your browser. Powerful, performant & highly capable.
you should read CocoonJS tutorial,
because it's clearly states what is supported
and what's not
buttons are not supported in CocoonJS
Crosswalk supports everything, try that for publishing to Android instead.
Yes cocoonjs works with android, and for your button problem, there are alternatives. The button object can only use "clicks" not user touch input (I think that's how it goes). To be honest I don't even use it. You can have a sprite object instead and then use the on touched object event as the alternative.