Software Archive
Read-only legacy content
17061 Discussions

Double Event Firing Bug

Michail_S_
Novice
381 Views

In Intel XDK version 2548, I am getting a bug in Phaser where the Emulator is firing off both the mouse event and the touch event for

this.someSprite.events.onInputDown.add(this.someFunction,this)

 

Is there somewhere I can submit a bug report?

 

0 Kudos
1 Solution
Michail_S_
Novice
381 Views

I seem to have found a work-around for this bug by including the following line of code in the beginning of your Phaser game:

 

this.game.input.mouse.capture = true;

 

View solution in original post

0 Kudos
3 Replies
Elroy_A_Intel
Employee
381 Views

Currently, there is no external bug reporting resources for submitting your issues. I have escalated your issue to the Intel XDK Emulator team. Thank you for your feedback.

0 Kudos
Michail_S_
Novice
382 Views

I seem to have found a work-around for this bug by including the following line of code in the beginning of your Phaser game:

 

this.game.input.mouse.capture = true;

 

0 Kudos
Michail_S_
Novice
381 Views

I added the whole line.

0 Kudos
Reply