So I’m making a bomberman clone as my first game and I’m currently stuck on figuring out how to check if something is in the blast radius. I’ve understood that the best practice would be to have the destroyable objects check if they are hit, but how should I implement something like that in this scenario? I didn’t really find any bomberman threads on the forums to find more info. I suppose I could make some sort of list of the tile locations which are in the blast radius and have objects check if they are on those tiles. More problems arise when I think this with moving objects, such as npcs or other players. I don’t think I can raycast either, since it’s only a thin line. Also I’m using c#.
Help would be appreciated, thanks.