Open SamTov opened 1 month ago
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!
https://github.com/openjournals/joss-reviews/issues/6739 (just commenting so these get linked :smile: )
@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, but 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.
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.