71 Commits

Author SHA1 Message Date
evanpelle cc9b1a305b add link to tournament (#621)
## Description:

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

<DISCORD USERNAME>

Co-authored-by: evan <openfrontio@gmail.com>
2025-04-29 13:22:29 -07:00
evan a2ba10bdbd show density under player name 2025-04-23 14:26:12 -07:00
Evan ae4f4d3ed6 traitor only lasts 30 seconds, 50% defense debuff 2025-04-17 20:30:52 -07:00
Aotumuri 3eccbaa982 Added User Settings Modal (#379)
## Description:

This PR adds a **User Settings** modal accessible from the main UI.

Currently available settings include:
- Toggle for Dark Mode
- Writing Speed Multiplier (slider)
- Bug Count (number input)
-  Troop and Worker Ratio (slider)
-  Left Click to Open Menu
-  Emoji toggle

Settings are saved via `localStorage` and persist across sessions.
There's also a hidden Easter Egg...

https://discord.com/channels/1284581928254701718/1286741605310533653/1355900228712009908
<img width="787" alt="スクリーンショット 2025-03-31 8 40 08"
src="https://github.com/user-attachments/assets/a9943834-cf40-4fa6-b828-06a8476172da"
/>

Fixes #482 

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

<DISCORD USERNAME>
aotumuri
2025-04-14 11:47:50 -07:00
Aotumuri 745017aee2 Added Gold & Troop donate button (#373)
## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

Changed the icon for the troop donation button, as it looked like it was
donating gold.
I replaced it with a soldier icon to better reflect its function.
Additionally, I updated the icon below it to clearly represent gold
donation instead.

## Please put your Discord username so you can be contacted if a bug or
regression is found:
aotumuri

The cat is because of an extension I have put in. Please ignore it.
<img width="345" alt="スクリーンショット 2025-03-30 10 13 06"
src="https://github.com/user-attachments/assets/9088be1a-57b4-4d10-9507-ca8dc0fcc68c"
/>
<img width="396" alt="スクリーンショット 2025-03-30 10 18 10"
src="https://github.com/user-attachments/assets/2555fd24-0bbc-4b40-8f80-ccf43a1e9a75"
/>

---------

Co-authored-by: Evan <evanpelle@gmail.com>
2025-03-31 10:51:05 -07:00
Readixyee 0891637eb2 MissileSilo cooldown (#309)
changed the sam cooldown to be a general cooldown function and added a
missilesilo cooldown

The function either adds the current tick as the starting point of the
cooldown or sets the cooldown to null and updates the unit. That way
getcooldown function can be used to get back the tick the cooldown was
started and can be compared to the cooldown set in the config.

changed the sam test / added a missilesilo test

---------

Co-authored-by: evanpelle <evanpelle@gmail.com>
2025-03-29 15:19:07 -07:00
Mittanicz 6678d6e36e Image optimalization (#343)
I have minify images and convert them to webp format that reduce size
and keep quality.
Reduce size of bg image since its already blured by css so no need to
have it that big.

Reduce size of thumbs and helper images in helper modals should be fine
since they will not exceed the container size. Even that make them
larger than containter just to be safe
2025-03-26 10:05:45 -07:00
Aotumuri f188af6029 Added SAM icon due to missing asset (#318)
There was a report on Discord about the SAM icon not displaying
correctly.

https://discord.com/channels/1284581928254701718/1353348395506466937/1353348395506466937
After checking the CSS, I found that it was referencing a non-existent
path.
Since there was no dedicated image for the SAM, I created a custom one
to replace it.

Let me know if any adjustments are needed!
Thank you!
<img width="324" alt="スクリーンショット 2025-03-23 22 53 38"
src="https://github.com/user-attachments/assets/157f9b70-615c-4454-baaf-7f0c33e98ecf"
/>
<img width="759" alt="スクリーンショット 2025-03-23 22 42 33"
src="https://github.com/user-attachments/assets/35f3ea51-5804-4007-8e8d-40659f47276a"
/>
2025-03-24 15:47:07 -07:00
Ilan Schemoul 24f25d677a sam is red when reloading (#268) 2025-03-18 14:16:02 -07:00
Ilan Schemoul 3ce5785d1e nuke icon (#207)
- **feat: white nuke icon next to name if player nukes you**
![Capture d'écran 2025-03-10
220439](https://github.com/user-attachments/assets/1b717b2d-bffb-45fc-96ea-2feb57d25de0)
- **feat: red nuke icon if player sends nuke towards you**
- 
![Capture d'écran 2025-03-10
220358](https://github.com/user-attachments/assets/b755fa06-9510-4bd1-8312-7180dc681d85)
2025-03-11 15:44:45 -07:00
evanpelle 4c372b3877 fix build error importing image from extra, rename Extra=>extra (#212) 2025-03-11 08:33:58 -07:00
evanpelle 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
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
Todd Groff c648da2277 Merge branch 'main' into randmap 2025-03-02 16:29:57 -05: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
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
Todd 5763abd30f Added random map option to SinglePlayerModal and HostLobbyModal 2025-03-02 02:46:48 -05: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
Bruno Jurković ae1ca1046f expanded and prettified readme 2025-03-01 21:25:31 +01:00
NewHappyRabbit 1e38e5565c Added instructions in modal in main menu 2025-02-21 00:58:07 +02:00
q8gazy 88f960b4a5 add svg logo with styling 2025-02-12 17:17:42 +03:00
Evan b85d0a58ba add back hydrogen bomb 2025-02-10 17:58:02 -08:00
NewHappyRabbit 9b01f2bb9a Converted and replaced all .png icons with .svg 2025-02-10 07:01:33 +02:00
q8gazy 11a09ce662 new logo 2025-02-09 12:01:44 +03:00
Evan 6abcddc140 create player panel 2025-02-05 20:35:21 -08:00
Evan d989e7b79e better openfront logo 2025-02-01 12:05:11 -08:00
evanpelle 031a452558 improve front page 2025-02-01 12:05:11 -08:00
Evan 95aa222f8e improve front page 2025-02-01 12:05:11 -08:00
Evan dbe3bdd8e5 update front page background 2025-02-01 12:05:11 -08:00
evanpelle e068a9afc7 implement cities 2024-12-04 16:27:07 -08:00
evanpelle 39a54b9a67 add city icons 2024-12-04 13:55:16 -08:00
Evan d133092317 create defense post 2024-12-01 19:54:04 -08:00
Evan e7039d3e07 add defense post unit (no execution) 2024-11-30 20:54:42 -08:00
Evan b20f390c7c update favicon 2024-11-29 14:02:57 -08:00
Evan 8abc5e4aed implement battleship 2024-11-26 10:15:54 -08:00
Evan e4130c1f04 add mushroom cloud svg 2024-11-16 16:52:00 -08:00
Evan e26230275b add missile silo 2024-11-16 11:45:28 -08:00
Evan 5456988709 Create StructureLayer 2024-11-15 20:43:15 -08:00
Evan 4236a580e3 working on port 2024-11-15 20:43:15 -08:00
evanpelle c7951d77c0 adding destroyer 2024-11-15 20:43:15 -08:00
Evan 7196335ebd Make nuke build item. worth 1M 2024-11-03 09:18:29 -08:00
Evan c3c3c27c73 Create build menu 2024-11-02 21:40:03 -07:00
evanpelle a81dbda071 add nuke button 2024-10-19 10:04:40 -07:00
evanpelle 10e3361966 add donate icon 2024-10-06 19:19:21 -07:00
evanpelle 59036d0b1e add disabled icon to radial menu 2024-10-06 13:05:42 -07:00