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

Make pygbag python window size responsive #21

Open
KingNook opened this issue Sep 18, 2024 · 0 comments
Open

Make pygbag python window size responsive #21

KingNook opened this issue Sep 18, 2024 · 0 comments
Labels
feature New feature or request

Comments

@KingNook
Copy link
Owner

KingNook commented Sep 18, 2024

Context

It is ugly. I wish for it to be un-uglified. As mentioned in #5

Thoughts / Challenges

I'm not entirely sure where to fix this from.

I could try some sort of dynamic window dimensions in pygame, although this would then require some interaction with pygbag / html / js to grab the browser window size. Also, to deal with rotation (portrait / landscape on mobile) I may have to resize the grid. This pretty much gives all the context for that (and redrawing shouldn't be an issue once I've moved all the 'board drawing' methods from GridRenderer into one mega-method.

@KingNook KingNook added the feature New feature or request label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant