TerminX, on 23 October 2012 - 07:16 AM, said:
I am also taking the opportunity to add a new sprite flag that enables smooth movement. It turns out that in the original code, skills 0 and 1 allow the enemy to move once every other game tic whereas skills 2 and 3 allow movement at twice the normal speed for 3 tics in a row with every 4th tic having the movement cancelled. I don't think this is optimal at all, so I'm changing it so that all skills allow movement once every other tic. I had tested it with movement being allowed every tic, but it was TOO smooth and looked really, really strange, which is where the new sprite flag comes in... since some people have requested it in the past, the new flag will allow movement every tic without anything involving the skill coming into play.
I believe that it would be better to have movement every 1 tic in all skills, for many reasons:
- It is like that in some skills already, including the default skill.
- Non-useractors behave like that.
- If broken movements could serve to simulate someone walking, it surely doesn't serve for jumping or flying creatures, something extremely common.
- The game has not been properly prepared to handle a framerate much higher than 30 fps, thus interpolation has been neglected. An enemy moving every 4th frame doesn't make sense if it will gradually jump to that location in a single tic.