1 decade ago by Clyssandre
I have almost completed four ad games with impactjs and they all look good in all browsers including IE9. Though, there is one issue with IE9 and I would be really grateful if someone could shed some light on this issue...
Two games have a (displayed) counter, which is a simple impactJS font object defined in the Game4 class:
On IE9, the counter is never displayed on first load. The game doesn't crash, there is no JS error about it. If I reload the whole site, then the counter is displayed properly after 2-3 seconds (longer than on other browsers). It looks like a cache/preload issue, but I couldn't solve it.
I mind the delay in the display, but I need to solve the issue that the counter is not displayed the very first time the game is loaded.
Does anyone have an idea about this?
Thank you for reading me!
Two games have a (displayed) counter, which is a simple impactJS font object defined in the Game4 class:
Game4Engine = ig.Game.extend({ counter_text: new ig.Font( 'media/maiandra_blue.font.png'), init: function( x,y,settings) { ... } ...
On IE9, the counter is never displayed on first load. The game doesn't crash, there is no JS error about it. If I reload the whole site, then the counter is displayed properly after 2-3 seconds (longer than on other browsers). It looks like a cache/preload issue, but I couldn't solve it.
I mind the delay in the display, but I need to solve the issue that the counter is not displayed the very first time the game is loaded.
Does anyone have an idea about this?
Thank you for reading me!