Hello all.
I want to implement player chat into my game. As such, I need some way to receive text input from the user.
Now, the text they enter will be displayed by writing it to an overlaying SVG, but I see a few methods to get what the player is writing:
- Overlay an HTML element that steals focus.
- Parse keystrokes inside playcanvas
- Something else
Have people done this previously. If so, how? What is the recomended method?
Cheers.