Table of Contents

Change Text Object String

Code

orxOBJECT *scoreObject = orxObject_CreateFromConfig("ScoreObject");
orxObject_SetTextString(scoreObject, (orxCHAR*)"123456");

Config

[ScoreObject]
Graphic  = ScoreGraphic
Position = (20, 20, 0)
 
[ScoreGraphic]
Text  = ScoreText
Pivot = top left
 
[ScoreText]
String = 000000