lufyLegend 调试

  • 绘制层的范围
  // G.stageLayer.graphics.drawRect(2, "#ff0000", [ G.stageLayer.x-14, G.stageLayer.y, G.stageLayer.getWidth(), G.stageLayer.getHeight()], true, "#880088");
  • 调试刚体的位置
  //程序最开始的位置加入,去掉背景图片
  LGlobal.setDebug(true);
原文地址:https://www.cnblogs.com/tutumissed/p/8276487.html