Commit Graph

385 Commits

Author SHA1 Message Date
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
NewHappyRabbit c057f70c45 UI fixes 2025-03-02 09:29:10 -08:00
NewHappyRabbit d29438ae69 Added hotkey 'C' to center camera on player 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
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
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
Evan 5ab75e6389 add support link in win game modal 2025-02-20 19:02:03 -08:00
Evan 7c4d24034a replace end quotes with ads 2025-02-20 14:22:00 -08:00
Evan 6734cbc832 show player type in player info overlay 2025-02-20 13:38:35 -08:00
Evan f8c5d29b36 bugfix: show updated cost when building a unit while another unit of same type is under construction 2025-02-20 10:45:58 -08:00
evanpelle aa76c28bb1 Merge pull request #60 from NewHappyRabbit/mobile-leaderboard
Changed the text of the close button to 'Hide' instead of 'X' to keep it consistent across other UI elements
2025-02-20 10:03:46 -08:00
evanpelle 92c3011c3a Merge pull request #59 from NewHappyRabbit/events-revamped
Added css to keep the container scrolled to the bottom
2025-02-20 10:03:29 -08:00
evanpelle 0e8ab17710 Merge pull request #58 from NewHappyRabbit/namelayer-improvements
Moved flags to the left of the username. Icons above the username. Target icon and emojis still center.
2025-02-20 10:03:11 -08:00
evanpelle 49b4e24b45 Merge pull request #55 from NewHappyRabbit/terrain-toggle
Added a toggle for the Alternate View in the ingame options menu
2025-02-20 10:01:13 -08:00
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
NewHappyRabbit cfc4e5959a Added css to keep the container scrolled to the bottom, so you can see the latest events 2025-02-20 19:36:30 +02:00
NewHappyRabbit 24ca620975 Moved icons above the username. Emojis and target icon are still in the center 2025-02-20 17:39:58 +02:00
NewHappyRabbit 2c644d81fd Moved flags to the left of the username 2025-02-20 16:53:24 +02:00
Evan a8b6c88c2a add number of troops to attack in control panel 2025-02-20 06:18:54 -08:00
NewHappyRabbit fd081e8817 Added a toggle for the Alternate View inside the game menu. Useful for mobile users, since they have no access to the SPACE hotkey 2025-02-20 15:03:17 +02: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