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

FlxEmitter rotation problem #222

Open
cyberpro4 opened this issue Feb 8, 2012 · 0 comments
Open

FlxEmitter rotation problem #222

cyberpro4 opened this issue Feb 8, 2012 · 0 comments

Comments

@cyberpro4
Copy link

I've got some problems with FlxEmitter rotation: I've used some non-square image as particles but during rotation happen two things:

First, the particles was cutted: this was caused by loadRotatedGraphic in makeParticles function: the default AutoBuffer parameter is set to false and there's no way to force it to true via makeParticles() func.

Second, since my bitmap is trasparent I've notice an white solid fill in final rotation bitmap: in FlxSprite::loadRotatedGraphic() the brush variable is constructed with default fill color 0xFFFFFFFF ( solid white ).

At now, I've force these values, but I think this "bug" needs to be fixed.

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

1 participant