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

Buggy pygame window on Mac Intel #12

Open
SamTov opened this issue May 23, 2024 · 3 comments
Open

Buggy pygame window on Mac Intel #12

SamTov opened this issue May 23, 2024 · 3 comments
Assignees

Comments

@SamTov
Copy link

SamTov commented May 23, 2024

I ran the map_gen.py example on an intel Mac with Python 3.10. The Pygame window is very glitchy, it seems to be reloading the entire window at every update.

@cpondoc
Copy link
Member

cpondoc commented May 26, 2024

Hey @SamTov -- thanks for bringing this up! We'll investigate this on our end, but I will say that in terms of reloading the entire window at every update, that should be expected behavior. Specifically: calling render on our environment should save a snapshot at a singular point in time, so it would make sense that it reloads with each timestamp. Nonetheless, we'll report back!

@mikemahoney218
Copy link

openjournals/joss-reviews#6739 (just commenting so these get linked 😄 )

@SamTov
Copy link
Author

SamTov commented May 29, 2024

@cpondoc I should maybe be a little more specific as I am not sure if we are on the same page. When I say window, I mean the full GUI window, not just the frame of the simulation. From the examples I saw, this is not expected from your code. It looks like the gui is being shut down and re-loaded at each update, not just the frame.

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

No branches or pull requests

4 participants