Skip to content

Conversation

JaskRendix
Copy link
Contributor

@JaskRendix JaskRendix commented Feb 28, 2025

PR splits out the pyscrollgroup part from #62 and adds unittests. Key changes:

  • added a @dataclass called SpriteMeta to organize sprite drawing metadata more cleanly
  • replaced raw tuples in draw() with SpriteMeta objects for readability and extensibility
  • converted the SpriteMeta list back to tuples before passing to the renderer, keeping compatibility intact
  • used getattr() for blendmode to safely handle sprites without it, avoiding exceptions

@JaskRendix JaskRendix force-pushed the pyscroll-group branch 4 times, most recently from 2a166f0 to 123d468 Compare July 25, 2025 13: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.

1 participant