diff --git a/assets/screenshot2.png b/assets/screenshot2.png new file mode 100644 index 0000000..b411e4e Binary files /dev/null and b/assets/screenshot2.png differ diff --git a/web/src/components/game/AnimatedAvatar.vue b/web/src/components/game/AnimatedAvatar.vue index 25fc094..9e3f5a3 100644 --- a/web/src/components/game/AnimatedAvatar.vue +++ b/web/src/components/game/AnimatedAvatar.vue @@ -83,8 +83,8 @@ function getTexture() { function getScale() { const tex = getTexture() if (!tex) return 1 - // Scale up: 3.0x tile size - return (props.tileSize * 3.0) / Math.max(tex.width, tex.height) + // Scale up: 3.5x tile size + return (props.tileSize * 3.5) / Math.max(tex.width, tex.height) } const drawFallback = (g: Graphics) => { @@ -96,10 +96,10 @@ const drawFallback = (g: Graphics) => { const nameStyle = { fontFamily: '"Microsoft YaHei", sans-serif', - fontSize: 42, + fontSize: 50, fontWeight: 'bold', fill: '#ffffff', - stroke: { color: '#000000', width: 3.5 }, + stroke: { color: '#000000', width: 4 }, align: 'center', dropShadow: { color: '#000000', diff --git a/web/src/components/game/MapLayer.vue b/web/src/components/game/MapLayer.vue index 8b6fde6..8595baf 100644 --- a/web/src/components/game/MapLayer.vue +++ b/web/src/components/game/MapLayer.vue @@ -165,15 +165,15 @@ function getRegionStyle(type: string) { } const style = { fontFamily: '"Microsoft YaHei", sans-serif', - fontSize: type === 'sect' ? 85 : 100, + fontSize: type === 'sect' ? 60 : 72, fill: type === 'sect' ? '#ffcc00' : (type === 'city' ? '#ccffcc' : '#ffffff'), - stroke: { color: '#000000', width: 7, join: 'round' }, + stroke: { color: '#000000', width: 5, join: 'round' }, align: 'center', dropShadow: { color: '#000000', - blur: 4, + blur: 3, angle: Math.PI / 6, - distance: 4, + distance: 3, alpha: 0.8 } }