Je vous disais que l'animation de Bilou avait été fortement inspirée par Fury of the Furries ... Ça m'a donc semblé normal d'utiliser le "roulé-boulé-en-l'air" comme cas de test des "animations de transitions". Entre "je tombe" et "j'ai rebondi", par exemple.Après avoir dessiné quelques sprites de plus pour Bilou lui-même, je me suis retrouvé tout bête dans AnimEDS: pas moyen d'avoir les pieds de Bilou qui passent devant puis derrière son corps, vu que l'ordre d'affichage reste fixe.
Bon, maintenant, il faut que je trouve le moyen de faire ça *aussi* dans le moteur de jeu.
ATTR2_PRIORITY(0) on those limbs that are on the "pulled layer". Unfortunately, that won't work in the game engine. I could end up with some limbs randomly appearing in secret passages or with other limbs randomly disapperaring when moving in front of complex background elements. The only viable option here is to re-order limbs in the Engine::sprites[] array. Let's see which is the best way to do it ...
todo:
ReplyDelete- mask2list() that converts 01001 into 'ADBCE'
- deltapos(char,from,to) that says 'D has moved to front between 'ADBCE' and 'ABCDE'
- the game engine needs the list of indices up to max(i) deltapos(i,from,to)<0
- max(i) deltapos(i,'ABCDE',now)<0 indicates which of now should be used to set bits in the pullmask when reading for the editor.