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

Feature/post match scoring #296

Merged
merged 27 commits into from
Nov 16, 2023
Merged

Conversation

ThomasJGabrielsen
Copy link
Contributor

@ThomasJGabrielsen ThomasJGabrielsen commented Nov 15, 2023

Adds a scoreboard at the end of the round to tally the points players get.
bilde

Known issues/missing improvements:

  • Does not cover coins picked up in a round, these are automatically added to savings.
  • Text is slightly difficult to read for certain player colors.
  • There is no skip functionality implemented to skip the tallying process.
  • Scoreboard has no animations, may seem a bit to static
  • Image is redundant

ThomasJGabrielsen and others added 23 commits April 29, 2023 13:45
WantedPoster.cs now sets text instead of using SetActive, thus text no longer moves around when new elements appear.
…ring

# Conflicts:
#	Assets/Scenes/CraterTown.unity
Issues with assigning delegates in matchController before onRoundStart triggers is the reason for the new ienumerate
Adjusted Scoreboard
simplify WantedPoster.cs
…ring

# Conflicts:
#	Assets/Scenes/CraterTown.unity
#	Assets/Scripts/Gamestate/MatchController.cs
Made it work.
Removed unnecessary code.
matchController now directs to the scoreboard manager when game ends.
ScoreboardManager.cs then informs MatchController.cs when its complete
so as to move to the next bidding scene.
Removed debug messages.
Added separate camera animations for different scenes
Fixed export settings for Scoreboard.fbx to function with unity coordinate
system
Allowed GrandCanyon to again be chosen as a map.
Fixed animation
Fixed scaling issue on scoreboard
Added sfx when new crime is revealed
Reduced time between revealing crimes to one second
Removed unnecessary audioSources
Fixed the order the code waits for next crime.
Changed root of main camera to no longer be a child of scoreboards.
…ring

# Conflicts:
#	Assets/Scenes/CraterTown.unity
#	Assets/Scenes/GrandCanyon.unity
@ThomasJGabrielsen ThomasJGabrielsen linked an issue Nov 15, 2023 that may be closed by this pull request
@ThomasJGabrielsen ThomasJGabrielsen self-assigned this Nov 15, 2023
Copy link
Contributor

@toberge toberge left a comment

Choose a reason for hiding this comment

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

Nice work! 🎉 Now we'll finally be able to see our cowbots' life savings and blood-stained chips 🤠

However, I do have some concerns:

  • There is no delay after the victor has been determined, possibly making it hard to notice who won in a close-cut standoff as you no longer see the "killed by player x" screen for the last two standing. Consider adding a delay of a couple of seconds before transitioning to the scoreboard animation.
  • The chip entries are displayed very inconsistently:
    image
    Ideally they should stick to the bottom and have consistent spacing.

Overall it should be ready for Spillexpo, but we could squeeze in some polish.

- Consistent placement of the reward entries
- and the reward box sticks to the bottom
- Consistent font sizes
@toberge
Copy link
Contributor

toberge commented Nov 15, 2023

Revamped look:
image

Copy link
Contributor

@toberge toberge left a comment

Choose a reason for hiding this comment

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

I would've liked to review this properly but it seems fine now (and I adjusted the scoreboard UI and delays a little). The choice of "crime" as the term for scoreboard reward entries seems odd and I'd like to see this refactored someday, but we ain't got time for that now 😔

…ring

# Conflicts:
#	Assets/Prefabs/Gamestate/MatchManager.prefab
@ThomasJGabrielsen ThomasJGabrielsen merged commit ac4433e into dev Nov 16, 2023
@ThomasJGabrielsen ThomasJGabrielsen deleted the feature/post-match-scoring branch November 16, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done 🎉
Development

Successfully merging this pull request may close these issues.

Reward screen after completed shooting round
2 participants