That's work ! Thanks a lot.
Posts made by numero 15
multiple cameras issue
I would like to use 2 cameras, one for the game (which can zoom/dezoom) and one for the UI. But I can't manage to display my FlxGroup only to one camera or another, whatever I do they always display on both.
var cameraUI: FlxCamera = new FlxCamera(0, 0, Std.int(FlxG.width/2), Std.int(FlxG.height/2)); FlxG.cameras.add(cameraUI); var activeCam : Array <FlxCamera>; activeCam = new Array(); activeCam.push(FlxG.cameras.list); UI.cameras = activeCam;
What am I doing wrong ?