I was thinking about what we can potentially do for normal attacks code-wise... it will be really hard to impossible to find gfx animations for all normal attacks:
['RodAttack', 'GunAttack', 'SprayAttack', 'ThrowAttack', 'BowAttack', 'SwordAttack', 'AxeAttack', 'KnifeAttack', 'CannonAttack', 'WhipAttack', 'CrossbowAttack', 'BiteAttack', 'FistAttack', 'ScytheAttack', 'ClawAttack']
Problems with creating GFX with code is that our sprites do not follow any specific design pattern, still we might be able to do some things by adding additional data to mob definitions. For example, alpha blending or masks can be used to:
- Cut images vertically, horizontally or diagonally and move the cuts apart.
- "Flash" the image.
- Change Alpha of the image.
- Use Zoom on image.
- Blend other patterns on the image (cuts/blood of different colors).
and etc.
I am not sure if this is something we should pursue but it is an option.