bright-gpu-74537
10/24/2020, 12:15 PMbright-gpu-74537
10/24/2020, 12:15 PMbright-gpu-74537
10/24/2020, 12:16 PMbright-gpu-74537
10/24/2020, 12:16 PMhaxe
if (_memberAdded != null)
_memberAdded.dispatch(Object);bright-gpu-74537
10/24/2020, 12:19 PMbright-gpu-74537
10/24/2020, 1:37 PMbright-gpu-74537
10/24/2020, 1:37 PMhandsome-processor-40961
10/24/2020, 1:39 PMhandsome-processor-40961
10/24/2020, 1:39 PMhandsome-processor-40961
10/24/2020, 2:45 PMhaxelib update haxeui-flixel does it also update the git version if I'm using that?powerful-morning-89
10/24/2020, 2:46 PMhandsome-processor-40961
10/24/2020, 2:46 PMhandsome-processor-40961
10/24/2020, 2:50 PMbrave-kangaroo-30399
10/24/2020, 3:19 PMmemberAdded to HF specifically for haxeui integrationable-action-74275
10/24/2020, 3:20 PMhandsome-processor-40961
10/24/2020, 4:43 PMhandsome-processor-40961
10/24/2020, 4:44 PMable-action-74275
10/24/2020, 4:49 PMable-action-74275
10/24/2020, 4:50 PMhandsome-processor-40961
10/24/2020, 4:50 PMable-action-74275
10/24/2020, 4:50 PMhandsome-processor-40961
10/24/2020, 4:57 PMHaxe
// we call the function on each element, by setting scrollFactor to 0,0 the elements won't scroll based on camera movements
forEach(function(element:FlxSprite) {
element.scrollFactor.set(0, 0);
});
In my hud class which is a FlxTypedGroup<FlxSprite>, so I'm going to try calling it on the components of my uiView after I build them from the xmlhandsome-processor-40961
10/24/2020, 5:04 PMuiView.scrollfactor.set(0, 0); hasn't worked, does anyone know where I can find a list of all the ui components so I can cast them to FlxSprite and set the scrollfactor?able-action-74275
10/24/2020, 5:07 PMable-action-74275
10/24/2020, 5:08 PMhandsome-processor-40961
10/24/2020, 5:08 PMhandsome-processor-40961
10/24/2020, 5:08 PMhandsome-processor-40961
10/24/2020, 5:48 PMHaxe
simCam = new FlxCamera(0, 0, FlxG.width, FlxG.height);
simCam.bgColor = FlxColor.BLACK;
simCam.zoom = 0.6;
simCam.follow(player);
simCam.followLead.set(50, 50);
simCam.followLerp = 0.01;
simCam.setScrollBoundsRect(0, 0, levelData[0].length * TILE_SIZE, levelData.length * TILE_SIZE);
FlxG.cameras.reset(simCam);
uiCam = new FlxCamera(0, 0, FlxG.width, FlxG.height);
uiCam.bgColor = FlxColor.TRANSPARENT;
FlxG.cameras.add(uiCam);
FlxCamera.defaultCameras = [simCam];
for(member in uiView.members){
member.cameras = [uiCam];
}brave-kangaroo-30399
10/24/2020, 6:07 PMbrave-kangaroo-30399
10/24/2020, 6:07 PM