feat(client): sprite-accurate click selection + overhead damage numbers #63
No reviewers
Labels
No labels
alpha:wave-0
alpha:wave-1
alpha:wave-2
alpha:wave-3
area:assets
area:combat
area:ecology
area:infra
area:render
area:scripting
area:ui
area:world
enhancement
epic
migration
post-alpha
roadmap
tech-debt
type:bug
type:chore
type:design
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
marco/IsoMmo!63
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/click-select-sprite"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two client UX fixes for tall sprites — both surfaced by the training dummy.
Click-to-select by sprite bounds
Target selection hit-tests the cursor against each creature's drawn sprite rectangle (front-most wins when they overlap), instead of matching the exact tile. UO sprites are drawn well above their tile, so clicking the visible body now engages the creature — before, only clicking the base tile worked (the "clicking the dummy's body does nothing" report). The geometry is a pure, unit-tested
SpriteHitBoxinClient.Core.Overhead damage numbers
Floating damage anchors to the target's head (top of sprite) rather than its feet, so damage no longer appears halfway up a tall creature (the dummy report).
Mobile/Playerexpose anOverheadPositionderived from the current frame's anchor.just lint-> 0 warnings.just test-> full suite green (Client.Core 49 incl. 3 new SpriteHitBox tests, GameServer 139).Definition of Done (delta)
just dev).