Jump to content

Phaser + WinJS unhandled exception


Recommended Posts

Hello, I have a WinJS Store App with two pages: Page 1: Game Settings, Page 2: The game itself


When I navigate from Page 1 to Page 2 everything works fine. But when I navigate back to Page 1 it throws an unhandled exception in phaser.js, in line 45816:

var box = element.getBoundingClientRect();

I use Phaser.js v.2.2


I attach the WinJS Project files for reference


And a screenshot:



Thanks in advance!



Edit: Propably this happens because CANVAS element is "unloaded" when I navigate to the previous page. It seems that element object is undefined...


Edited by yanliom
Link to comment
Share on other sites


  • Recently Browsing   0 members

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