Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by Joncom

I'm sharing this just in case it can serve as a starting point for someone wanting to capture text input.

Demo // Source

1 decade ago by Steve90

Sounds really great!
will have look at it further soon.

Could that be used for chatting instead of using an html input? If so that would be very useful hehe :)

1 decade ago by Joncom

Could that be used for chatting instead of using an html input?
That's exactly what I intend to use it for.

1 decade ago by Steve90

Oh that's great, Exactly what I was searching for. It seems to be working very well.
I thought about using ENTER key to switch mode between typing and normal game mode.

The only thing i'm concerned now is if I will be able to handle french accents, I'm looking at it..

Thanks for sharing

1 decade ago by Joncom

I can type this special "à" here in the forum by holding down ALT key and then punching in the number 133.

Do you input accented characters in a similar fashion?

It may be possible to add support for accented characters, but I'm not currently sure how most people even input such things.

1 decade ago by Steve90

Since I write most of the time in french, my keyboard is set to french,
For example the key on the left of the right SHIFT for me is " é ".
The one under backspace is " à " ...

I think the problem is that we bind a KEY to a CHARACTER, and assume that a key punched is giving the same character for everyone, while in fact, it's not the case.

Maybe I can map the keys differently for french players, or just give up on the accented characters haha
Page 1 of 1
« first « previous next › last »