An excerpt from the old wiki: http://leadwerks.com/wiki/index.php/DrawText
makes me miss the old wiki style.
// 2d drawing
SetBlend(BLEND_ALPHA);
int line = 0;
DrawText(0,14*line,"FPS: %f, TrisRendered: %d, Light tris: %d [lights are only updated if something moves]",FPS(),TrisRendered(0),TrisRendered(1));line++;
DrawText(0,14*line,"Hold P to debug Physics.");line++;
DrawText(0,14*line,"Use WASD to move. SPACE to jump. Character controller airborne?: %s", ControllerAirborne(character)?"yes":"no");line++;
DrawText(0,14*line,"Use the arrow keys and the right mouse button + the mouse to move/rotate the camera.");line++;
SetBlend(BLEND_NONE);
// flip buffers
Flip();