1 decade ago by Kamend
Hi,
I am new to Impact and was doing some very basic tests, from the Introduction to HTML5 book and I notices that when I run the game inside Ejecta, I get really strange black lines between my tiles, any idea what might be the reason?
At first I was getting the lines, inside the Simulator, but then I turn preRendering on and they disappeared, now they appear only when I try to run the game on my iPhone 4S.
Here is a screenshot:
var height = 160;
var scale = window.innerHeight / height;
var width = window.innerWidth / scale;
canvas.style.width = window.innerWidth;
canvas.style.height = window.innerHeight;
ig.main( '#canvas', MyGame, 60, width, height, 1 );
Thanks for the help
I am new to Impact and was doing some very basic tests, from the Introduction to HTML5 book and I notices that when I run the game inside Ejecta, I get really strange black lines between my tiles, any idea what might be the reason?
At first I was getting the lines, inside the Simulator, but then I turn preRendering on and they disappeared, now they appear only when I try to run the game on my iPhone 4S.
Here is a screenshot:

Thanks for the help