Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

desktop: Add Controls > Step Once, for frame-by-frame stepping #18500

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

moulins
Copy link
Contributor

@moulins moulins commented Nov 7, 2024

Fast-paced animations can be hard to investigate with the debug tools, as one needs to suspend the playback at exactly the right time.

To alleviate this, this PR adds the Controls > Step Once menu command (shortcut: Ctrl+Space), which allows advancing a suspended movie one frame at a time. Sounds are suppressed while stepping, to prevent unpleasant "sound bursts".

@moulins moulins added A-desktop Area: Desktop Application T-feature Type: New Feature (that Flash doesn't have) labels Nov 7, 2024
@Dinnerbone Dinnerbone enabled auto-merge (rebase) November 14, 2024 16:31
…pping

Calling this method will cause the player to automatically pause when
the next frame completes.
(Keyboard shortcut: Ctrl+Space)

This uses the newly introduced `Player::suspend_after_next_frame`
method.
@Dinnerbone Dinnerbone merged commit 88d6d23 into ruffle-rs:master Nov 14, 2024
22 checks passed
@moulins moulins deleted the ui-step-player branch November 14, 2024 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-desktop Area: Desktop Application T-feature Type: New Feature (that Flash doesn't have)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants