Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by ansimuz

Strangely i get a line in my background layer afetr 6 seconds have passed.

My layer propoerties are as follows:

- tile size:16
- Distance: 2
- repeat: On

Here's a screenshot: http://cl.ly/image/1N30013R2C0X

if i turnoff the repeat the line doesnt appear. Any ideas?

1 decade ago by Joncom

Mind hosting a baked copy of your game somewhere so we can take a look at it live? Maybe something will come to mind when tinkering with something tangible.

1 decade ago by ansimuz

Found the problem.

I needed to set the background to prerended and set the chunksize to the size of the image i this case 96px.

I added this code to the loadlvel function on the main.js

loadLevel: function( level ) {
   ig.game.getMapByName('background').chunkSize = 96;
   ...
}
Page 1 of 1
« first « previous next › last »