GDevelopApp / GDevelop-extensions

Repository of behaviors, actions, conditions and expressions to be used in GDevelop for creating games
https://gdevelop.io
MIT License
136 stars 53 forks source link

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

Open luthfialdi99 opened 1 week ago

luthfialdi99 commented 1 week ago

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

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

PauseASoundChannelExample.zip

Extension file

PauseSoundNotFocus.zip

github-actions[bot] commented 1 week ago

👋 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 🙏

github-actions[bot] commented 1 week ago

👋 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 🙏

github-actions[bot] commented 1 week ago

👋 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 🙏