8000 Feature - Add text shadow effects for better readability by Hexoso · Pull Request #216 · Valthrun/Valthrun · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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 - Add text shadow effects for better readability #216

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Hexoso
Copy link
Contributor
@Hexoso Hexoso commented Feb 8, 2025

Added text shadow effects to improve readability of overlay text elements across different background colors. The changes include:

  • Added shadow effects to player info layout text
  • Added shadow effects to bomb info text
  • Added shadow effects to spectators list text
  • Shadow color is black with 50% opacity

These changes make the text more readable when displayed over varying background colors and brightness levels in-game.

Preview:
411187424-f0e04ca2-2bc1-4423-83e1-8aa1dd370805

Copy link
Collaborator
@PetrSeifert PetrSeifert left a comment

Choose a reason for hiding this comment

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

Nice, I like the text with shadow.
Could you please make a function draw_text_with_shadow so we reduce the code duplication?

@Hexoso Hexoso requested a review from PetrSeifert March 1, 2025 23:58
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.

2 participants
0