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

Pause gameplay while popups are visible #367

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

Conversation

balloonpopper
Copy link
Contributor

Adds pausing functionality for when popups appear

Unpausing is done in each popup individually as I didn't want the animations in the room to be running until the fade completed, so the restart needed to be in each popup rather than a single call in popochiu_popup.gd

Known bugs that I haven't been able to fix (some help would be appreciated)

  1. Character facing direction isn't corrected until after the game is unpaused. The fixes I've tried haven't worked.
  2. If a character is walking when you save the game - e.g.
			await C.get_OfficerBrown().walk_to_marker("ExitPoint")

the character's walking state is not restored when you load the save. This appears to be a generic save-game bug, and not one in my code.

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

Successfully merging this pull request may close these issues.

1 participant