How to display text in the game engine please?


(Rob) #1

Hi

Please can someone tell me how to display text in the game engine. There must be a tutorial somewhere but where? I have looked for an hour or so with no success.

Thanks

Rob.


(Klein) #2

U can convert text to meshes ! only press alt-c then u can convert it.


(Rob) #3

I want to be able to link it to a Python script and change it in the game, so I don’t think that way will work?

Cheers,

Rob


(Pooba) #4

Ok, i made this demo really quick for you. It is kind of a complicated way to do it, but I think you can figure it out!

http://blenderarchives.0catch.com/text.zip
if that doesn’t work just go to http://blenderarchives.0catch.com/
and download the text demo

Hope it helps!
Pooba


(totmacher) #5

Use a simple plain

#get the object
cont = GameLogic.getCurrentController()

owner = cont.getOwner()

#and now easy: undocumented !
onwner.Text = “I am happy”

good luck


(Rob) #6

:smiley:

Thankyou!

Rob.