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

Missing usage of particleClass in FlxEmitter.emitParticle() #226

Open
glcoder opened this issue Apr 21, 2012 · 0 comments
Open

Missing usage of particleClass in FlxEmitter.emitParticle() #226

glcoder opened this issue Apr 21, 2012 · 0 comments

Comments

@glcoder
Copy link

glcoder commented Apr 21, 2012

Affected version: master, AdamAtomic-flixel-8989e50

Since I want to use a custom FlxParticle for FlxEmitter I looked into docs and found that I can use particleClass to override default FlxParticle, I set it and nothing happend. Then I looked into code and saw that emitParticle() don't use particleClass, so I make a patch and now it works perfect.

Patch link: https://gist.github.com/2437885

moly added a commit to moly/flixel that referenced this issue Sep 17, 2012
FlxEmitter now uses the custom particle class to recycle instead of FlxParticle.
Fixed FlixelCommunity#6, AdamAtomic#226
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