Jump to content

Problem on Windows Phone 7/8


Riddik
 Share

Recommended Posts

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

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...