PilkeySEK
9389005e39
Possibly fix the NaN bug ( #200 )
...
There's a bug that when using translators in your browser it shows
troops/gold/... as `NaN`, I couldn't get a translator to work to
confirm, but this should work
2025-03-10 13:29:36 -07:00
ilan schemoul
f989470cf4
fix: troop ratio different UI and code
2025-03-07 00:18:11 +01:00
ilan schemoul
bd8f72421e
default 95% soldiers
2025-03-06 01:22:00 +01:00
NewHappyRabbit
c057f70c45
UI fixes
2025-03-02 09:29:10 -08:00
Evan
a8b6c88c2a
add number of troops to attack in control panel
2025-02-20 06:18:54 -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
Evan
33cb3a7d0a
make pop increase rate yellow or green if increasing/decreasing
2025-02-18 19:43:37 -08:00
Evan
d407d45338
fix control panel string error
2025-02-10 20:00:37 -08: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
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
5a1295a0da
create topbar for mobile
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
Evan
f571f8020d
make control panel slighlty wider
2025-02-01 12:05:11 -08:00
evanpelle
4bbb63fd48
move Game updates to GameUpdate.ts
2025-02-01 12:05:11 -08:00
Evan
3e8517363f
use GameView in renderers
2025-02-01 12:05:11 -08:00
Evan
722165c401
adding persistent id
2024-12-17 14:30:16 -08:00
Evan
aea22f089c
make more mobile friendly
2024-11-15 20:28:01 -08:00
Evan
7b1bab1e0f
troop/worker slider shows current ratio
2024-11-04 19:17:12 -08:00
Evan
d666a398ec
control panel dissappears when player dies
2024-11-03 20:29:53 -08:00
Evan
60751150bf
added gold, troops, workers slider
2024-11-03 20:11:04 -08:00
Evan
e20cd96df4
make manpower addition rate function of total manpower
2024-11-03 12:38:53 -08:00
Evan
4a3131d382
add max troops to control panel
2024-10-31 15:08:39 -07:00
Evan
3ab9f3b617
add troop send amount bar. can full send!
2024-10-30 17:31:01 -07:00
evanpelle
c08645a7fe
add troop count slider
2024-10-19 20:53:57 -07:00