Commit Graph

23 Commits

Author SHA1 Message Date
Evan 40966ca3b9 format all files with prettier 2025-02-12 08:28:15 -08:00
Evan b3e1b44426 use pngs instead of svgs for structure icons. StructureLayer interates through the image so it needs pixels 2025-02-10 16:27:46 -08:00
NewHappyRabbit 9b01f2bb9a Converted and replaced all .png icons with .svg 2025-02-10 07:01:33 +02:00
Evan 1594a45dac have buildings take time to construct 2025-02-08 13:53:58 -08:00
Evan 4ee37323f9 format codebase with prettier 2025-02-01 12:05:11 -08:00
evanpelle 4bbb63fd48 move Game updates to GameUpdate.ts 2025-02-01 12:05:11 -08:00
evanpelle 4034d11015 split Player/Unit from its Views for better separation 2025-02-01 12:05:11 -08:00
Evan 96ab7e7f11 bugfix: don't render inactive structures 2025-02-01 12:05:11 -08:00
Evan d69a70121f render structures more efficiently 2025-02-01 12:05:11 -08:00
evanpelle ad06b14388 thread_split: have structure layer draw updated structures 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 459fc50dae builds 2025-02-01 12:05:11 -08:00
Evan 7d04d25e6f thread_split: get units working 2025-02-01 12:05:11 -08:00
Evan 3e8517363f use GameView in renderers 2025-02-01 12:05:11 -08:00
evanpelle fbdf26cff8 alt-r to redraw graphics 2024-12-25 17:07:11 -08:00
evanpelle e068a9afc7 implement cities 2024-12-04 16:27:07 -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 982caa3b23 use drawRect instead of putimagedata for units (25% cpu usage reduction) 2024-11-26 13:16:23 -08:00
Evan 9bfdab083c make structure background translucent 2024-11-20 20:47:31 -08:00
Evan e26230275b add missile silo 2024-11-16 11:45:28 -08:00
evanpelle d3d0651659 can capture and destroy ports 2024-11-15 20:43:15 -08:00
Evan 5456988709 Create StructureLayer 2024-11-15 20:43:15 -08:00