Skip to content

Conversation

@bobtista
Copy link

@bobtista bobtista commented Jan 4, 2026

Summary

  • GUI window transitions now advance at a consistent rate regardless of frame rate
  • 2D world animation icons (healing, promotion, crate collection effects) rise at consistent speed regardless of frame rate

Changes

  • TransitionGroup::m_currentFrame changed from Int to Real to support fractional frame accumulation
  • TransitionGroup::update() scales frame advancement by TheFramePacer->getActualLogicTimeScaleOverFpsRatio()
  • InGameUI world animation Z-rise calculation now scales by the same time factor

Test plan

  • Verify GUI transitions (menu fades, button flashes) play at the same speed at 30fps and higher frame rates
  • Verify 2D world icons (healing icons, veteran stars, crate pickups) rise at consistent speed regardless of frame rate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant