1

250 Coroutines in a heartbeat

https://gyazo.com/bdf99c2731e2caa89823981a1016df4c 

Fired off 250 createclusters in a for loop selecting random colored balls. Each calling a completion handler that in turn fired off a Coroutine() that waited 5 secs then destroyed it's cluster.

You can see a ever so slight time lapse as they vanish one right after the other.

But hey not bad at all for 250 of them!

Lots of potential here.

PS. playing with this over and over did eventually disconnect the region, but not before I seen some weird shadow effects. That post will be separate.

 

 

2 comments

Please sign in to leave a comment.