mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 15:00:43 +00:00
5d9b834696
If this PR fixes an issue, link it below. If not, delete these two lines. Resolves #2516 ## Description: Introduces a state to the Player Info Overlay which simply shows what type of terrain the player is hovering on. This just builds on the principles of continuous feedback when designing UX because players react positively when the game responds to input action. <img width="839" height="846" alt="image" src="https://github.com/user-attachments/assets/4b2969e0-127d-4032-9c49-9cbff9bb2aeb" /> <img width="666" height="602" alt="image" src="https://github.com/user-attachments/assets/5fd15ab1-98b1-472f-a83e-a1ee10338673" /> https://github.com/user-attachments/assets/7e39f53e-6d2e-479e-badd-b41484591b8b ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: bijx