User Tools

Site Tools


en:examples:text_fonts:change_text_string

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

en/examples/text_fonts/change_text_string.txt · Last modified: 2018/02/14 00:47 (7 years ago) by 127.0.0.1