Skip to first unread message

mehmet tosun

unread,
Jul 8, 2015, 9:11:20 AM7/8/15
to haxef...@googlegroups.com
I just called FlxG.debugger.visible = true; 

But watch, log, console and stat panel are shown on my phone.

How can I show only Stats panel and disable others on my phone screen?

And secondly I am using LG G3 and Stats panel is shown very small on my screen thus i cannot read the values.

Any help?

Thanks. 


Gama11

unread,
Jul 8, 2015, 9:43:32 AM7/8/15
to haxef...@googlegroups.com, mhmt...@gmail.com
Try this:

FlxG.debugger.visible = true;

var debugger = FlxG.game.debugger;
debugger.watch.setVisible(false);
debugger.log.setVisible(false);
debugger.console.setVisible(false);
debugger.stats.scaleX = 2;
debugger.stats.scaleY = 2;
debugger.stats.x = 0;

mehmet tosun

unread,
Jul 8, 2015, 9:57:02 AM7/8/15
to haxef...@googlegroups.com, mhmt...@gmail.com
Thank you very much.
It works very well.

My advise is to add this script to HaxeFlixel template file (flixel tpl -n "HelloWorld")

Gama11

unread,
Jul 8, 2015, 9:59:28 AM7/8/15
to haxef...@googlegroups.com, mhmt...@gmail.com
I don't think that's a good idea. The template is supposed to be minimalistic.

However, it might be interesting to have different default values for the visibility of windows on mobile.. The debugger already has different layouts...
Reply all
Reply to author
Forward
0 new messages