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

Ch9 - DialogBox component with Scoring Results #95

Merged
merged 23 commits into from
Jan 22, 2022
Merged

Ch9 - DialogBox component with Scoring Results #95

merged 23 commits into from
Jan 22, 2022

Conversation

jelster
Copy link
Owner

@jelster jelster commented Jan 4, 2022

This PR contains features and functionality that complete the full game life-cycle by adding a scoring results screen and computing total scores over the game phases.

Additional enhancements include

  • (Route planning) Display a confirmation dialog upon arrival with option to continue to launch or retry - resolves On Cargo Arrived, Player should be presented with choice to confirm or reset route #80
  • Adds scoring computations for route, encounters, and cargo condition
  • onDestroyed observable added to Truck component. Fired when currentHealth <= 0
  • currentHealth property added to Truck component, fires onDestroyedObservable when set to <= 0
  • Added currentState DRIVING_STATE enum to spaceTruckerDrivingScreen to track various states during gameplay
  • Added onRouteCompleteObservable, onExitObservable to spaceTruckerDrivingScreen to allow signalling to application for exit, screen change
  • SpaceTruckerDrivingScreen tracks transit time
  • Scoring dialog displays on driving phase truck successfully reaching end point (within epsilon)
  • Scoring coroutine introduced to show tallying of scores along with sound effect
  • Adds DialogBox GUI component
  • SpaceTruckerSoundManager can read and use the new base level and rate values from spaceTruckerSoundMap

@jelster jelster added this to the v1.0 Release milestone Jan 4, 2022
@github-actions
Copy link

github-actions bot commented Jan 4, 2022

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-river-0b8108510-95.centralus.azurestaticapps.net

@github-actions
Copy link

github-actions bot commented Jan 8, 2022

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-river-0b8108510-95.centralus.azurestaticapps.net

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-river-0b8108510-95.centralus.azurestaticapps.net

@jelster jelster requested a review from RaananW January 22, 2022 18:14
@jelster
Copy link
Owner Author

jelster commented Jan 22, 2022

Merging, but may revisit branch after TR

@jelster jelster merged commit 346c112 into develop Jan 22, 2022
@jelster jelster linked an issue Jan 30, 2022 that may be closed by this pull request
@jelster jelster removed a link to an issue Jan 30, 2022
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.

On Cargo Arrived, Player should be presented with choice to confirm or reset route
1 participant