increpare / PuzzleScript

Open Source HTML5 Puzzle Game Engine
MIT License
903 stars 160 forks source link

Directive to stop music after one play #424

Closed Ayelis closed 6 years ago

Ayelis commented 6 years ago

There should be a way to stop music after one playthrough. Sometimes a soundtrack gets annoying, and it's better to just stop. Sometimes the music was just for the introduction, and you don't want it looping. To this end, there should be a way for the interpreter to have the music stop instead of loop.

Something like noloop_music ought to work.

increpare commented 6 years ago

Youtube embedding is a weird side-feature that I don't want to support too much. ( It keeps on breaking, creates external dependencies, and also gives people an outlet for considerable expenditure of energy that isn't directly mechanical-game-design-focussed (one of the goals of the engine is to keep the focus on puzzle designy parts of game making) )

increpare commented 6 years ago

(suggested work around: upload a file with a large silent pause at the end)

Ayelis commented 6 years ago

I've fixed this issue on my repo in case there's any interest in the community.

Ayelis commented 6 years ago

I thought I broke playlist functionality, but I take it back. I can't get playlists to work the way they seemed to be implemented in Puzzlescript. If you'd like, though, I could implement playlists properly. :stuck_out_tongue: