Commit Graph

28 Commits

Author SHA1 Message Date
evanpelle c99cec8f0b add South America map (#184) 2025-03-08 12:11:34 -08:00
BeGj 619891741f linting 2025-03-07 16:53:10 +00:00
Evan 84f067d66b remove small lakes, use largest body of water as ocean 2025-03-03 20:00:12 -08:00
ilan schemoul 373a1aacf7 feat: remove small islands when loading a map
Also updated the map loader to now run on every single map (in the
`maps` array).
Also now maps are loaded concurrently (run every promise at the same
time and wait that they are all finished). As the functions are CPU
bound and not IO bound running concurrently doesn't change much right
now but it can if we use more promise in the function loadTerrainMap
then things will get faster.
2025-03-02 22:47:09 +01:00
Evan db4e520886 fix africa map: add straight of gibraltar 2025-03-02 09:29:10 -08:00
Evan 4ccd6071c6 connect ocean on asia map to allow boats 2025-02-23 20:37:39 -08:00
Evan 4ee37323f9 format codebase with prettier 2025-02-01 12:05:11 -08:00
Evan f0f5bae79f thread_split: convert all tile to tileref 2025-02-01 12:05:11 -08:00
Evan eed90dece5 update europ and world maps 2025-01-05 12:56:04 -08:00
Evan f7fda4fb48 remove single pixel lakes 2025-01-05 12:38:06 -08:00
Evan 903a630953 added Black Sea 2025-01-02 11:16:43 -08:00
Evan 2ceeda051d added suez canal 2024-12-27 10:21:09 -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 951585a8ed NorthAmerica has panama canal, fixed ocean calculation for Oceania 2024-12-12 21:00:10 -08:00
Evan da7637477c add Oceania and North America maps 2024-12-08 20:56:19 -08:00
Evan 30f72a3365 NPCs create battleships, destroyers. start work on miniastar 2024-11-30 12:41:22 -08:00
Evan 3e4f4e42cf created path finding web worker 2024-11-29 11:34:03 -08:00
Evan 8b76717ef0 added Mena 2024-10-30 20:45:08 -07:00
evanpelle 0904125b69 fix terrain map generator 2024-10-11 14:26:37 -07:00
evanpelle bb8827c8ad use europe map 2024-10-09 10:51:56 -07:00
evanpelle 7235b73b6c * deleted old maps
* fixed bug where NPC and Bots had same id
* NPCs spawn near IRL location
* NPCs have different strength (starting troops)
* game has more NPCs than before
* Needs more balancing
2024-10-08 20:42:35 -07:00
evanpelle 9c58f99968 improve map terrain color 2024-08-31 14:43:33 -07:00
evanpelle 8b2c2a13c0 add terrain to map 2024-08-30 22:01:08 -07:00
evanpelle 41d7c77d2d tiles now have lake or ocean method 2024-08-23 17:53:55 -07:00
evanpelle 98cf1b6beb create binary repr of map 2024-08-23 12:08:57 -07:00
evanpelle ac556ee073 preprocess map into binary data 2024-08-22 21:01:40 -07:00
evanpelle d0f4f4d129 create script to pack and upack map data 2024-08-21 08:06:36 -07:00
evanpelle 8bd86d0384 trying to build protos 2024-08-20 08:11:41 -07:00