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

New extension: Pause specific audio channels when game is out of focus #1443

Open
3 tasks done
luthfialdi99 opened this issue Nov 19, 2024 · 3 comments
Open
3 tasks done
Labels
✨ New extension A new extension

Comments

@luthfialdi99
Copy link

luthfialdi99 commented Nov 19, 2024

Description

This extension gives you the ability to pause specific sound channels when the game is out of focus, either because you switch windows, open another tab in the browser, or for any other reason.

When focus is regained, the specified sound channel(s) will resume playback.

How to use the extension

Simply add a "Pause a sound channel if game isn't focused" action on an event sheet, and then specify which sound channel to pause.

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

PauseASoundChannelExample.zip

Extension file

PauseSoundNotFocus.zip

@luthfialdi99 luthfialdi99 added the ✨ New extension A new extension label Nov 19, 2024
Copy link
Contributor

👋 Thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with weird character can cause all kinds of problems and security flaws, our system won't allow file names with other characters than normal latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

1 similar comment
Copy link
Contributor

👋 Thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with weird character can cause all kinds of problems and security flaws, our system won't allow file names with other characters than normal latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

Copy link
Contributor

👋 Thanks for your submission! Unfortunately, all submitted extensions have to meet some minimal quality standard - the extension best practices - and our system has found that your extension does not fully comply 😔. You can find all of those rules on the GDevelop wiki.

The following issues have been found by the system concerning the respect of those best practices by your extension:

  ⟶ ❌ [Extension name consistency]: Extension filename should be exactly the name of the extension (with .json extension). Please rename 'PauseAudioNotFocus.json' to 'PauseSoundNotFocus.json'.

Please update your original submission post with a new zip file containing your extensions updated to follow those guidelines 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ New extension A new extension
Projects
None yet
Development

No branches or pull requests

1 participant