Commit Graph
583 Commits
Author SHA1 Message Date
evanpelleandGitHub 4c372b3877 fix build error importing image from extra, rename Extra=>extra (#212) 2025-03-11 08:33:58 -07:00
Evan 0597622a4a don't show ads on winlose menu 2025-03-10 19:46:51 -07:00
Ilan SchemoulandGitHub 87d1a8d69d feat: retreat stops attack + show when ennemy retreats (#209) 2025-03-10 17:25:21 -07:00
Ilan SchemoulandGitHub 04833caf4d fix: crash because wrong path (#210) 2025-03-10 17:24:56 -07:00
Ilan SchemoulandGitHub 837d59d929 fix: translation broke numbers (#211) 2025-03-10 17:24:36 -07:00
PilkeySEKandGitHub 9389005e39 Possibly fix the NaN bug (#200)
There's a bug that when using translators in your browser it shows
troops/gold/... as `NaN`, I couldn't get a translator to work to
confirm, but this should work
2025-03-10 13:29:36 -07:00
evanpelleandGitHub 5aae1468c2 fix player glow during spawn phase (#206) 2025-03-10 13:27:45 -07:00
evanpelleandGitHub 33292aec5c feat: replay archived games, gamestate hash verification (#195)
create endpoint to load archived game. when joining game client first
checks if the game is active, if not it requests the game archive from
the server. the archive is sent to LocalServer to replay the game
locally. Every 10 ticks a hash is stored on the archive, and during
replay the LocalServer verifies this hash.
2025-03-09 14:24:39 -07:00
84951fed9f Sam anti nuke missile launcher (#176)
now with better name

---------

Co-authored-by: evanpelle <evanpelle@gmail.com>
2025-03-09 13:25:51 -07:00
evanpelleandGitHub c99cec8f0b add South America map (#184) 2025-03-08 12:11:34 -08:00
Maeght LoanandGitHub e1ed8dbe36 Boat attack event (#177)
Allow user to focus on outgoing boats

Partial #133 


https://github.com/user-attachments/assets/0e287bf5-71bb-4def-a3ca-f0b652ed6d69
2025-03-08 10:44:27 -08:00
Ilan SchemoulandGitHub afe4f85919 fix: warship icon (#178) 2025-03-08 10:27:16 -08:00
ilan schemoul 1b76c46bc5 feat: remove LocalPersistantStats so we locally save GameRecords
GameRecords also now include PlayerStats
2025-03-08 17:39:41 +01:00
Evan 25224ed749 null check on warship target unit 2025-03-07 10:25:31 -08:00
BeGj 619891741f linting 2025-03-07 16:53:10 +00:00
koffielyder a62b37313f refactor 2025-03-07 15:57:10 +01:00
koffielyder e4cea653c6 Added focusID to event to focus on player on click 2025-03-07 15:34:24 +01:00
evanpelleandGitHub d0359a2db4 Merge pull request #149 from UnBuiltTree/icon-remake
Icon Remake
2025-03-06 18:49:19 -08:00
UnBuiltTree 919e6ff9a4 Icon adjustments 3 2025-03-06 20:01:29 -06:00
evanpelleandGitHub aa19600a03 Merge pull request #161 from ilan-schemoul/focus-atk
focus atk
2025-03-06 15:58:03 -08:00
evanpelleandGitHub aa96e98fb3 Merge pull request #160 from ilan-schemoul/fix-troo
fix: troop ratio different UI and code
2025-03-06 15:57:30 -08:00
evanpelleandGitHub 974d606923 Merge pull request #159 from ilan-schemoul/save-stats
feat: save stats to local storage
2025-03-06 15:57:00 -08:00
Evan 4c8eeb0cc1 merge branch v0.17.3 2025-03-06 15:46:57 -08:00
ilan schemoul 7670b77b6c feat: button to focus on attacker when under attack 2025-03-07 00:38:53 +01:00
ilan schemoul f989470cf4 fix: troop ratio different UI and code 2025-03-07 00:18:11 +01:00
evanpelleandGitHub 447e6238d8 Merge pull request #148 from ilan-schemoul/main
default 95% soldiers
2025-03-06 09:03:44 -08:00
evanpelleandGitHub ef52af0dda Merge pull request #147 from ilan-schemoul/stop-trading-txt
feat: rename embargo to start/stop trading
2025-03-06 09:03:13 -08:00
UnBuiltTree 7b93bc8038 Fort Icon Alt2 2025-03-06 08:30:01 -06:00
UnBuiltTree aa85da97d3 Icon Adjustments 2025-03-06 08:19:36 -06:00
UnBuiltTree 89326baa37 Updated StructureLayer and GameMap for Remake of Icons, added extra building png icons resources. 2025-03-05 21:29:19 -06:00
ilan schemoul bd8f72421e default 95% soldiers 2025-03-06 01:22:00 +01:00
ilan schemoul 264bfa0c2c feat: rename embargo to start/stop trading 2025-03-06 01:04:25 +01:00
ilan schemoul 398d354702 feat: save stats to local storage
Victory lose, player stats, lobby config are stored to local storage
(for later use)
2025-03-06 01:00:19 +01:00
evanpelleandGitHub 7d79c299f4 Merge pull request #143 from ilan-schemoul/warship-target
feat: WarShips red color outside if target current player
2025-03-04 15:53:47 -08:00
ilan schemoul d2208755c4 feat: WarShips red color outside if target current player
Hard to know when warship captures your trade so if they target one of
your trade or war ship they are highlighted in red.
Known limitation: doesn't work well if the WarShip is already in red
(player's color)
2025-03-05 00:45:35 +01:00
evanpelleandGitHub 87d5172adb Merge pull request #139 from BeGj/fix/click-outside-map-for-findWarshipsNearCell
handle findWarshipsNearCell (unhandled exception) when clicking outside the map
2025-03-04 06:33:37 -08:00
BeGj 2685891e7a checks if valid coord before referencing the tile. 2025-03-04 14:30:31 +00:00
BeGj abf79f4c8d console.debug is unecessary, code comment instead. 2025-03-04 12:25:01 +00:00
BeGj de07fd0b4f removed isValidCoord in onMouseUp 2025-03-04 12:24:35 +00:00
BeGj 276eee1152 validates coordinates in onMouseUp 2025-03-04 12:12:20 +00:00
BeGj a60bef97f0 reverted organized imports 2025-03-04 12:06:42 +00:00
BeGj fe9eb8700c handle findWarshipsNearCell when clicking outside the map 2025-03-04 12:03:30 +00:00
ilan schemoul 9a1f916f4d feat: cancel attack
Canceling attack takes time and incurs a malus (loose some troops).
Also prettier fixed a file HostLobbyModal.
2025-03-03 22:06:35 +01:00
evanpelleandGitHub af802c4ad0 Merge pull request #102 from BrunoJurkovic/warship-selection
Warship Selection System
2025-03-02 20:11:11 -08:00
Bruno Jurković f84a18aa95 prevent selecting other players' warships 2025-03-02 23:31:25 +01:00
Bruno Jurković 3d4ea515de refactor: move selection rendering to dedicated UILayer 2025-03-02 23:31:19 +01:00
Bruno Jurković 1d7b03dde7 Reusable clearSelectionBox method, modified terrain redraw 2025-03-02 23:30:50 +01:00
Bruno Jurković c3dfcc63a5 Added warship selection mechanic 2025-03-02 23:30:47 +01:00
ilan schemoul 0372abe548 fix: crash if trying to view game without being a player 2025-03-02 22:52:42 +01:00
evanpelleandGitHub db3f62d0b1 Merge pull request #88 from ilan-schemoul/click
Left click now open menu (double click or shift+click to attack)
2025-03-02 13:38:09 -08:00