Commit Graph

109 Commits

Author SHA1 Message Date
evanpelle 57cbf5c55e Refactor: Split config into Config and ServerConfig 2024-12-25 14:04:19 -08:00
evanpelle 111775a3f4 generate mini map offline and load it from binary. this reduces loading time by 30-40% 2024-12-25 11:27:36 -08:00
Evan d39aa245d3 rebalance troops increase & max population 2024-12-23 20:03:34 -08:00
Evan 06c00307e5 make discord link more noticeable, have attack bonus be based on number of troops sent, not player troop count (better full sends) 2024-12-20 20:31:54 -08:00
Evan 5307285d8b give Battleships & Destroyers health, make shells more frequent & larger 2024-12-20 20:31:41 -08:00
Evan 17d75324f8 hit space bar for alternate view 2024-12-20 20:31:24 -08:00
Evan 66fbe8e6b4 don't render player info on top of exit button, render unit type 2024-12-20 20:31:12 -08:00
evanpelle e3ea353b22 log locally for transport related logs to avoid stack overflow 2024-12-18 10:53:26 -08:00
Evan d99b60b477 fix config build error, better logging in game server 2024-12-17 14:30:16 -08:00
evanpelle aff674ebaf fix config compile error 2024-12-17 14:29:31 -08:00
Evan 939761fc76 bugfix: when checking last tile update in calculate clusters and name layer 2024-12-12 20:31:08 -08:00
evanpelle c13bb1eef9 don't display unit deleted message when tranpsort ship lands 2024-12-11 16:49:23 -08:00
evanpelle b97ef32adb only calculate cluster when tile changes 2024-12-10 20:28:39 -08:00
evanpelle f34a8dca13 alert when unit is destroyed 2024-12-10 20:28:39 -08:00
evanpelle 13f186da5f only break alliance if more than 100 tiles destroyed on nuke 2024-12-10 20:28:39 -08:00
evanpelle 63b0e89d8b rebalance unit cost 2024-12-10 20:28:39 -08:00
Evan 0a29a1fe90 attempt fix private game not connecting 2024-12-07 20:55:47 -08:00
Evan 2d2df14ae3 add GameConfig to Game 2024-12-07 09:45:39 -08:00
evanpelle 22b877e85c in progress 2024-12-04 16:46:27 -08:00
Evan 9391dad131 remove worker timeout 2024-12-03 19:20:07 -08:00
evanpelle 330b6b93cb finish defense post 2024-12-03 07:53:18 -08:00
Evan d133092317 create defense post 2024-12-01 19:54:04 -08:00
Evan e7039d3e07 add defense post unit (no execution) 2024-11-30 20:54:42 -08:00
Evan a7e82960d3 update version 2024-11-30 13:49:45 -08:00
Evan 30f72a3365 NPCs create battleships, destroyers. start work on miniastar 2024-11-30 12:41:22 -08:00
Evan 7a961c68b4 bufix: ports execution still active after port dies 2024-11-29 17:10:28 -08:00
Evan 020d193667 create async path finder, trade ships use async when captured 2024-11-29 15:41:13 -08:00
Evan 6cd75d3a9f add how to play link 2024-11-29 13:11:15 -08:00
Evan 2216c34c41 create terrainsearchmap 2024-11-28 12:25:10 -08:00
Evan 61515172c7 make shells free 2024-11-27 14:05:47 -08:00
Evan 982caa3b23 use drawRect instead of putimagedata for units (25% cpu usage reduction) 2024-11-26 13:16:23 -08:00
Evan 8abc5e4aed implement battleship 2024-11-26 10:15:54 -08:00
Evan 98367ac966 spawn fewer tradeships, change destroyer, tradeship graphic 2024-11-25 20:16:08 -08:00
Evan a1b1c5959c bugfix: nuking yourself makes you a traitor 2024-11-25 14:08:24 -08:00
Evan 6fd35b00cd make unit cost scale up w/ # units 2024-11-25 11:42:40 -08:00
Evan 0b062179ac ports increase in price, NPC attack more frequently, tradeship destroyed if dst port destroyed or captured 2024-11-24 21:03:09 -08:00
Evan 3a2f8c9538 have playerexecution check & delete units on death. fixes bug where units weren't being captured when player dies 2024-11-23 10:13:03 -08:00
Evan 1e2b23d2de fixed bug causing crash when capturing trade ship already captured by another destroyer 2024-11-22 20:49:45 -08:00
Evan a2a6654bf5 fixed bug where each intent was duplicated
destroyers find and capture trade ships
ports generate more trade ships
2024-11-22 20:28:58 -08:00
Evan 3f27f6e72c more efficient port calculation, npcs send fewer boats, fewer trade ships 2024-11-22 14:42:48 -08:00
evanpelle bc3cf09960 npcs build ports 2024-11-21 19:53:02 -08:00
Evan f664657e78 fix NPC send boat chances 2024-11-20 20:55:08 -08:00
Evan 0d5f514c48 nukes cause more troop damage 2024-11-17 09:36:12 -08:00
Evan b5a8339eb3 move unit info to config 2024-11-16 21:09:25 -08:00
Evan b559204076 spread out boat pathing over multiple ticks, fix neighborsWrapped bug 2024-11-15 20:43:15 -08:00
evanpelle d3d0651659 can capture and destroy ports 2024-11-15 20:43:15 -08:00
Evan 7b1bab1e0f troop/worker slider shows current ratio 2024-11-04 19:17:12 -08:00
Evan 915359feca updated EventsDisplay to be lit component 2024-11-01 20:12:26 -07:00
evanpelle da3e726b4d make front page mobile friendly, disable leaderboard on mobile 2024-10-17 07:51:12 -07:00
evanpelle be7a01954a fix lobby join bugs 2024-10-15 20:00:56 -07:00