What's the fastest way to retrieve user inputs

Blitz3D Forums/Blitz3D Programming/What's the fastest way to retrieve user inputs

Paolo(Posted 2004) [#1]
I'm using the GetKey() command to retrieve a user string for in-game chat but it still seems to lack a little while writing if you do it over a 3d window while the game is running... so any idea...

thanks!
Paolo.


eBusiness(Posted 2004) [#2]
You probably don't call it enought times. On the other hand, if you are running at a decent mainlooprate (30 Hz) I figure there shouldn't be a problem. Try running the getkey part twice a loop.


Paolo(Posted 2004) [#3]
thanks eB!
Yes, main loop is at 30, althoug I will try to call the function more times...

Paolo.