I m working on a Xonix game (like Volfiex) using SFML (graphic library). The problem is when you cut specific area, the screen splits into two sub areas. Now I need to detect where the Boss is, and close the OTHER area.
我现在的解决方案是使用矩阵作为游戏板,并使用FloodFill确定区域。它正在发挥作用,但我不喜欢玩家如何移动,因为这是一个矩阵,他不能在细胞之间停下来。
Maybe you have any better ideas?? (without matrix) Thanks.