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

Add support for time-synchronized subtitles via WebVTT #11

Open
TimJentzsch opened this issue Aug 29, 2022 · 0 comments
Open

Add support for time-synchronized subtitles via WebVTT #11

TimJentzsch opened this issue Aug 29, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@TimJentzsch
Copy link
Owner

For cut-scenes and in-game dialogue, it would be very useful to provide support for time-synchronized text. This can serve as captions or subtitles.

The most suitable format to provide that feature seems to be WebVTT. It is used in the web stack for videos, but also adopted in other areas like YouTube. It allows you to specify timed cues, as well as positioning and styling for them.

Since styling is still being developed in bevy_ui and the limited support for font families, simple support for plain-text cues is sufficient for now. Of course, the user should be able to define the subtitles in multiple languages, so this feature should use the localized assets from #10 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant