How does this still work? Why does it improve performance so much???¿¿
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
<Objects />
|
||||
<ZoneSettings />
|
||||
<TeleportModal v-if="shouldShowTeleportModal" />
|
||||
<TilemapLayerC :tilemap="zoneTilemap as Tilemap" :tileset="tileArray as any" :layerIndex="0" :cull-padding="10" />
|
||||
<!-- <TilemapLayerC :tilemap="zoneTilemap as Tilemap" :tileset="tileArray as any" :layerIndex="0" :cull-padding="3" />-->
|
||||
<Controls :layer="tiles as TilemapLayer" />
|
||||
|
||||
<Container :depth="2">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<TilemapLayer :tilemap="zoneTilemap" :tileset="tileArray" :layerIndex="0" :cull-padding="10" />
|
||||
<!-- <TilemapLayer :tilemap="zoneTilemap" :tileset="tileArray" :layerIndex="0" :cull-padding="0" />-->
|
||||
<Controls :layer="tiles" :depth="0" />
|
||||
</template>
|
||||
|
||||
|
@ -62,7 +62,13 @@ const gameConfig = {
|
||||
name: 'New Quest',
|
||||
width: window.innerWidth,
|
||||
height: window.innerHeight,
|
||||
type: Phaser.AUTO,
|
||||
type: Phaser.AUTO, // AUTO, CANVAS, WEBGL, HEADLESS
|
||||
render: {
|
||||
pixelArt: true,
|
||||
antialias: true,
|
||||
roundPixels: true
|
||||
},
|
||||
banner: false, // Disable Phaser banner
|
||||
resolution: 5,
|
||||
pixelArt: true
|
||||
}
|
||||
|
Reference in New Issue
Block a user