I also suffer from that kind of situation but I was to brave to tell my family about it, of course, you must accept their anger because you deserve it, but it causes me sleeplessness nights because we need money very bad back then, but it made me realize that gambling is something you must have control and don't pour everything even though it is tempting to do so.
Lucky for you, you already told your family about that. Until now everytime I remembered how much I'd loss in my gambling addiction 2yrs ago it keeps me awake till morning, it is still a nightmare for me, since then I learned my lesson not to put all my assets in a game, because I lost everything on that game.