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.
我正在使用 flashpunk 库在 Actionscript 3 中创建俄罗斯方块风格的游戏。除了一些我无法弄清楚的碰撞检测之外,我一切正常。当积木掉落时,它们不会堆叠在一起。有什么想法或建议吗?
使用矩阵来描述游戏逻辑。
检查:http ://wonderfl.net/search?q=tetris
这里有很多代码示例