Quote:
|
Originally Posted by Tyhm
And yet the shoot command does it, so SOME command - probably going all the way into the core programming - IS capable of it. It's like the Move command: There's a way to emulate it with timeouts, just not as efficiently. But maybe there is. I mean, Stefan coded it in C (and a couple languages before); with the proper commands, couldn't he program it in GraalScript? Would Move be a complex brainhurting series of clientside animations, serverside instant move and delayed Sendings, then a calculated interpolation? By that same stretch could Shoot be scripted as just Create This And Move It? In which case it could be rescripted as And When It Hits Billy,
if (BillyShieldPower>1&&BillyDir=(dir+2)%4) dir=(dir+2)%4;//or Billydir, depending on your views of robust vs efficient...
|
I would think that the server directly interprets the move command, and the client is sent dx, dy, time, and options. There's a forgivable problem in that the time in the parameters isn't always the same time to execute the movement. Although, I see that as better than a projectile's flaw of not being able to match serverside/clientside self-destruction.