HaxeFlixel / flixel-ui

GUI library for HaxeFlixel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FlxSlider / FlxUISlider hitbox issue

Vortex2Oblivion opened this issue · comments

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.

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