My map is coming along great. Everything is working fine mostly except for a couple bugs I need to iron out. However, there is one very serious issue. I tested my map with some friends, and there is some serious input lag.
It is a top-down map where you control a character with WASD.
Somewhere around .5 seconds after you press your key, your character will finally move. Now ofcourse there isn't this input lag offline by myself. I'm wondering if you know of any ways to speed this up? Either a script that already takes into account the many people controlling at once, or some other solution.
Also, I'm assuming it is the way the engine handles the information, as opposed to the servers. So it's unlikely there is an easy solution to this. I'm betting though, that someone will write a very complicated script that will allow for multiple people at once to control their own character with WASD.
If there is no solution currently, I'll probably have to change the way the controls work completely, which would kind of defeat the point of this map unfortunately.
The delay is caused by network traffic, because all of the clients must 'sync' the event (the delay is affected by latency). When you play offline there is no network traffic :) Hopefully, Blizzard will speed these up somehow, since so many maps are using key presses/mouse clicks heavily.
My map is coming along great. Everything is working fine mostly except for a couple bugs I need to iron out. However, there is one very serious issue. I tested my map with some friends, and there is some serious input lag.
It is a top-down map where you control a character with WASD.
Somewhere around .5 seconds after you press your key, your character will finally move. Now ofcourse there isn't this input lag offline by myself. I'm wondering if you know of any ways to speed this up? Either a script that already takes into account the many people controlling at once, or some other solution.
Also, I'm assuming it is the way the engine handles the information, as opposed to the servers. So it's unlikely there is an easy solution to this. I'm betting though, that someone will write a very complicated script that will allow for multiple people at once to control their own character with WASD.
If there is no solution currently, I'll probably have to change the way the controls work completely, which would kind of defeat the point of this map unfortunately.
The delay is caused by network traffic, because all of the clients must 'sync' the event (the delay is affected by latency). When you play offline there is no network traffic :) Hopefully, Blizzard will speed these up somehow, since so many maps are using key presses/mouse clicks heavily.
Lets hope so... otherwise, shit will happen.
You'd think they would have optimized it after adding full support for key presses, and expecting their engine to be a platform for quality mods.