-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FlxGroup cameras again, this time without breaking FlxSpriteGroup (#2232
) closes #2229
- Loading branch information
1 parent
b6acc33
commit 1063137
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1063137
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't know why but this breaks on mobile, both android/ios, and seems to be working on desktop (tested only on neko).
I think it is something wrong with zoom level.
I have three buttons on the top of my screen acting as toolbar and I trigger those buttons while tapping very far from them.
I have a 3 camera setup:
bgCamera
,fieldCamera
andhudCamera
.I add every camera to
FlxG.cameras
and then setFlxCamera.defaultCameras = [Reg.hudCamera];
The problem is only present on
hudCamera
as the buttons with wrong behavior are shown in this camera.The commit before this is working fine.