#25 When all players sleep to pass the night... Soulful Jazz plays globally

Closed
opened 4 years ago by daniel1 · 12 comments
daniel1 commented 4 years ago

As a reward for carrying our beds around with us and dutifully sleeping to keep the monsters at bay....

Much like easter eggs found in FPS games...

As a reward for carrying our beds around with us and dutifully sleeping to keep the monsters at bay.... Much like easter eggs found in FPS games...

Yes Please

Yes Please
NathanS21 commented 4 years ago
Owner

That actually sounds really fun. Where can we find some freely licensed Jazz?

That actually sounds really fun. Where can we find some freely licensed Jazz?
NathanS21 commented 4 years ago
Owner

Implemented in 8a03f91aac I am very willing to replace the audio with something a little shorter and more fitting.

Implemented in 8a03f91aac653954d2e7b0b2040d8ed03abf7e6d I am very willing to replace the audio with something a little shorter and more fitting.
NathanS21 commented 4 years ago
Owner

If somebody wants to take a stab at making the music play ONLY when ALL players use the bed I'll gladly add it. I have no interest in coding that feature myself.

If somebody wants to take a stab at making the music play ONLY when ALL players use the bed I'll gladly add it. I have no interest in coding that feature myself.
Xachman commented 4 years ago

Im taking a stab.

Im taking a stab.
Xachman commented 4 years ago

Added PR https://notabug.org/NathanS21/Epic/pulls/48. This seems to do it for me. If I have 3 players in the game the music only plays when all 3 are in bed. No music if only 2 are in bed.

Added PR https://notabug.org/NathanS21/Epic/pulls/48. This seems to do it for me. If I have 3 players in the game the music only plays when all 3 are in bed. No music if only 2 are in bed.
NathanS21 commented 4 years ago
Owner

Oooh, this looks very promising. I'll have to figure out how to merge your pull request when I have local changes that haven't been committed. Guess it's time to learn a bit more about Git. :)

Oooh, this looks very promising. I'll have to figure out how to merge your pull request when I have local changes that haven't been committed. Guess it's time to learn a bit more about Git. :)
daniel1 commented 4 years ago
Poster

music is currently borked - sounds like 2 tracks playing 200ms off sync

music is currently borked - sounds like 2 tracks playing 200ms off sync
Xachman commented 4 years ago

@NathanS21 in general I put my changes on another branch to keep master clean. I normally use git checkout -b <mybranchname> then commit those changes there. You can merge your branch into master at any time.

@NathanS21 in general I put my changes on another branch to keep master clean. I normally use ***git checkout -b &lt;mybranchname&gt;*** then commit those changes there. You can merge your branch into master at any time.
NathanS21 commented 4 years ago
Owner

I think I got it figured out. Also merged your changes.

I think I got it figured out. Also merged your changes.
Xachman commented 4 years ago

@daniel1 I think you are right about this because going back to my debugging printed lines in skip_night printed twice.

@daniel1 I think you are right about this because going back to my debugging printed lines in skip_night printed twice.
Xachman commented 4 years ago

@daniel1 I tested this with 3 players and the music only ever played once.

@daniel1 I tested this with 3 players and the music only ever played once.
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.