Anyone who played or watched Transformer surely knows how text is presented right? Its kinda a bunch of “alien” letters, and each of them turns letter by letter to real english phrases ( Translator). I am planning to build this effect into my game… Still experimenting with this blend, but i am still lost.
texti_text.blend (452 KB)
from bge import logic as log def main(c): o = c.owner sp = c.sensors["space"] if "init" not in o: o["alien"] = "XXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXX" o["Text"] = o["alien"] o["init"] = True else: if sp.positive: msg = "This is an alien language" mlen = len(msg) if o['counter'] < mlen : o['counter'] += 1 o["Text"] = msg[0 : o['counter']] #i.replace(o["Text"], '')