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 Statements for playing Sound/Music #170

Open
Jeremi360 opened this issue Jun 12, 2024 · 0 comments
Open

Add Statements for playing Sound/Music #170

Jeremi360 opened this issue Jun 12, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request rks_extension extension for RakuScript
Milestone

Comments

@Jeremi360
Copy link
Contributor

Describe Main Idea

It would allow to play SFX and Music form RkScript it could be used with any:

  • AudioStreamPlayer
  • AudioStreamPlayer2D
  • AudioStreamPlayer3D
  • any cutom audio node that have play() and stop() methods implemented

Proposed Implementation in RkScript

# audio node must be added to `audio` node
play AudioStreamPlayerNode
stop AudioStreamPlayerNode
@Jeremi360 Jeremi360 added enhancement New feature or request rks_extension extension for RakuScript labels Jun 12, 2024
@Jeremi360 Jeremi360 added this to the 2.0 milestone Jun 12, 2024
@Jeremi360 Jeremi360 self-assigned this Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rks_extension extension for RakuScript
Projects
None yet
Development

No branches or pull requests

1 participant