1 decade ago by littlefoot
I'm getting an issue in Weltmeister where if I scroll slightly to the right, portions of my layers disappear (and some entire layers). The JS console says:
I've had this problem before where it seemed to be an entity or tile size issue and to fix it have had to make sure that my tile and player entity dimensions are powers of two (though for some entities this seemed to not be required :/) Anyway, now my main tile size is 64px, but I also have a layer with 32px tiles and my collision layer uses 8px tiles.
I noticed that the collision tiles are not being resized to 8px like they seemed to be before, so I've had to use small portions of collision tiles to put into the layer in Weltmeister. This wasn't ideal but has worked so far. Now however when I scroll to the right in Weltmeister a portion of the collision layer and another 64px tile layer disappears. I am also not able to select any tiles by pressing space (nothing appears), though entities still appear to work fine.
As soon as I scroll back to the left everything begins behaving as normal, can select tiles etc.
Has anyone experienced this before? Any idea of how to fix it/what I broke?
Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1
I've had this problem before where it seemed to be an entity or tile size issue and to fix it have had to make sure that my tile and player entity dimensions are powers of two (though for some entities this seemed to not be required :/) Anyway, now my main tile size is 64px, but I also have a layer with 32px tiles and my collision layer uses 8px tiles.
I noticed that the collision tiles are not being resized to 8px like they seemed to be before, so I've had to use small portions of collision tiles to put into the layer in Weltmeister. This wasn't ideal but has worked so far. Now however when I scroll to the right in Weltmeister a portion of the collision layer and another 64px tile layer disappears. I am also not able to select any tiles by pressing space (nothing appears), though entities still appear to work fine.
As soon as I scroll back to the left everything begins behaving as normal, can select tiles etc.
Has anyone experienced this before? Any idea of how to fix it/what I broke?