Commit Graph
658 Commits
Author SHA1 Message Date
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
evanpelleandGitHub 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
PilkeySEK 39908531f9 Traitor: true/false -> yes/no 2025-02-10 16:45:00 +01:00
PilkeySEK f339a06233 Add a total of 5 emojis 2025-02-10 15:38:58 +01:00
NewHappyRabbit 9b01f2bb9a Converted and replaced all .png icons with .svg 2025-02-10 07:01:33 +02:00
Evan 67b9c869cf don't pause territory drawing on drag 2025-02-09 20:56:12 -08:00
NewHappyRabbit 5b51f09916 Disabled right-click on Player Panel 2025-02-10 06:44:17 +02:00
NewHappyRabbit 54354f7b14 Disabled right-clicks on all in-game UI elements 2025-02-10 06:31:47 +02:00
Evan 921509a23b fix sliders not getting input bug 2025-02-09 13:51:29 -08:00
Evan 963daefdeb allow brackets in names 2025-02-09 11:17:33 -08:00
Evan 1b6172ee4b bugfix: units not getting removed from screen when getting destroyed 2025-02-09 10:35:03 -08:00
Evan 4f4b6adb80 add 5 second player immunity to prevent spawn kills 2025-02-08 19:34:16 -08:00
Evan 1594a45dac have buildings take time to construct 2025-02-08 13:53:58 -08:00
Evan 0487509c03 reimplement defense posts 2025-02-08 09:56:07 -08:00
Evan 6abcddc140 create player panel 2025-02-05 20:35:21 -08:00
Evan 516ea326d8 remove radial directory 2025-02-04 13:01:41 -08:00
Evan b643a6357b implement mirv 2025-02-04 11:53:41 -08:00
Evan bbf72bd14f simply start population calculation 2025-02-03 12:37:04 -08:00
Evan c109d23f9f combine battleship + destroyer => warship. 2025-02-02 14:31:30 -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
Evan f284603827 make options menu scale better 2025-02-01 12:05:11 -08:00
Evan ca313fd383 have playerinfo stay under optionsmenu 2025-02-01 12:05:11 -08:00
Evan 4266bd8a59 mobile UI: show playerInfo when radial menu activated 2025-02-01 12:05:11 -08:00
Evan 5a1295a0da create topbar for mobile 2025-02-01 12:05:11 -08:00
Evan 0d75765b5c make events more compact 2025-02-01 12:05:11 -08:00
Evan f2d7c34c92 make control panel and events display mobile freindly 2025-02-01 12:05:11 -08:00
Evan ebe50b30e1 make control panel mobile friendly 2025-02-01 12:05:11 -08:00
evanpelle e87139edf6 update controlpanel to use lit 2025-02-01 12:05:11 -08:00
evanpelle 6fbb4221dd have player info use tailwind 2025-02-01 12:05:11 -08:00
evanpelle c2226da6f0 make optionsMenu mobile friendly 2025-02-01 12:05:11 -08:00
evanpelle 545fc3c28e fix center button attack 2025-02-01 12:05:11 -08:00
evanpelle 031a452558 improve front page 2025-02-01 12:05:11 -08:00
evanpelle 633e93f21b use tailwind for frontpage 2025-02-01 12:05:11 -08:00
Evan 348a4a611a add tailwind 2025-02-01 12:05:11 -08:00
Evan a5a2f46099 have client send winner to server 2025-02-01 12:05:11 -08:00
Evan d053a82ff6 better styling for options menu 2025-02-01 12:05:11 -08:00
Evan e010a538cc add game tick timer 2025-02-01 12:05:11 -08:00
Evan f571f8020d make control panel slighlty wider 2025-02-01 12:05:11 -08:00
Evan 9b2a84cb74 separate optionsmenu from playerinfo menu 2025-02-01 12:05:11 -08:00
Evan 047d7ef147 remove defense post from build menu 2025-02-01 12:05:11 -08:00
Evan ffb0b7c172 add player death & quotes when win or lose 2025-02-01 12:05:11 -08:00
Evan 7325cfc7e6 leaderboard shows percentage non-fallout tiles owned 2025-02-01 12:05:11 -08:00
Evan 7a2f4210ed update win condtion: 80% non fallout tiles 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 7d15c0c065 combine Player & MutablePlayer interfaces 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
Evan 96ab7e7f11 bugfix: don't render inactive structures 2025-02-01 12:05:11 -08:00