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

Replace warned-against use of negative scale with a cleaner flipped texture #2440

Merged

Conversation

pushfoo
Copy link
Member

@pushfoo pushfoo commented Nov 1, 2024

TL;DR: Tiny improvement of opportunity to stop misleading beginners

  • Remove use of negative scale in background_parallax.py
  • Use simpler code based on 3.0 texture flip methods during loading / initialization
  • Remove comments and docstrings about now-deleted negative scale

* Remove use of negative scale in background_parallax.py

* Use simpler code based on 3.0's texture flip methods during loading / initialization

* Remove comments and docstrings advising not to use now-deleted negative scale
@pushfoo pushfoo merged commit be48ee9 into pythonarcade:development Nov 1, 2024
8 checks passed
@pushfoo pushfoo deleted the fix-ugly-parallax-flip-code branch November 1, 2024 21:56
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.

2 participants