We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e93ed9e commit 0ab5ee9Copy full SHA for 0ab5ee9
packages/web/src/lib/components/PixelWorldCanvas.svelte
@@ -49,11 +49,14 @@ const initialisePixiApp = async () => {
49
resizeTo: canvasContainer,
50
autoDensity: true,
51
resolution: window.devicePixelRatio || 1,
52
+ roundPixels: true,
53
});
54
canvasContainer.appendChild(app.canvas);
55
};
56
57
const initialiseWorld = async () => {
58
+ worldContainer.cullable = true;
59
+
60
// Load and render Tiled map
61
const tiledRenderer = await TiledMapRenderer.fromFile(
62
WORLD_MAP_CONFIG.filePath,
0 commit comments