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

Subsprite Rendering #577

Open
pathunstrom opened this issue Feb 15, 2021 · 2 comments
Open

Subsprite Rendering #577

pathunstrom opened this issue Feb 15, 2021 · 2 comments
Assignees
Labels
3.3 target Features and fixes we'd like for 3.3, due March 2024. enhancement

Comments

@pathunstrom
Copy link
Collaborator

pathunstrom commented Feb 15, 2021

Requires #665

Use the new render_walk to draw every sprite in the scene tree.

@AstraLuma
Copy link
Member

Open questions:

  • Are subsprites positioned relative to the parent or the scene?
  • If they're positioned relative to the parent, does that frame of reference rotate with the parent?

@pathunstrom
Copy link
Collaborator Author

Initial pass: I'm only going to support global positioning. I don't want that to be the 'forever' decision.

I can imagine a pattern that allows us to support both fairly simply. I tend to consider relative positioning to be the "advanced" feature, so we could have a flag of some sort (Sprite.relative_positioning for example) that allows the renderer to switch to a relative mode for any given object.

As for that rotation, I feel like the answer should likely be yes, but that's another area where both answers might be correct.

@pathunstrom pathunstrom added the 3.3 target Features and fixes we'd like for 3.3, due March 2024. label Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.3 target Features and fixes we'd like for 3.3, due March 2024. enhancement
Projects
None yet
Development

No branches or pull requests

2 participants