Commit Graph

293 Commits

Author SHA1 Message Date
NewHappyRabbit 9f1106b9b9 Changed the text of the close button to 'Hide' instead of 'X' to keep it consistent across other UI elements 2025-02-20 19:45:10 +02:00
Evan a8b6c88c2a add number of troops to attack in control panel 2025-02-20 06:18:54 -08:00
Evan 1ebafd0b88 highlight nukes 2025-02-19 19:57:33 -08:00
evanpelle 13492ff8c2 Merge pull request #54 from NewHappyRabbit/attack-hotkeys
Decrease power by 10% with hotkey '1', increase by 10% with hotkey '2'
2025-02-19 18:37:22 -08:00
NewHappyRabbit 7ae4f17a35 Decrease power by 10% with hotkey '1', increase by 10% with hotkey '2' 2025-02-20 03:46:43 +02:00
NewHappyRabbit bd2a6cd390 Events can now be hidden and are scrollable. 2025-02-20 02:52:08 +02:00
evanpelle 6e517b5b8b Merge pull request #50 from NewHappyRabbit/darkmode
Added dark mode
2025-02-19 16:29:00 -08:00
Evan 87fe8dae6a anchor alliance requests, make them 15 second duration 2025-02-19 16:19:45 -08:00
NewHappyRabbit a2fa30cee2 Applied comments 2025-02-20 01:46:00 +02:00
evanpelle 87cbde5594 Merge pull request #51 from NewHappyRabbit/disable-radial
Disabled right-click radial menu if player didn't spawn or died
2025-02-19 15:26:54 -08:00
NewHappyRabbit 2fcc6f9a24 Disabled right-click radial menu if player didn't spawn or died 2025-02-20 01:15:15 +02:00
NewHappyRabbit e9eb006cea Added dark mode 2025-02-20 00:48:45 +02:00
Evan 33cb3a7d0a make pop increase rate yellow or green if increasing/decreasing 2025-02-18 19:43:37 -08:00
evanpelle 836e7db5dc Merge pull request #42 from NewHappyRabbit/unsanitize-flags
Unsanitized flags
2025-02-17 16:28:59 -08:00
evanpelle 3562b605cb Merge branch 'main' into exit-lobby-fix 2025-02-17 16:28:12 -08:00
evanpelle 261024abb4 Merge pull request #40 from NewHappyRabbit/mobile-leaderboard
Leaderboard can now be hidden and shown on both desktop and mobile
2025-02-17 16:27:04 -08:00
NewHappyRabbit be3fd87727 Unsanitized flags. Flags that included a dash were being sanitized and not rendering ingame 2025-02-18 01:44:46 +02:00
NewHappyRabbit 6f6078187b Fixed a bug where if you joined a private lobby through a link and then tried to exit the game through the 'X' button, it will reload the page and rejoin the lobby 2025-02-18 01:10:26 +02:00
NewHappyRabbit 3d266beae0 Leaderboard can now be hidden and shown on both desktop and mobile 2025-02-17 22:34:44 +02:00
Sajad Hashemian edac371b55 only display exit confirmation while player is alive 2025-02-17 14:23:37 +01:00
Sajad Hashemian 3d3ad3cece add confirmation dialog before exiting the game 2025-02-17 00:38:40 +01:00
NewHappyRabbit 774a78d143 Added descriptions in build menu 2025-02-16 12:18:50 -08:00
NewHappyRabbit f44fd79568 Player can now disable emojis 2025-02-16 12:18:50 -08:00
Evan f2d50a79b8 capitalize yes/no on traitor display 2025-02-13 15:36:41 -08:00
Evan bba7f6f0e5 bugfix: allow click on events display 2025-02-12 20:36:26 -08:00
Evan 421c6e7841 use tileref instead of MapPos for UnitUpdate 2025-02-12 16:22:02 -08:00
Evan eae53b29cb change flag top margin a bit 2025-02-12 11:59:07 -08:00
Evan ea08856636 fix merge conflict: put / in flag path 2025-02-12 11:48:25 -08:00
Evan 87135d6da2 style flags: make them smaller and put under name 2025-02-12 11:47:15 -08:00
evanpelle 9ee1a94b10 Merge pull request #28 from NewHappyRabbit/SPA
Private lobby urls added. Server now acts as a SPA.
2025-02-12 11:45:54 -08:00
NewHappyRabbit e0aa6b5d9c Ran prettier 2025-02-12 21:30:43 +02:00
Evan 3639997f05 make bot names gray instead of bot emoji 2025-02-12 11:29:49 -08:00
Evan a8c04f11ee bugfix: emoji button to send to all players always active, shorten emoji cooldown 2025-02-12 10:24:32 -08:00
NewHappyRabbit e1a6c5f7bd Merge branch 'main' of https://github.com/openfrontio/OpenFrontIO into SPA 2025-02-12 20:03:26 +02:00
Evan 40966ca3b9 format all files with prettier 2025-02-12 08:28:15 -08:00
Evan c7847e4e44 update atack meta: don't give such large bonus for large attacks 2025-02-11 20:38:26 -08:00
Evan 95a70dd8d3 bugfix: names flash at corner at start of game 2025-02-11 20:02:34 -08:00
Evan 91ca03aff8 style top bar 2025-02-11 16:28:13 -08:00
NewHappyRabbit 1e1942ab1c TODO: Keep working 2025-02-12 02:08:29 +02:00
evanpelle 58c2895826 Merge pull request #19 from NewHappyRabbit/main
Added creative mode. Buildings are free, build instantly and you start with 100k population. Bots now have an emoji in their name
2025-02-11 14:30:34 -08:00
NewHappyRabbit a58c3c7198 Added robot emoji prefix to bot and npc names 2025-02-12 00:29:16 +02:00
Evan 19d0b61869 have events display show outgoing & incoming attacks 2025-02-11 14:09:00 -08:00
NewHappyRabbit 949f68287e Added flags 2025-02-11 23:34:19 +02:00
Evan 78dddaf610 pass attacks from worker thread to main thread 2025-02-11 10:32:32 -08:00
Evan d407d45338 fix control panel string error 2025-02-10 20:00:37 -08:00
Evan b85d0a58ba add back hydrogen bomb 2025-02-10 17:58:02 -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 a0b88f543c Merge https://github.com/openfrontio/OpenFrontIO 2025-02-11 02:06:44 +02:00
NewHappyRabbit 85159b228f Fixed the range sliders for Troops and Attack ratio to not go outside of the input container at 100%.
Removed the custom thumb (ball) element and just styled it using CSS.
2025-02-11 01:46:36 +02:00
evanpelle 2f8862eeeb Merge pull request #14 from PilkeySEK/traitor-yes-no
Make the traitor field in the player info panel display as yes/no instead of true/false
2025-02-10 07:52:29 -08:00