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

Music tracks will be played continuously while game speed is set to paused #5644

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Max5377
Copy link
Contributor

@Max5377 Max5377 commented Oct 10, 2023

MusicPlayer will now continue to play tracks while game is paused, instead of playing one track and get silenced until unpaused.
Edit: rebase.
Edit2: rebase.

@nozmajner
Copy link
Contributor

Maybe fade out the music upon pause, and fade in when unpaused?

@Max5377
Copy link
Contributor Author

Max5377 commented Oct 10, 2023

@nozmajner I meant that this happenes when you set your game speed to pause, I can change description to clarify more. But I suppose this can be added, maybe in the other PR?
Edit: Sorry, already stated that. But I think this feature can be added in the pause menu.

@nozmajner
Copy link
Contributor

Oh sorry, I thought it is a report, not a PR

@Max5377 Max5377 changed the title Music tracks will be played continuously while game is paused Music tracks will be played continuously while game speed is set to paused Oct 10, 2023
@impaktor
Copy link
Member

It's not obvious to me that game music should keep playing in paused mode. (What if you paused because your boss is walking towards your computer, when you're sneakily playing pioneer waiting for your work code to compile?)

@Max5377
Copy link
Contributor Author

Max5377 commented Oct 12, 2023

@impaktor
Well... https://youtu.be/CEvzFcqKbXw?feature=shared&t=13

Some thoughts about it:

  1. Make music continue to play, but at the volume of 0 or just get really quiet (10-25% of current volume);
  2. Music stops to play completely, with sound indication (like clock sound in Sims 3 or maybe some wind sound).

@Max5377 Max5377 force-pushed the music-will-continue-to-play-while-paused branch from 81c09fd to eded274 Compare October 19, 2023 18:32
MusicPlayer will now continue to play tracks while game is paused, instead of playing one track and get silenced until game is unpaused.
@Max5377 Max5377 force-pushed the music-will-continue-to-play-while-paused branch from eded274 to 2e7ba26 Compare November 18, 2023 08:43
@impaktor
Copy link
Member

impaktor commented Mar 2, 2024

Lest we forget this PR; @WKFO do you have any objections to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants