
CooldownUI
A universal UI library for displaying cooldowns, timers, and status indicators above players. Easy to integrate into your ROUNDS mods.Details
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 transformShowCooldown()- Display cooldown with color transition (red → green)ShowActive()- Display active duration (cyan)ShowText()- Display custom text with custom colorShowReady()- Display "READY" textShowStacks()- Display stack countHide()- Hide the UI- Icon support with
SetIcon()andClearIcon() - Custom colors with
SetColors()andSetShadowColor() - 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