MRH and GitHub
5a1451b430
Improved options panel ( #328 )
...
Minor improvements to options-panel and player info panel.
- Improved time display
- Added margin to align with leaderboard
- Better option button layout
- Added flag to player info

2025-03-24 10:42:49 -07:00
Readixyee and GitHub
e02361c2f4
Disable nukes option ( #237 )
...
This makes it possible to disable all nukes as well as missile silos
from the game in privat lobbies and singleplayer games
2025-03-21 13:52:36 -07:00
Xuarig and GitHub
2094a29c8b
[UI] Added count on items of the construction menu ( #297 )
...
As suggested on the discord server
[here](https://discordapp.com/channels/1284581928254701718/1349545887801806869 ),
I've added the count of building and permanent units on the construction
menu.
It's included in each button, and follows the background colour of the
button on hover & disabled (see the screen below)

2025-03-20 10:43:26 -07:00
Xuarig and GitHub
00e7425e74
[UI/Bugfix] Fixed the player info overlay displaying false when troops where equal to 0 ( #298 )
...
The player info was:

I fixed it to:

One thing I'm not sure about, is if we want to hide the attacking troops
on 0 or always show it? In this PR it's always shown.
2025-03-20 10:40:52 -07:00
Ilan Schemoul and GitHub
af0177baa1
feat: add a lot more info in player overlay ( #279 )
2025-03-18 20:37:09 -07:00
Ilan Schemoul and GitHub
24f25d677a
sam is red when reloading ( #268 )
2025-03-18 14:16:02 -07:00
Ilan Schemoul and GitHub
275de50fcd
feat: move warship ( #196 )
2025-03-14 16:30:30 -07:00
Ilan Schemoul and GitHub
cef8a61d9c
fix: crash when spectating ( #232 )
...
Nuke icon patch added a crash when spectating game (myPlayer is NULL)
2025-03-12 14:17:11 -07:00
Ilan Schemoul and GitHub
3ce5785d1e
nuke icon ( #207 )
...
- **feat: white nuke icon next to name if player nukes you**

- **feat: red nuke icon if player sends nuke towards you**
-

2025-03-11 15:44:45 -07:00
evanpelle and GitHub
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 Schemoul and GitHub
87d1a8d69d
feat: retreat stops attack + show when ennemy retreats ( #209 )
2025-03-10 17:25:21 -07:00
Ilan Schemoul and GitHub
04833caf4d
fix: crash because wrong path ( #210 )
2025-03-10 17:24:56 -07:00
Ilan Schemoul and GitHub
837d59d929
fix: translation broke numbers ( #211 )
2025-03-10 17:24:36 -07:00
PilkeySEK and GitHub
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
evanpelle and GitHub
5aae1468c2
fix player glow during spawn phase ( #206 )
2025-03-10 13:27:45 -07:00
evanpelle and GitHub
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
evanpelle and GitHub
c99cec8f0b
add South America map ( #184 )
2025-03-08 12:11:34 -08:00
Maeght Loan and GitHub
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 Schemoul and GitHub
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
evanpelle and GitHub
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
evanpelle and GitHub
aa19600a03
Merge pull request #161 from ilan-schemoul/focus-atk
...
focus atk
2025-03-06 15:58:03 -08:00
evanpelle and GitHub
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
evanpelle and GitHub
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
evanpelle and GitHub
447e6238d8
Merge pull request #148 from ilan-schemoul/main
...
default 95% soldiers
2025-03-06 09:03:44 -08:00
evanpelle and GitHub
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
evanpelle and GitHub
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
evanpelle and GitHub
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