You almost collided with him on the exit, and he may have thought you we letting him change lane. What he did after however was just unhelpful, and dangerous.
There is absolutely no need to park on a pavement, preventing pedestrian access anywhere, but to do it at a primary school is the most dangerous and stupid place of them all...
Not condoning their speeding, but it's probably not the wisest decision to pull out straight in front of another car like that. You could quite clearly see the car approaching at speed coming. You should have waited until they passed.
His driving as almost as bad as yours, at least he keeps to his side of the road.