Skip to content

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

Open
Max5377 wants to merge 1 commit into
pioneerspacesim:masterfrom
Max5377:music-will-continue-to-play-while-paused
Open

Music tracks will be played continuously while game speed is set to paused#5644
Max5377 wants to merge 1 commit into
pioneerspacesim:masterfrom
Max5377:music-will-continue-to-play-while-paused

Conversation

@Max5377

@Max5377 Max5377 commented Oct 10, 2023

Copy link
Copy Markdown
Contributor

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.

@bszlrd

bszlrd commented Oct 10, 2023

Copy link
Copy Markdown
Contributor

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

@Max5377

Max5377 commented Oct 10, 2023

Copy link
Copy Markdown
Contributor Author

@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.

@bszlrd

bszlrd commented Oct 10, 2023

Copy link
Copy Markdown
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
Copy Markdown
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

Max5377 commented Oct 12, 2023

Copy link
Copy Markdown
Contributor Author

@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
@sturnclaw sturnclaw mentioned this pull request Nov 25, 2023
@impaktor

impaktor commented Mar 2, 2024

Copy link
Copy Markdown
Member

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

@fluffyfreak fluffyfreak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a very simple fix good job 👍

@mwerle mwerle mentioned this pull request Jun 15, 2025
4 tasks
@fluffyfreak

Copy link
Copy Markdown
Contributor

This PR does what I'd expect but it appears that it has been heavily discussed in relation to #6165 and now everything has been forgotten about.

I would expect music to keep playing when the game is paused, wider refactorings of the audio subsystem aside.

@impaktor @WKFO any objections to merging 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.

4 participants