Mattward Posted August 17, 2015 Share Posted August 17, 2015 Hi,Touch input works on iOS but not Android? Here is the click code I'm using: enPlayButton = game.add.button(enPlayButtonX, enPlayButtonY, 'enPlayButton', PlayFunction, this);enOptionsButton = game.add.button(enOptionsButtonX, enOptionsButtonY, 'enOptionsButton', OptionsFunction, this); enPlayButton.inputEnabled = true;enOptionsButton.inputEnabled = true; Link to comment Share on other sites More sharing options...
tips4design Posted August 17, 2015 Share Posted August 17, 2015 Hello, I use buttons with CocoonJS and they work. Buttons already have inputEnabled, you don't have to set that. Are you sure the functions are not called? Does it work on PC? Link to comment Share on other sites More sharing options...
Recommended Posts