I'm making a custom overlay for my textboxes so that it's pixelated. So far it works great - the textbox is made invisible with css, and the spritefont mimics what the textbox would do. I even have the little text cursor (the blinking bar) appear at the end of the text. However, this is a problem when the user clicks elsewhere in the text to type, or uses the arrow keys.
I'd like to get the position of the cursor, but even better would be if I could find another way to get a pixel spritefont textbox.
Develop games in your browser. Powerful, performant & highly capable.
Did you find a way that you would not have to use the mouse, and the input was available immediately ?