Neighbors building houses, will it affect my feng shui?

It depends on the local topography, texture and water flow direction.

If it's on your windward side and higher than your home, it's not good. But as long as your home is on the ground, it can't stop you.

As for the one opposite you, it doesn't matter as long as the door is not facing. Otherwise, you can always hang a mirror.