How to display scores with Nifty

Hi guys, I just want to display scores at the top of my PONG game. I am using basic nifty :









<text id=“text” font=“aurulent-sans-17.fnt” color="#000f"

text=“Hello World!” align=“center” valign=“center” />









But I just want to show my score variable at the top right of the screen. This code overlaps my game… so you just see a grey background and hello world… how can i get rid of that background so i can see my game behind it while still displaying the text “hello world” (or any variable i specify)



Thanks!

Zach

The TestNiftyGui test shows a specialized hello world XML that allows you to see 3D objects behind it.