Crafty.init(400, 200); Crafty.background('#333'); // Exemplo de texto desenhado com Canvas var canvasText = Crafty.e('Canvas, Text'); canvasText.attr({ x: 10, y: 30, w: 100, h: 20 }) .text(Crafty.getVersion()) .textColor('#ff0000') .textFont({ size: '3em' });