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

Changed the background image of alphabets to dynamic alphabets #23

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

Conversation

jriyyya
Copy link

@jriyyya jriyyya commented Sep 17, 2023

Similar changes of countries-activity are applied here.

Please Review @chimosky @sourabhaa

activity.py Outdated Show resolved Hide resolved
@chimosky
Copy link
Member

Reviewed d178b1f, not tested.

A better header for 0c0d361 commit message would be Make activity toolbar visible, also leave a new line before writing your message body.

- Before the activity toolbar was not visible
  and was overlayed by the activity in pygame
  version 2.4.0

- Now this issue is being resolved by changing
  how the canvas is made
- The alphabets of the ring were till now
  being placed by an image

- This has been changed and now the alphabets
  are being placed by calculating the points
  according to the screensize

- The new function in utils.py - generate_ellipse_points()
  is used in generating those points
@jriyyya
Copy link
Author

jriyyya commented Sep 18, 2023

@chimosky Thanks, Applied the requested changes

@chimosky
Copy link
Member

For future messages, please leave a new line before your commit message body.

@chimosky
Copy link
Member

Activity toolbar shows when I test master, the code at master does what's expected of it, setup the toolbar before setting the pygame canvas as the activity canvas.

Do you see any errors in the logs when you test?

@jriyyya
Copy link
Author

jriyyya commented Sep 18, 2023

I noticed that the activity toolbar is visible at pygame version 1.9.4 but is is getting overlapped by the game window at pygame version 2.4.0

edit : This happens on master and 414b3f fixes it

Logs were clean

image

@quozl
Copy link
Contributor

quozl commented Sep 18, 2023

Please work with the Pygame source code to find out what has changed, understand the impact of the change, and then make a plan for how to maintain activities so that they can support both versions of Pygame.

@jriyyya
Copy link
Author

jriyyya commented Sep 19, 2023

Thanks for the review @quozl , I will keep that in mind.

and Sorry, I didn't specify correctly, the above pygame version overlapping bug happens on master and 414b3f fixes it.

@chimosky
Copy link
Member

This is what I see when I test master

Screenshot from 2023-09-19 18-31-05

Tested 5fd5535 and the dimensions are off;

Screenshot from 2023-09-19 18-33-14

@chimosky
Copy link
Member

You also syay you changed the background image to dynamic alphabets but your change shows only addition and no removal of the old way of doing things.

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.

3 participants