Skip to content

Center the player name vertically and horizontally#4

Open
ImadSaddik wants to merge 1 commit intochriscourses:mainfrom
ImadSaddik:main
Open

Center the player name vertically and horizontally#4
ImadSaddik wants to merge 1 commit intochriscourses:mainfrom
ImadSaddik:main

Conversation

@ImadSaddik
Copy link

@ImadSaddik ImadSaddik commented Nov 10, 2024

Hi Chris, thank you for that tutorial, I really enjoyed it and I wanted to contribute to you. In this pull request, I calculated the width of the player's name and subtracted it from the x position. This adjustment centers the text horizontally.

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