但直接用$main.gem_grab()会报错。 这个程序可以运行,也达到了目的。但不够稳健(robustness),例如当你未来修改代码时,比如多加了一层child node,那这里的$"../.."就会到达不了main node,从而失效。 利用signals沟通scenes(建议) 当gem被player碰撞时,gem node发出信号;在main node中增加一个监视,当观测到这个...
In the end, the idea is to showcase Godot as a viable option for native Desktop applications and tools, no matter how simple or complex/advanced the application and the interface are. Features 🎛️ Progress 🚧 The GodotEngine frontend: ...