-
Notifications
You must be signed in to change notification settings - Fork 426
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
[Feature request] Ability to use multiple plugins of the same type. #2917
Comments
what happens if you try this, is there an error thrown? |
No errors. Plugin frontend disallows to use multiple Right now I extend |
I added a PR that deprecates |
Right now
PluginFrontEnd
disallows to use more than one plugin with the same type.flixel/flixel/system/frontEnds/PluginFrontEnd.hx
Lines 31 to 35 in b8e7bb5
My personal use case: tween managers for different types of objects to separately control what can tween and what cannot. Flixel allows to manage tweens in a separate way with
FlxTweenManager
, but I cannot use such manager twice with a plugin frontend. So I have to use it maybe in a state and add the manager to the state as a usual flixel object. Sometimes it is fine. But for me more preferable way would be like that:Workaround to bypass type check
The text was updated successfully, but these errors were encountered: