Using Text in the Game Engine

tutorial_text3.jpgUsing (dynamic) text in the Blender game engine requires a few steps: defining a texture with bitmaps of the font which you want to use, mapping this to a plane, and setting the correct texture type. It's not very complicated, but it's one of those things someone needs to explain to you, I guess. This short tutorial by Andrew West takes you through it step by step.



Related Posts


Related posts are selected automatically based on their content.


7 Responses to “Using Text in the Game Engine”  

  1. 1 Lasphere Edit Link

    Nice! thx

  2. 2 Rave_Zero Edit Link

    nice tutorial!

    I wonder if there will ever be a real dynamic text feature in Blenders game-engine, with an easy string definement. This way it would be possible to change the content of your dynamic text quickly in real time, instead of messing arround with UV-textures for every single letter :)

  3. 3 unsettlingsilence Edit Link

    You can change the text dynamically, and you don't have to deal with every single letter. There is even a converter so you can use your favorite font.
    http://www.blendenzo.com/tutFTBlender.html

  4. 4 beorn Edit Link

    I really hope that one day the game engine supports real vectorised text.
    Bitmap text is just not suitable for some applications.

  5. 5 PiPi Edit Link

    Nice to remember, thanks!

    .::PiPi::.

  6. 6 blendenzo Edit Link

    Rave_Zero: As unsettlingsilence pointed out, you CAN easily change the string value of the text in realtime, it just takes a bit of scripting or some other logic bricks. I have a whole series of tutorials on realtime text available on my website, along with some demos that are not yet readily available, but are hidden back in my Demos folder. I'll be releasing the demos soon, but they're only accessible by typing in direct address right now. If I remember, I'll post a few links here when I get home. My favorite is a network login setup I made for braveheart on blenderartists.org. It actually logs the text the user types in and displays it in bitmap text, then stores the value to make it available for sending login information to a server.

  7. 7 blendenzo Edit Link

    Here are the links I promised, if anyone cared to see them.

    Network login screen using realtime text: http://www.blendenzo.com/Files/Help/inputUserName.blend

    Password input using realtime text (multiple .blends in this thread, including masked password entry): http://blenderartists.org/forum/showthread.php?t=87446

Leave a Reply