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

Progress and implementation of RcSprite #204

Open
Aelerinya opened this issue Jun 29, 2019 · 1 comment
Open

Progress and implementation of RcSprite #204

Aelerinya opened this issue Jun 29, 2019 · 1 comment

Comments

@Aelerinya
Copy link

I'd like to know. What prevents RcSprite from being published in a new version of rust-sfml ?
I've been struggling for two days over storing a Texture and a Sprite side by side, and I think RcSprite is what I need to not go insane in developing using rust-sfml.

Is it safe to copy the implementation of the branch rcsprite in my code or is it still an incomplete prototype ?
What could I do to help develop this feature ?

@crumblingstatue
Copy link
Collaborator

I'd like to avoid duplicating a lot of code just to have a version of sprite that can work with Rc<Texture>. I just haven't figured out the best way to minimize the code duplication.

Since I am not actively working on rust-sfml at present, I'm open to taking pull requests if someone comes up with a decent design.

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

No branches or pull requests

2 participants