Evan
4c8eeb0cc1
merge branch v0.17.3
2025-03-06 15:46:57 -08:00
evanpelle
447e6238d8
Merge pull request #148 from ilan-schemoul/main
...
default 95% soldiers
2025-03-06 09:03:44 -08:00
evanpelle
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
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
evanpelle
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
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
evanpelle
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
evanpelle
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
ilan schemoul
fc7b08402f
feat: stats system to see number of nukes sent by a player in PlayerPanel
2025-03-02 21:41:00 +01:00
evanpelle
38b762b8bc
Merge pull request #95 from ilan-schemoul/embargoes
...
feat: everyone trade with everyone, anyone can embargo a player to stop trade
2025-03-02 10:58:05 -08:00
Evan
77fa605c0c
update it to win modal ad
2025-03-02 09:39:54 -08:00
Evan
0d5dcf1313
don't use shadow dom on winmodal which prevents ads from displaying
2025-03-02 09:39:54 -08:00
NewHappyRabbit
9b85651ad8
Fixed dark mode class being added in different places (body and html elements).
...
Fixed flag "None" (xx.svg) being able to be set and used ingame.
All menu modals will now close if you click outside of them.
Fixed info icon in instructions.
Added an icon to show the number of new events that happened while the events panel is hidden.
Removed opacity from the svg icons files and added it to the player-icons div, making them have the same opacity and being more visible.
2025-03-02 09:39:36 -08:00
ilan schemoul
e2083b53df
feat: icon over player name to signal embargo
2025-03-02 18:34:22 +01:00
evanpelle
0a077ebf4d
Merge pull request #100 from d3n0x8/scrollAttackRatio
...
add shift + scroll command in HelpModal hotkeys table
2025-03-02 18:34:04 +01:00
NewHappyRabbit
c057f70c45
UI fixes
2025-03-02 09:29:10 -08:00
NewHappyRabbit
a21181c059
Added a button to focus the player that sent an alliance request. Increased bots name color brightness
2025-03-02 09:29:10 -08:00
Evan
e0938253df
send game hash to server each second
2025-03-02 09:29:10 -08:00
ilan schemoul
d6b29a655c
feat: left click now opens menu (to avoid misclicks), shift+left click is attack
...
It happens very frequently that I misclick (meant to click on neighbor,
mean to click modal, sensitive touchpad and many others) and ruin my
game (and another player's). So by default left click opens the menu. As
the attack button is in the middle you can just double click to attack.
You can also shift+click to attack.
I have updated the Help modal to document all that + the existing (just
discovered in the code) ctrl+click to open build menu.
2025-03-02 17:56:14 +01:00
evanpelle
0ac3a92742
Merge pull request #97 from ilan-schemoul/request-alliance-icon
...
feat: add icon when player request alliance
2025-03-01 21:45:00 -08:00
ilan schemoul
c2b90a52a3
feat: add icon when player request alliance
...
To spot who asked alliance on the map add an email icon next to them
2025-03-02 00:13:05 +01:00
Andreas Rey Malissein
1efc95001d
possibility to see the whole scoreboard or the top 5 only + show players troops in leaderboards
2025-03-01 02:29:05 +01:00
NewHappyRabbit
8e9757e1ae
UI fixes
2025-02-26 21:26:42 +02:00
evanpelle
9e4b1f625c
Merge pull request #1 from openfrontio/alliance-request-focus
...
Button to focus the player that sent an alliance request.
2025-02-25 13:43:46 -08:00
NewHappyRabbit
f908e14708
Added a button to focus the player that sent an alliance request. Increased bots name color brightness
2025-02-25 22:08:41 +02:00
Evan
3fa97ed686
send game hash to server each second
2025-02-25 11:49:07 -08:00
evanpelle
96243175ce
Merge pull request #80 from NewHappyRabbit/build-menu
...
Increased build buttons height
2025-02-24 13:26:21 -08:00
NewHappyRabbit
2ef0ca0c23
Increased build buttons height
2025-02-24 23:18:25 +02:00
NewHappyRabbit
ea2b67d601
Added 5 new emojis
2025-02-24 21:21:34 +02:00
evanpelle
d010577fad
Merge pull request #68 from seanlowe/main
...
allow closing the radial or build menu with the esc key
2025-02-22 19:13:30 -08:00
evanpelle
7be24b898a
Merge pull request #66 from NewHappyRabbit/leaderboard-padding
...
Leaderboards CSS fixes
2025-02-22 19:12:40 -08:00
Sean Lowe
13a0593689
allow closing the radial or build menu with the esc key
2025-02-21 14:56:19 -07:00
NewHappyRabbit
7138b694f9
Trimmed player names to avoid overflow and scrollbar
2025-02-21 15:32:33 +02:00
NewHappyRabbit
5f09d960af
Removed padding on mobile
2025-02-21 15:18:31 +02:00
NewHappyRabbit
0729c8d18a
Fix: Mobile users cant spawn
2025-02-21 14:38:13 +02:00
Evan
5898f0360c
floor renderNumber(), have buildmenu refresh on tick
2025-02-20 21:15:54 -08:00