Spawn objects freezes other object’s moves



  • I spawn two new objects every 1.5 seconds and then they move slowly accross the screen with all other objects previously spawned. But every time the spawn behaviour is triggered all other currently moving objects are freezing for a few milliseconds which gives not a smooth continuous flow of the objects. How can I avoid this interruptions?



  • @lupo Spawning object's causes a bit of lag it seems 🤔. Tried not spawning them at the exact same time, but add a tiny delay between the two?



  • I try to avoid Spawning objects because they do cause some lag, maybe use transform behaviors to make it seem like they are spawning. :3



  • @lupo Do you know how to build an object pool and cycle through objects from that pool?



  • @deeeds I don’t know, but I hope you can explain me in detail? 😉 Thx


Log in to reply
 

Looks like your connection to hyperPad Forum was lost, please wait while we try to reconnect.