Closed aymericdelab closed 19 hours ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
eternum | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 20, 2024 10:59am |
eternum-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 20, 2024 10:59am |
The pull request introduces modifications to the WorldmapScene
class in the Worldmap.ts
file. Key changes include a simplified sound playback logic for marching units, which now plays a specific sound unconditionally during army movement. Additionally, adjustments were made to entity selection handling, hexagon interactions, and UI state subscriptions to improve clarity and efficiency. The overall control flow remains unchanged, but the interaction processes have been refined for better functionality related to army movements and world map interactions.
File | Change Summary |
---|---|
client/src/three/scenes/Worldmap.ts | - Simplified sound playback logic for army movement. - Adjusted clearEntitySelection method for better highlight and travel path management.- Updated onHexagonClick for streamlined structure placement and hex selection.- Enhanced constructor for improved UI state subscription. |
In the world where armies march,
Sounds now play without a larch.
Hexes clear, selections bright,
A dance of units, a joyful sight!
With each click, the map's alive,
In this realm, our dreams will thrive! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Failed to generate code suggestions for PR
Summary by CodeRabbit
New Features
Bug Fixes
Refactor