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 AudioComponent #873

Open
AlmasB opened this issue Aug 27, 2020 · 0 comments
Open

Add AudioComponent #873

AlmasB opened this issue Aug 27, 2020 · 0 comments
Labels
codefest23-24 difficulty:medium API design elements, need time to think through help wanted Contributions welcome / high PR acceptance rate type:new feature Adding a feature that isn't currently present

Comments

@AlmasB
Copy link
Owner

AlmasB commented Aug 27, 2020

This is to go to com.almasb.fxgl.dsl.components package.

It can play music or sound by considering the position of entity to which the component is attached and where the viewport is.

To address this issue, first a discussion is needed around potential use cases and how the component is to be used. A possible use case is some background audio which is played (with varying volume) only if the entity is in the viewport, as well as some sound effects that are positional.

@AlmasB AlmasB self-assigned this Aug 27, 2020
@AlmasB AlmasB removed their assignment Oct 13, 2020
@AlmasB AlmasB added help wanted Contributions welcome / high PR acceptance rate difficulty:medium API design elements, need time to think through type:new feature Adding a feature that isn't currently present labels Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codefest23-24 difficulty:medium API design elements, need time to think through help wanted Contributions welcome / high PR acceptance rate type:new feature Adding a feature that isn't currently present
Projects
None yet
Development

No branches or pull requests

1 participant