Commit Graph

640 Commits

Author SHA1 Message Date
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
evanpelle e697738be4 Merge pull request #46 from NewHappyRabbit/fix-mouseup
Fixed mouse move bug, where if your cursor is over an UI element it doesn't fire the mouseUp event
2025-02-19 09:26:13 -08:00
SunnyBoyWTF b00a6b0e93 Update Maps.ts 2025-02-19 10:38:54 -05:00
SunnyBoyWTF e67cffa314 Update Maps.ts to fix bugs 2025-02-19 10:31:41 -05:00
SunnyBoyWTF e12b6b4a27 Merge branch 'main' into main 2025-02-19 10:29:25 -05:00
SunnyBoyWTF 7ab02b4a6a Create Maps.ts to allow branches to be cleanly merged 2025-02-19 10:26:45 -05:00
SunnyBoyWTF 99cb3fc15c Update Maps.ts 2025-02-19 10:20:23 -05:00
NewHappyRabbit 0769710caa Fixed mouse move bug, where if your cursor is over and UI element it doesn't fire the mouseUp event 2025-02-19 10:45:04 +02:00
Evan 33cb3a7d0a make pop increase rate yellow or green if increasing/decreasing 2025-02-18 19:43:37 -08:00
evanpelle 59850a1750 Merge pull request #43 from NewHappyRabbit/lobby-ui
Added map image preview for public lobby. Converted maps background to transparent
2025-02-18 18:12:48 -08:00
Evan f894276ef0 fix execution validation, verify that clientID own playerID to prevent spoofing 2025-02-18 17:13:08 -08:00
Evan 876fb8dbf9 validate persistent id to prevent player spoofing 2025-02-18 13:53:28 -08:00
SunnyBoyWTF 490dcb52a7 Update Maps.ts to include Africa 2025-02-18 13:55:40 -05:00
NewHappyRabbit 9565a0cffa Added map image preview for public lobby 2025-02-18 14:52:09 +02:00
Evan 6a66d0c52d load archived game if not found 2025-02-17 19:30:30 -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
Evan 969886331c create discord login button & flow 2025-02-16 12:18:50 -08:00
NewHappyRabbit f44fd79568 Player can now disable emojis 2025-02-16 12:18:50 -08:00
Evan d9f2b683d7 add eq for zoom, chagne meta give more bonus large players, don't throw exception when attack self 2025-02-15 14:31:18 -08:00
evanpelle 68fef55599 Merge pull request #32 from NewHappyRabbit/flags
Fixed flag modal CSS for mobile
2025-02-14 08:03:33 -08:00
NewHappyRabbit 42ca32d390 Fixed flag modal CSS for mobile 2025-02-14 10:54:29 +02:00
Evan f2d50a79b8 capitalize yes/no on traitor display 2025-02-13 15:36:41 -08:00
Evan 9dc326e06a rename intense difficulty => impossible 2025-02-13 11:51:25 -08:00
NewHappyRabbit 115e40916b Flag button turned into toggle to show/hide flags modal. 2025-02-13 18:11:18 +02:00
NewHappyRabbit 60e74b75bb Merge branch 'main' of https://github.com/openfrontio/OpenFrontIO 2025-02-13 14:43:23 +02:00
Evan bba7f6f0e5 bugfix: allow click on events display 2025-02-12 20:36:26 -08:00
Evan 74bdae1ce7 increase max zoom out for mobile 2025-02-12 20:29:27 -08:00
Evan 421c6e7841 use tileref instead of MapPos for UnitUpdate 2025-02-12 16:22:02 -08:00
NewHappyRabbit aab9c05865 Merge remote-tracking branch 'upstream/main' 2025-02-12 22:55:46 +02:00
NewHappyRabbit 9de6f6d1e2 Forgot to prettier... 2025-02-12 22:54:59 +02:00
NewHappyRabbit 27173092cf Changed the flags to a more cartoony/emojiy? version (Thanks Nour!).
Removed coalitions from the countries.json file.
Seperated the flag from the name input.
2025-02-12 22:53:33 +02:00
Evan f448785476 have client stop polling for public servers after game starts 2025-02-12 12:08: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
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
NewHappyRabbit 303543d246 Lobby urls! Server will server index.html and act as a SPA. 2025-02-12 21:18:23 +02:00
Evan a478e305d1 fix right click bringing up context menu instead of radial menu on bottom of screen 2025-02-12 10:33:08 -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