MantisBT - Zandronum
View Issue Details
0002970Zandronum[All Projects] Bugpublic2016-12-29 23:172016-12-29 23:43
Filystea 
 
highminoralways
closedno change required 
 
 
0002970: A_chace with 0 tics causes strange behavior in animation.
Frame is moved on ZM36 AA 0 A_Chase.
Laggy behavior with such code.
No smooth movement.
Lets say we want monster to walk around but still attac if somethign is in sight. (No chace tho).

So we do...

    See:
     ZM36 AA 0 A_Chase
     ZM36 AA 1 A_Wander
     ZM36 AA 0 A_Chase
     ZM36 BB 2 A_Wander
     ZM36 BB 0 A_Chase
     ZM36 CC 2 A_Wander
     ZM36 CC 0 A_Chase
     ZM36 DD 2 A_Wander
     ZM36 DD 0 A_Chase
     Loop


Make another monster with

  See:
     ZM36 AA 2 A_Wander
     ZM36 BB 2 A_Wander
     ZM36 CC 2 A_Wander
     ZM36 DD 2 A_Wander
     Loop

See how the one with A_Chase will move laggy when other moves smoothly.
ZandroDev3.0-161030-2038linux-x86_64

Linux zandronum 4.8.0-2-amd64 #1 SMP Debian 4.8.11-1 (2016-12-02) x86_64 GNU/Linux
No tags attached.
Issue History
2016-12-29 23:17FilysteaNew Issue
2016-12-29 23:42DuskNote Added: 0016570
2016-12-29 23:42DuskStatusnew => closed
2016-12-29 23:43DuskResolutionopen => no change required

Notes
(0016570)
Dusk   
2016-12-29 23:42   
With the 0-tic A_Chases the monster gets free moves to spend. Of course it's going to jitter.