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

Adjust FlxMEM object order #2200

Open
MSGhero opened this issue Dec 29, 2018 · 1 comment
Open

Adjust FlxMEM object order #2200

MSGhero opened this issue Dec 29, 2018 · 1 comment

Comments

@MSGhero
Copy link
Member

MSGhero commented Dec 29, 2018

I think there should be a way to adjust the mouse event order in FlxMEM at any time besides reorder().

Current issue in HaxeUI is that the event order depends on the order that core adds events, which can't be relied on it seems, as opposed to the draw order. I can't use reorder since there's no guarantee that the component is actually on the screen, and reorder would delete the register if it's not. Maybe a function that takes a group or sprite group and adjusts the order of its children's registers (basically reorder on a specific container)? Not really sure.

GitHub is helpfully reminding me that this is related to #1237, #1252, #2102, and #2104, aka the "how does FlxSpriteGroup work with mouse events?" issues.

@MSGhero
Copy link
Member Author

MSGhero commented Dec 29, 2018

@ianharrigan it's one of those things

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