Skip to content

Conversation

@Ruhi14
Copy link

@Ruhi14 Ruhi14 commented Jul 17, 2025

✅ Issue #39 Fixed
I’ve resolved the hover effect issue on the "Play Again" button. The button now changes its background and text color when hovered, improving user experience and interactivity.

🛠️ Changes Made:

Used pygame.mouse.get_pos() to track mouse position.

Applied .collidepoint() to detect hovering.

Dynamically updated button and text colors based on hover state.

📽️ Working Demo:
I've attached a video demonstrating the working hover effect.

Let me know if any refinements are needed!

Screencast.from.2025-07-17.12-32-35.mp4

@Ruhi14 Ruhi14 changed the title feat: add hover effect to 'Play Again' button feat: add hover effect to 'Play Again' button #39 Jul 17, 2025
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