Hey, I've got a small sample of code working in my Player based buildings project.
It records a series of bounds that change in a given update and runs them all at once using:
It was performing really slowly (causing seconds of delay between frames). I've messed with tile size and things to make it faster. I then worked on combining bounds that overlap to limit the number of update calls - this actually worked fairly well, but still causes the main thread to block?
I was wondering if there was a way to run these updates on a thread/in the background?