Normally i initialize dconsole and then add a root (sprite) over the top of it... This means the console never shows as its created underneath a full screen sprite.
This can be solved pretty easy, by adding this line:
Nice, there was already toFront method using parent.swapChildren.. using setChildIndex is better and using it when show console also sounds good unless someone complains in the future.
Normally i initialize dconsole and then add a root (sprite) over the top of it... This means the console never shows as its created underneath a full screen sprite.
This can be solved pretty easy, by adding this line:
At line 154 in
DCInterface.hx
Cheers, Ian