ux improvements plan

Guide for ux improvements plan

UX Improvements Implementation Plan

Goal

Enhance user experience in Legends of Hastinapur by improving visual feedback, interaction clarity, and information accessibility.

Current State Analysis

The game has a comprehensive UI system with:
  • Main HUD (Combat, Stats, Inventory, Equipment, Prayer, Magic, Quests, Settings tabs)
  • Minimap system
  • Hitsplat visual feedback
  • Dialogue system
  • Shop UI (Guard Captain)
  • Milestone notifications
  • Progression tracker
  • Chat box
  • Target display

Proposed UX Improvements

Priority 1: Visual Clarity & Feedback

1. Enhanced Health/Prayer/Energy Bars

Current: Stats shown in tabs only
Improvement: Add persistent top-left HUD with visual bars
  • Health bar (red) with current/max display
  • Prayer bar (purple/gold)
  • Run energy bar (yellow/green)
  • Visual animations for changes (damage flash, heal pulse)

2. XP Drop Notifications

Current: Only milestone notifications exist
Improvement: Add floating XP drops above player
  • Shows skill icon + XP amount
  • Smoothly fades up and out
  • Stacks multiple drops vertically
  • Color-coded by skill type

3. Action Feedback

Current: Limited visual feedback for actions
Improvement: Add visual cues for:
  • Skill progression (progress bar overlay when woodcutting/mining)
  • Cooldowns (grayed icons, circular timers)
  • Resource depletion warnings
  • Invalid action feedback (red flash, error message)

Priority 2: Information Accessibility

4. Enhanced Tooltips

Current: Basic hover text
Improvement: Rich tooltips showing:
  • Items: stats, requirements, value
  • NPCs: level, drops, aggression status
  • Skills: level requirements, XP to next level
  • Equipment: bonuses breakdown
  • Context-sensitive help

5. Quick Stats Panel

Current: Stats only in dedicated tab
Improvement: Compact expandable panel showing:
  • Current combat stats (ATK/STR/DEF/HP)
  • Active skills with progress bars
  • Quest points
  • Total level
  • One-click access to full stats

Priority 3: Interaction & Usability

6. Improved Inventory Management

Current: Basic 4x7 grid
Improvement: Add:
  • Drag-and-drop between slots
  • Right-click context menus
  • Item stacking display (quantity badges)
  • Search/filter functionality
  • Quick-use keybinds (1-9 for slots)

7. Equipment Loadouts

Current: Manual equipment changes
Improvement: Add:
  • Save/load equipment presets
  • Quick-swap button (melee/ranged/magic)
  • Visual diff when hovering new equipment
  • Auto-equip best gear option

8. Quest Helper

Current: Quest tab shows list
Improvement: Add:
  • Active quest tracker (top-right)
  • Objective checklist with progress
  • NPC location hints on minimap
  • Quick teleport to quest areas
  • Reward preview

Priority 4: Polish & Feel

9. Sound & Animation

Improvement: Add audio/visual polish:
  • Level up fanfare with screen effects
  • Skill action sounds (chop, mine, cook)
  • UI click/hover sounds
  • Smooth transitions between UI states
  • Particle effects for critical actions

10. Accessibility Options

Improvement: Add settings for:
  • UI scale adjustment (75%-150%)
  • Colorblind modes
  • Text size options
  • Toggle animations/particles
  • Keybind customization
  • Audio volume sliders

Implementation Phases

Phase 1: Core Feedback (Days 1-2)

  • Health/Prayer/Energy bars
  • XP drop notifications
  • Basic action feedback

Phase 2: Information (Days 3-4)

  • Enhanced tooltips
  • Quick stats panel
  • Quest helper basics

Phase 3: Interaction (Days 5-6)

  • Inventory drag-drop
  • Equipment loadouts
  • Right-click menus

Phase 4: Polish (Days 7-8)

  • Sound effects
  • Animations
  • Accessibility settings

Technical Approach

New Components/Systems

  • StatusBarsPlugin - Health/Prayer/Energy HUD
  • XpDropPlugin - Floating XP notifications
  • ActionFeedbackPlugin - Progress bars, cooldowns
  • TooltipSystem - Rich context-aware tooltips
  • InventoryDragDrop - Enhanced inventory UX
  • LoadoutManager - Equipment preset system
  • QuestTrackerPlugin - Active quest HUD

Resource Requirements

  • New UI textures (HP bar, icons, overlays)
  • Sound effects library
  • Animation curves/timers
  • Settings persistence (JSON/Ron)

Verification

Manual Testing Checklist

  • Health bar updates correctly on damage/heal
  • XP drops appear for all skill gains
  • Tooltips show correct information
  • Inventory drag-drop works smoothly
  • Equipment loadouts save/load correctly
  • Quest tracker updates on objectives
  • Settings persist across sessions
  • UI scales correctly at different resolutions

Performance Validation

  • Frame rate stable at 60+ FPS with all UI active
  • No UI lag when many elements visible
  • Memory usage within acceptable limits