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

FlxSlider / FlxUISlider hitbox issue #269

Open
Vortex2Oblivion opened this issue Mar 9, 2024 · 1 comment
Open

FlxSlider / FlxUISlider hitbox issue #269

Vortex2Oblivion opened this issue Mar 9, 2024 · 1 comment

Comments

@Vortex2Oblivion
Copy link

Vortex2Oblivion commented Mar 9, 2024

The bug is that the hitbox of the slider is not on the same camera as the slider itself.
This issue seems to have been fixed in a Psych Engine pull request, shadowing the class here
It happens with both FlxSlider and FlxUISlider and I've tested on HashLink and C++ targets.
I've put together a little demo of the issue here

FlxG.camera.zoom = 1;

image

FlxG.camera.zoom = 0.5;

image

I'm not sure if this is a known issue or not but I couldn't find anything about it besides the Psych Engine pull request.

@Geokureli
Copy link
Member

Geokureli commented Mar 9, 2024

This will be fixed in the next Flixel-ui release but will depend on flixel 5.7.0. I've verified the fix locally.

Edit: FlxSlider is flixel-addons so that needs to be updated, too

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

2 participants