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

Fixed Pause Button #48

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

Conversation

JohnFu11er
Copy link
Collaborator

@JohnFu11er JohnFu11er commented Nov 11, 2021

  • Moved pause code to global state manager script
  • Pause key definition is also moved to the global state manager script
  • Added a check into each movement for static variable "GameIsPaused"
  • Looks like it is working
  • Time based physics will be automatically stopped when pause is active
  • Any movement function of a player or boss will need to check the state of the static variable "GameIsPaused"

- Moved pause code to global state manager script
- Added a check into each movement for static variable "GameIsPaused"
- Looks like it is working
- Added central SceneControl script
- Added controls scene
- Added placeholder scene for intro scene
- Added count down timer for placeholder intro scene
- Consolidaed scene controls under a single script SceneControl
- Added generic Countdown.cs script to handle scene transition pauses
- Added Exit scene
- Added EndOfGame scene that masks all gameplay to a black screen
- Small change to Countdown.cs
- Added game quit command and bool for game quit
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