better favicon, improved map

This commit is contained in:
evanpelle
2024-09-01 20:31:17 -07:00
parent c1dc6217a5
commit daaca23e5c
7 changed files with 12 additions and 75 deletions
+6 -5
View File
@@ -74,12 +74,14 @@
* add structured logging DONE 9/1/2024 * add structured logging DONE 9/1/2024
* improve background image DONE 9/1/2024 * improve background image DONE 9/1/2024
* make attack execution stream tiles to pq DONE 9/1/2024 * make attack execution stream tiles to pq DONE 9/1/2024
* center map on game start * center map on game start DONE 9/1/2024
* make mediterranion ocean, fix panama canal * use better favicon DONE 9/1/2024
* remove tiny islands * make mediterranion ocean, fix panama canal DONE 9/1/2024
* remove tiny islands DONE 9/1/2024
* Create exit to menu button * Create exit to menu button
* use better favicon
* show next game in menu * show next game in menu
* BUG: attacks starts slow but gets faster
* BUG: sometimes doesn't connect to lobby
* test & deploy game * test & deploy game
--- v2 Release --- v2 Release
@@ -93,5 +95,4 @@
* BUG: when sending boat to TerraNullius, only takes one tile * BUG: when sending boat to TerraNullius, only takes one tile
* REFACTOR: give terranullius an ID, game.player() returns terranullius * REFACTOR: give terranullius an ID, game.player() returns terranullius
* REFACTOR: ocean is considered TerraNullius ? * REFACTOR: ocean is considered TerraNullius ?
* BUG: sometimes islands don't get removed
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 834 KiB

After

Width:  |  Height:  |  Size: 822 KiB

+3 -3
View File
@@ -12,9 +12,9 @@ export class GameRenderer {
private territoryContext: CanvasRenderingContext2D private territoryContext: CanvasRenderingContext2D
private scale: number = .8 private scale: number = 1.8
private offsetX: number = 0 private offsetX: number = -350
private offsetY: number = 100 private offsetY: number = -200
private context: CanvasRenderingContext2D private context: CanvasRenderingContext2D
+1 -1
View File
@@ -10,7 +10,7 @@
<body> <body>
<div class="content"> <div class="content">
<h1>OpenFront.io</h1> <h1>OpenFront.io</h1>
<h2>(v0.02)</h2> <h2>(v0.2.0)</h2>
<div id="username-container"> <div id="username-container">
<input type="text" id="username" placeholder="Enter your username"> <input type="text" id="username" placeholder="Enter your username">
</div> </div>
+1 -1
View File
@@ -16,7 +16,7 @@ export class DefaultConfig implements Config {
return 100 return 100
} }
numBots(): number { numBots(): number {
return 250 return 350
} }
turnIntervalMs(): number { turnIntervalMs(): number {
return 100 return 100