Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
pushfoo merged 1 commit into
pythonarcade:developmentpythonarcade/arcade:developmentfrom
pushfoo:fix-ugly-parallax-flip-codepushfoo/arcade:fix-ugly-parallax-flip-codeCopy head branch name to clipboard
Nov 1, 2024
Merged

Replace warned-against use of negative scale with a cleaner flipped texture#2440
pushfoo merged 1 commit into
pythonarcade:developmentpythonarcade/arcade:developmentfrom
pushfoo:fix-ugly-parallax-flip-codepushfoo/arcade:fix-ugly-parallax-flip-codeCopy head branch name to clipboard

Conversation

@pushfoo

@pushfoo pushfoo commented Nov 1, 2024

Copy link
Copy Markdown
Member

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 requested a review from DragonMoffon November 1, 2024 07:38
@pushfoo pushfoo merged commit be48ee9 into pythonarcade:development Nov 1, 2024
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.