Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想统一创建一个 2d 游戏。我有一个简单的(主要)方形。然后,当我点击屏幕时,应该添加另一个正方形。在每增加一个新正方形时,我都必须得到一个相交,并且从这个相交中我必须得到一个新的主要形状形式。也就是改变形状。我点击了多少次应该会出现一个新的正方形。这怎么可能实现?