Hello guys and girls, here’s a very simple, Logic Bricks only resource for the newbies to the BGE on how to enter text in realtime, this can be used to write your name at the start of games etc. It is very simple but I didn’t know how to use it until Goran showed me, so here is his tutorial which explains it.
Well what do you mean? Just copy the logic to a different bitmap text object and it will work, yes. If you want to only be able to type in one place at once (one bitmap at a time if there is more than one) just use states / properties.
Use properties so when you exceed the number of letters, set it to a different state, so you can longer type. Here’s an example using backspacing, too. (It’s a bit buggy because of backspaces).
This gave me a lot of headaches trying to solve, but thanks to Monster, it works.
In this example you type in your name in the menu, and it will display it in the next scene through Monsters S2A script. This is helpful because if you want the player to enter their name in the menu, later on in the game they can see it - e.g. their name and score after the next scene.