Closed lendrick closed 10 years ago
Incidentally, appending this code to the end of markSprites() fixes the issue, but I'm not sure if it's the right way to fix it:
for(i = 0; i < this.items.length; i++) {
if(this.items[i] instanceof Q.TileLayer) {
this.items[i].mark = time;
}
}
This should be fixed in 0.2.0 as tile layers are set to renderAlways - please re-open if it's not
When I try to make a multi-layered 2d tile map, the only layer that draws on the screen is the collision layer. The other layers either aren't loading or aren't being drawn. Here's the code that fails:
Note that the player sprite inserts just fine. Also note that this bug is only showing up in the latest git version and not in 0.1.5. Please let me know if there's any more information that I can provide.