bellusfennec-CooldownUI icon

CooldownUI

A universal UI library for displaying cooldowns, timers, and status indicators above players. Easy to integrate into your ROUNDS mods.

CHANGELOG

Changelog

All notable changes to CooldownUI will be documented in this file.

[1.0.0] - 2025-01-04

Added

  • Initial release
  • CooldownUI.Create() - Create UI attached to transform
  • ShowCooldown() - Display cooldown with color transition (red → green)
  • ShowActive() - Display active duration (cyan)
  • ShowText() - Display custom text with custom color
  • ShowReady() - Display "READY" text
  • ShowStacks() - Display stack count
  • Hide() - Hide the UI
  • Icon support with SetIcon() and ClearIcon()
  • Custom colors with SetColors() and SetShadowColor()
  • Automatic vertical stacking when multiple UIs on same player
  • Dynamic scale compensation - UI size stays constant even when player scales
  • Standardized text size (FONT_SIZE=40, CHAR_SIZE=0.12) for consistency across mods
  • Efficient 4-corner shadow rendering
  • Automatic cleanup on round/game end