There is a need to start a new line when drawing text manually.
(手动绘制文本时需要开始新的一行。)
But \n
does not work. (但是\n
不起作用。)
What am I doing wrong? (我究竟做错了什么?)
gl=new GlyphLayout();
font=Assets.getFont(10);
gl.setText(font, text, Color.WHITE, cam.getDims().x-cam.getDims().x/10, Align.left, true);
font.draw(sb, gl, -(cam.getDims().x-cam.getDims().x/10)/2, -cam.getDims().y/6);
ask by Asidert translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…