That's work ! Thanks a lot.
N
numero 15
@numero 15
0
Reputation
2
Posts
347
Profile views
0
Followers
0
Following
Posts made by numero 15
-
multiple cameras issue
Hi,
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[1]); UI.cameras = activeCam;
What am I doing wrong ?