Skip to content

Implement PowerBarNode — fill, color gradient, show(), hide(), updateFill(_:) #110

Closed

Description

@chowjustin

0.0–0.4 → green; 0.4–0.7 → yellow; 0.7–1.0 → red; xScale matches normalised value; show()/hide() toggle visibility; only visible during PowerState.

Activity

  1. moved this from Backlog to In progress in QuackFight Backlogon May 18, 2026
  2. Vallykrie commented on May 18, 2026

    @Vallykrie
    Member

    Implementation Complete:
    PowerBarNode is now fully implemented with the "Voice Input" asset background. It contains an internal method updateFill(_ value: CGFloat) that clamps the value and adjusts the height of a tinted sprite (green for low, yellow for mid, red for high amplitude). It hides automatically when the throw starts via the UISystem.

  3. moved this from In progress to Done in QuackFight Backlogon May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions