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.
Wow, so this was why enemy movement always looked sooooo choppy 'n' sloppy compared to, let's say, Blood? I've never noticed it was smoother in skills 0 and 1, probably cause I haven't even used them for a long time. I thought it was equally ugly in all skill levels, and now that I have looked at it, it's sure as hell noticeable. It would be lovely to have control over this indeed. Movement every tic may look weird on sprite enemies but on models it looks way, way better.
EDIT: Now I also know why one of my monsters (which I coded with a notenemy actor by accident) seemed to move much more smoothly than the rest!
