02-26-2009, 03:19 PM
Your problem is likely to be the number of poses. Check the number of rows in your enemy spritesheet and be sure that it matches the number in MNK_POSES_ENEMY in the configuration.
Where MNK_POSES_ENEMY = {1 => 4}, for instance, means that the enemy number 1 has 4 poses (4 rows in the spritesheet).
As you can imagine, you can use spritesheets with different number of poses.
If nothing is configured in MNK_POSES_ENEMY for that enemy, the default value specified in MNK_POSES applies.
I hope this helps.
Where MNK_POSES_ENEMY = {1 => 4}, for instance, means that the enemy number 1 has 4 poses (4 rows in the spritesheet).
As you can imagine, you can use spritesheets with different number of poses.
If nothing is configured in MNK_POSES_ENEMY for that enemy, the default value specified in MNK_POSES applies.
I hope this helps.