You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix window sizing in game of life example (#1985)
* Clean up import order and spacing
* Use more style-compliant main check for running the shader game of life
* Fix grammar in comment
* Update comments and docstrings on implementation
* Rephrase top-level example docstring for clarity
* phrasing tweak
Bug Report
This was originally found by @Xexxar and reported on Discord while testing the 3.12 branch.
System Info:
Arcade versions known to be affected: 2.6, the tip of
development
OS versions tested: Debian 11 and Arch Linux
Actual behavior:
The Game of Life - Shader Version example resizes the window to be
(WIDTH / CELL_SIZE, HEIGHT / CELL_SIZE)
pixels in size.Expected behavior:
The window stays at the full size, but draws the pixels at the correct size.
Steps to reproduce/example code:
For version 2.6:
python -m arcade.experimental.examples.game_of_life_colors
For version 3.0:
python -m arcade.examples.gl.game_of_life_colors
Root Cause
The window is set to the halved size rather than the texture:
arcade/arcade/examples/gl/game_of_life_colors.py
Lines 32 to 39 in 6aa5341
The text was updated successfully, but these errors were encountered: