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.
在未回答问题(与星星碰撞)时如何停止程序?我试过stop all block from control,但它会消灭程序。 刮
如果有人遇到这个问题,我可以通过将变量设置为 0 来完成它,如果发生事件,当我需要停止游戏运行时,我将该变量设置为 1,就像在我的一个星精灵中一样:
在 Rock sprite 中,我正在检查每个循环,如果该变量等于 0,则代码可以继续运行: