IE9 browser testing is killing me with a unique bug...
  • My gaming performance and adjusted frame rate is great for IE9, but at random moments, I'm getting an error (only in IE9) that causes my game to freeze. The error through IE's web console window says...

    SCRIPT5007: Unable to get value of the property 'gameQuery': object is null or undefined
    jquery.gamequery.js, line 1226 character 21. Here are lines 1223 to 1230 in my gamequery file...

    // Retrieve 'this' offset by looking at the parents
    var itsParent = this[0].parentNode, offsetX = 0, offsetY = 0;
    while (itsParent != $.gameQuery.playground[0]){
    if(itsParent.gameQuery){
    offsetX += itsParent.gameQuery.posx;
    offsetY += itsParent.gameQuery.posy;
    }
    itsParent = itsParent.parentNode;


    -It appears the issue starts inside of (while (itsParent!=...)
    -I have not modified the jquery.gamequery.js file.
    -I am using the same file that avialble for everyone to download.
    -This bug does not appear to occur in Chrome or FireFox

    Thanks for any advice on fixing this!


  • I found the issue by continuously debugging my game with Google chrome's Developer tools! problem solved. Great game engine!
  • Sorry I couldn't take the time to answer you, I'm currently at the onGameStart conference so I don't have much time... I should be able to post on the forum again at the beginning of next week!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!