Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

Double Event Firing Bug

Michail_S_
Novice
808 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
808 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
808 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
809 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
808 Views

I added the whole line.

0 Kudos
Reply