HaxeFlixel / HaxeFlixel/flixel-ui
FlxSlider / FlxUISlider hitbox issue
Nobody has claimed this yet.
- Dominant language
- Haxe
- Stars
- 201
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
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;
FlxG.camera.zoom = 0.5;
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with FlxSlider and FlxUISlider and reproduce the camera-zoom cases from the linked demo, testing both HashLink and C++ targets. Compare their hitbox camera handling with the shadowing change in the linked Psych Engine pull request. Done means the slider hitbox remains aligned with the control when the camera zoom changes.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100