You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When shifting a canvas around, it gets clear pixels.
There should be a way to keep canvases from upper levels, and copy the corresponding pixels from there. That should get rid of multiple transparent canvases when some overlapping tiles are being loaded/pruned.
The text was updated successfully, but these errors were encountered:
Instead, it should iterate through this._levels, choose one of the existing upper levels, and perform a drawImage() call to copy pixels from an existing level canvas to the most recent level canvas.
Once that's working, implement removal of the pre-existing level (or make it invisible so it caches data??) and catch race conditions (e.g. tiles being loaded to a non-existing level should fail gracefully)
When shifting a canvas around, it gets clear pixels.
There should be a way to keep canvases from upper levels, and copy the corresponding pixels from there. That should get rid of multiple transparent canvases when some overlapping tiles are being loaded/pruned.
The text was updated successfully, but these errors were encountered: