Hello,
I have been using the example game Demonoire as a base for my first game and they widely use base and mask sprites as well as families. I am not seeing the benefit to having separate bases and masks and often do not know which one I should adding instance variables to or which one to spawn, etc. I often have trouble getting the mask to do something if variables are needed from the base and vise versa. I get confused even further when trying to manipulate these two objects using the a family.
I figured I should set my game up this way and would see the benefit as I got into it, but has brought more confusion and frustration than answers. None of my research has explained why this is useful and was hoping someone here could explain so I can use it properly. Thank you very much for your help!