Game Development Community

t2dTextObject Suggestion

by Helk · in iTorque 2D · 05/09/2009 (3:35 pm) · 1 replies


Think we could add this for the next patch? I use it a lot.

ConsoleMethod( t2dTextObject, setText, void, 3, 3, "" )
{
      object->setText (argv[2]  );
}

#1
05/10/2009 (10:10 am)
Why not just call:
textObject.text = "my next"

you don't need a new console method to set a text objects text as far as I'm aware of.