|Attention||Topic was automatically imported from the old Question2Answer platform.|
|Asked By||anbarasu chinna|
Instancing obstacles node and adding it to scene tree cause my game slight jittery. So what I have done to solve this issue is I have instanced all kinds of enemy in auto-load script of my game, so that it will load while loading game itself, but this also not helped for me. I think there is a better way of creating object pool that can maintain all my enemy references. Can anyone give me link or code sample for creating/instancing/duplicating enemy node? Thanks in advance.