Riddik Posted June 25, 2014 Share Posted June 25, 2014 Hi! I have tried create custom button from simple sprite. Code:var block = game.add.sprite(x, y, 'atlas', 'block');block.inputEnabled = true;block.events.onInputDown.add(blockInputDown, this);function blockInputDown(sprite){ sprite.scale.x = sprite.scale.y = 0.9;}But it doesn't work on Nokia (Windows Phone).Further when the state changes, the game freezes. And everything fine on iPhone/iPad and Android devices. Link to comment Share on other sites More sharing options...
Riddik Posted June 25, 2014 Author Share Posted June 25, 2014 If anyone has a device with Windows Phone, please, tell, do you run the phaser-games? Link to comment Share on other sites More sharing options...
lewster32 Posted June 25, 2014 Share Posted June 25, 2014 I'm afraid I can't help much with this, but I can say that touch events on Windows Mobile has always been a pain in the ass - especially 7, in which touch for web is almost universally broken. I'd probably write off 7 totally or risk losing your hair and your sanity :/ Link to comment Share on other sites More sharing options...
Riddik Posted June 25, 2014 Author Share Posted June 25, 2014 In this case, i don't care about Windows Phone Especially in world are not so many devices with this OS.Thanks for your post! Link to comment Share on other sites More sharing options...
Recommended Posts