I Create Text with config:
; --- Texts ---
[SingleText] ;============================
Graphic = SingleTextGraphic
Position = (0.0, 0.0, 0.0)
Scale = 2.0
[SingleTextGraphic] ;===============================
Text = SingleTextString
Color = (255, 0, 0)
Pivot = center
[SingleTextString] ;=========================
String = SingleTextString
But it looks weak(does not like the FPS).See attachment.
How the right way to display Text like FPS?
Comments
As I'm not a (too) sadistic person, here it is: Smoothing (aka antialiasing).
First, in the Display section you can define what the default Smoothing will be (true/false).
Then you can override for an object or a graphic resource.
Try this:
You should then have something more like the FPS display.
Also, I encourage you to use custom fonts as orx's default font is a very nice & free programmer font called Dina, but doesn't look that great for in-game display.
EDIT: Btw, tutorial #10 is about text localization if you're interested: http://orx-project.org/wiki/en/orx/tutorials/standalone
But I still don't know how to use user defined font after I read the tutorials.
However, in the iPhone-beta-1.2 package, the CreationTemplate.ini contains info about how to setup a custom bitmap font.
I'll modify the tutorial #11 with custom font when releasing 1.2