快速开发用的小demo
Text(ChanceKey):
var text = new Text(ChanceKey, '微软雅黑', bl * 22, '#000');
text.anchorX = 0.5;
text.anchorY = 0.5;
text.x = s.sw/2+ 114 * bl;
text.y = 27 * bl;
s.addChild(text);
Text(ChanceKey):
var text = new Text(ChanceKey, '微软雅黑', bl * 22, '#000');
text.anchorX = 0.5;
text.anchorY = 0.5;
text.x = s.sw/2+ 114 * bl;
text.y = 27 * bl;
s.addChild(text);