david-pfx / PuzzleScriptNext

A direct successor to PuzzleScript, building on the work of PuzzleScript Plus, Pattern:Script and others.
http://www.puzzlescriptnext.polyomino.com
MIT License
11 stars 4 forks source link

New sound events #42

Open Stingby12 opened 4 months ago

Stingby12 commented 4 months ago

Check ([ ] -> [x]) all that apply, then describe the issue below:

  • [x] I have searched the tracker for similar issues (including closed ones)
  • [x] I have provided a detailed example for how this feature should work
  • [x] I have provided a use case for this feature, e.g. short description/share link of a game you're making and how you'd use the feature in that game, other things you've tried, edge cases, etc. (if applicable)

Because the current selection is just not enough. All of these suggestions are Game Events only and are based on the level select and pause features.

OpenLevel Triggers when you select a level from the level select screen. This will replace the StartGame sound that also plays when you select a level. CantOpenLevel Triggers when you try to select a locked level from the level select screen. Pause Triggers when the pause screen is loaded. Select Plays everytime you select a button from the title screen, the level select screen and the pause screen. If there's already StartGame or OpenLevel, the sound from these events will play instead. PreviousScreen Similar to TitleScreen, but more powerful. Plays every time you load one screen backwards (Current level -> Level select -> Title screen). This will replace the TitleScreen sound that also plays when you go back to the title screen. (not when you boot up the game)

david-pfx commented 4 months ago

Thanks for the suggestion and the detail. The first four look straightforward, the last less so.

So you think this is something others will use?

Stingby12 commented 4 months ago

This will mostly be used for more advanced stuff let's say, but the OpenLevel and Select ones would be really useful for everyone !