Draw a Text in a Game

Hello everybody, i’m new in Blender and new in the forum, so Hello !! :cool:
I’m trying to open a window-like information when i click on an object (Something like the windows with text in a final fantasy game), i’m able to click and call a python script, when the script executes don’t show any error, but don’t draw any text :(, somebody can give a tip, thanks in advance !!!

###########################
import Blender

femur_izq=Blender.Object.Get(“Femur_Izq”)

print “Inicio del Script”
print femur_izq # Works…

Blender.BGL.glColor3i( 255, 255, 255 )
Blender.BGL.glRasterPos2i( 20, 20 )
str = Blender.Draw.Text(“Hola Mundo”, ‘large’)

retval = Blender.Draw.Redraw()

Dont show nothing :frowning:

###########################

I’m also try using a 3D Text, but i cannot use
txt = Blender.Object.Get(“Txt_Desc”) # Works
txt.write(“Prueba”) # Error

I’m making for my learning a human skeleton that when the user clicks on a bone the game engine will open a text with information about the Bone… Any help it’s :slight_smile: !!! Thanks !

Hey man! I m trying to do the same thing but i couldnt… please let me know if u can fix it ! thanks

PD: Hola amigo, que tal? sino me equivoco veo que hablas español… pues yo tambien jjejee …
fijate yo estoy intentando hacer lo mismo … pero nisiquiera logro alcanzar lo que tu estas haciendo…
si te parece podemos intercambiar opiniones, ya que en otros aspectos del blender tengo algo de conocimiento y de esta forma podemos salir beneficiados ambos!
saludos

Here you go:
http://www.blending-online.co.uk/8501/17001.html

quite easy

Do a search for the p00f “font-o-matic” script to make it very easy on you :smiley:

sorry for the crappy file host…

here is a free font for you to learn with, when you follow the tutorial:
http://upload2.net/page/download/4KwSh4ZUWE4e8aX/font.png.html

have to wait for the download like a minuet , sorry about that :frowning: