I made a thread with help to make a bird AI and I am now working on it. I have the basics down to now having my birds fly and land on the top of a tree, there is two spots on each tree. My problem now is how to make it so if a spot is occupied by another bird there will be no other bird flying to the same spot.
Do anyone know the best and simplest way to do this? As I have it now the birds sometimes fly and land on the same spot as another bird, or other times just get their new spot in the same destination and making them jump a pixel.
I have attached an example of what I have so far