diff --git a/TODO.txt b/TODO.txt index 8c87d9b2a..836e0877d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -42,9 +42,10 @@ * improve terrain colors DONE 8/23/2024 * BUG: boat doesn't work if on lake if other player not on same lake DONE 8/23/2024 * Allow boats to attack TerraNullius DONE 8/23/2024 -* try vintage theme -* improve menu (keep highlighted when click, allow deselect lobby) +* try vintage theme DONE 8/24/2023 +* Boats can go diagonally * Make lobby background the terrain map +* improve menu (keep highlighted when click, allow deselect lobby) * add shader to dim border * REFACTOR: remove player.info() * REFACTOR: give terranullius an ID, game.player() returns terranullius @@ -54,4 +55,3 @@ * BUG: fix hotreload (priority queue breaks it) * PERF: use hierarchical a* search for boats * Add terrain elevation to map -* Boats can go diagonally \ No newline at end of file diff --git a/src/client/graphics/GameRenderer.ts b/src/client/graphics/GameRenderer.ts index cf357af15..a9dca08d4 100644 --- a/src/client/graphics/GameRenderer.ts +++ b/src/client/graphics/GameRenderer.ts @@ -188,7 +188,7 @@ export class GameRenderer { this.scale /= zoomFactor; // Clamp the scale to prevent extreme zooming - this.scale = Math.max(0.1, Math.min(15, this.scale)); + this.scale = Math.max(0.5, Math.min(20, this.scale)); const canvasRect = this.canvas.getBoundingClientRect(); const canvasX = event.x - canvasRect.left; diff --git a/src/core/configuration/VintageTheme.ts b/src/core/configuration/VintageTheme.ts index d876c408e..d3d6213ad 100644 --- a/src/core/configuration/VintageTheme.ts +++ b/src/core/configuration/VintageTheme.ts @@ -4,9 +4,9 @@ import {Theme} from "./Config"; export const vintageTheme = new class implements Theme { - private background = colord({r: 210, g: 200, b: 180}); - private land = colord({r: 190, g: 170, b: 150}) - private shore = colord({r: 220, g: 200, b: 190}); // Brighter beige for shore + private background = colord({r: 150, g: 140, b: 120}); + private land = colord({r: 195, g: 175, b: 155}) + private shore = colord({r: 210, g: 190, b: 170}); // Brighter beige for shore private water = colord({r: 160, g: 180, b: 200}) private shorelineWater = colord({r: 200, g: 200, b: 205}); // Slightly lighter muted blue for shoreline water