Commit Graph
60 Commits
Author SHA1 Message Date
NewHappyRabbitandEvan 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 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
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
NewHappyRabbit a2fa30cee2 Applied comments 2025-02-20 01:46:00 +02:00
NewHappyRabbit e9eb006cea Added dark mode 2025-02-20 00:48:45 +02: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
NewHappyRabbitandEvan f44fd79568 Player can now disable emojis 2025-02-16 12:18:50 -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
evanpelleandGitHub 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
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 95a70dd8d3 bugfix: names flash at corner at start of game 2025-02-11 20:02:34 -08:00
NewHappyRabbit 1e1942ab1c TODO: Keep working 2025-02-12 02:08:29 +02:00
NewHappyRabbit a58c3c7198 Added robot emoji prefix to bot and npc names 2025-02-12 00:29:16 +02:00
NewHappyRabbit 949f68287e Added flags 2025-02-11 23:34:19 +02:00
NewHappyRabbit 9b01f2bb9a Converted and replaced all .png icons with .svg 2025-02-10 07:01:33 +02:00
Evan 963daefdeb allow brackets in names 2025-02-09 11:17:33 -08:00
Evan 4ee37323f9 format codebase with prettier 2025-02-01 12:05:11 -08:00
Evan cd121a5cd4 fix z-index issues 2025-02-01 12:05:11 -08:00
evanpelle 4bbb63fd48 move Game updates to GameUpdate.ts 2025-02-01 12:05:11 -08:00
evanpelle 4034d11015 split Player/Unit from its Views for better separation 2025-02-01 12:05:11 -08:00
evanpelle 06fd66ae9e thread_split: improve icon rendering on names 2025-02-01 12:05:11 -08:00
evanpelle 452f9e6926 thread_split: support emoji display 2025-02-01 12:05:11 -08:00
evanpelle 62a0642b4d thead_split: add is traitor, fix icon scaling issue 2025-02-01 12:05:11 -08:00
evanpelle ab183e4f59 show alliance icon 2025-02-01 12:05:11 -08:00
evanpelle ba654fd7ea thread_split: render crown on first place 2025-02-01 12:05:11 -08:00
Evan e467ab800f name doesn't wrap, can go to player on leaderboard 2025-02-01 12:05:11 -08:00
Evan 5fca2f287b minor perf improvments 2025-02-01 12:05:11 -08:00
Evan 8e442fe9ce use html for rendering text 2025-02-01 12:05:11 -08:00
Evan d5e6667b1f render player info 2025-02-01 12:05:11 -08:00
Evan 37522b6467 have GameRunner calculate Name location 2025-02-01 12:05:11 -08:00
Evan 3e8517363f use GameView in renderers 2025-02-01 12:05:11 -08:00
Mittaniandevanpelle aba8e5dd81 + add validation server side 2024-12-31 13:06:43 -08:00
Mittaniandevanpelle aa01ea7694 + add random bot names 2024-12-31 13:05:22 -08:00
Evan bb968ec6b6 always recalc name, NPCs spawn warships less frequently 2024-12-27 10:59:41 -08:00
Evan 4afe6f4cbf make territory more opaque, space bar makes territory invisible. 2024-12-26 19:41:52 -08:00
Evan 722165c401 adding persistent id 2024-12-17 14:30:16 -08:00
Evan 939761fc76 bugfix: when checking last tile update in calculate clusters and name layer 2024-12-12 20:31:08 -08:00
Evan 1a9170d10b fix shellexecution deleting already inactive unit 2024-12-10 20:28:39 -08:00
evanpelle d5f6a9c1e4 only calculate name placement when territory changes 2024-12-10 20:28:39 -08:00
evanpelle e1d22193c1 render emoji on top of name, better trade notification 2024-12-10 20:28:39 -08:00
Evan 2afecf0f39 create troop slider 2024-11-03 12:37:56 -08:00
evanpelle 180769bf35 create leaderboard, max 18 char name 2024-10-11 20:48:55 -07:00
evanpelle d85370dc19 Use vue, migrate emoji table to vue 2024-10-11 17:47:35 -07:00
evanpelle f4a074a3fb emoji icons show above players (just fire emoji for now) 2024-10-04 13:46:07 -07:00