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

Player UI events #364

Merged
merged 3 commits into from
Nov 29, 2023
Merged

Player UI events #364

merged 3 commits into from
Nov 29, 2023

Conversation

Ymihere03
Copy link
Contributor

@Ymihere03 Ymihere03 commented Nov 28, 2023

Created a UI element that shows timed elements when players get kills and which weapon scored the kill

  • Uses the format: "Killer Name" [weapon icon] "Killed Name"
  • UI Element stays visible for about 8 seconds (480 frames, not user-configurable)
    then is removed automatically
  • The number of events that can display on screen is capped at 20
  • Added config 'hudShowKillFeed'
    • If true, show new kill feed ui element and do not show kill messages in the message box
    • If false, do not show kill feed ui element and show kill messages in the message box

Example screenshots:
image
image

Added internal score events for ball games and zone capture games

  • These events don't have UI notifications yet

Direction arrow style no longer crashes Avara when changed between games

Optional TODO

  • Need better event icons. Current ones don't blend well into the UI
  • Detection for other in game events
  • Need icons for more events: wall/environment crush, ball score, zone control
  • Make sprite file loading more configurable (for aftershock)

@Ymihere03 Ymihere03 merged commit 3aa2c1b into avaraline:main Nov 29, 2023
3 checks passed
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