rust-sfml icon indicating copy to clipboard operation
rust-sfml copied to clipboard

Progress and implementation of RcSprite

Open Aelerinya opened this issue 6 years ago • 1 comments

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 ?

Aelerinya avatar Jun 29 '19 08:06 Aelerinya

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.

crumblingstatue avatar Jun 30 '19 18:06 crumblingstatue