Hi,

----- Mikko Vartiainen <mvartiai...@gmail.com> a écrit :
> I made more refined test. Here we simply stop animation if character
> is not visible. It makes a huge difference when there is lot a
> characters.

The patch by itself seems fine, except that applying movements are /probably/ 
needed for the game to update the physical state, I think. So at worst, the 
condition also checks IsMoving() or IsImmobile(), whichever is the actual 
implied (first I think). I look more into that tonight.

On the other hand, I'm not sure if more shortcuts can be taken. For instance, 
the collision rectangles of all movements are identical in the xml files.

Christophe

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à