Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

v2.4.8 Button onInputOver


brentstrandy
 Share

Recommended Posts

When using v2.4.7 I was able to use onInputOver to change the button's tint. Now, in v2.4.8 the onInputOver is no longer triggered. Also, the mouse pointer no longer turns into a finger pointer on mouse over.

Is anyone else experiencing these issues with the Button in v2.4.8?

Example of code:

ClassX = function()
{
    ...

    this.button = game.add.button(100, 1000, null, actionOnClick, null, 2, 1, 0);
    this.button.onInputOver.add(this.mouseOver, this);
};

ClassX.prototype.mouseOver = function()
{
    this.someSprite.tint = 0x88d5ea;
};

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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