The desire to have other people give you respect can be especially vexing because the truth is you have 0% control over how other people act.
But after acknowledging you have no power over them (in this case it means you accept that no matter how well you play, even if you're godly perfect, they can criticize you) you can go further. You can also acknowledge you have no responsibility to control their actions either. Once you give up your ideas of both power and responsibility, you can ignore others freely in any situation.
It's important to understand this first from your own perspective, but after you manage that, you can also extend this idea to other people. Others have no power over you. Even if they criticize you forever they can't force you to react a certain way. They also have no responsibility to make you feel or act a certain way.
You have all the power, but you also have all the responsibility. Of course no man is an island, so you can take this idea too far... but if people who behave normally upset you (and this is the situation you're describing), then it's good to remind yourself how insignificant they are.
Some time ago, I was playing in this tournament and during one of the games, I sacrificed an exchange to reach a winning endgame with two connected passed pawns. I was feeling pretty good about the victory until some of my opponent's friends went up to him and I overheard them say one line in particular: "You were so close —you had a rook against a knight! He just had too many pawns".
And for some reason, hearing that made me really annoyed. Having deliberately sacrificed the exchange to reach a position that I knew was winning, it made me irrationally irritated to hear someone imply that my opponent could've theoretically been "winning" since he was up the exchange.
Now, of course I know that they're wrong and that material doesn't mean anything and that only the actual position matters. And I know that they were probably just trying to make my opponent feel better after the game so it doesn't really make sense to take it personally. And I also know that there's no reason why I should care about anyone's opinion on the game anyway.
Still, though, I find myself being conscious of spectators during chess games, especially when they start watching later on in the game and so don't have any context of what lead to the current position. Even when my position is completely fine or even better, there's always that nagging thought that someone might be watching and thinking that I'm worse just because I could technically be down material. I wouldn't mind that if my position really was losing, because then they'd be justified in thinking so. But there's just something about the thought that someone could be standing there, judging my position as being worse even though it's not that I can't stand.
Does anyone else have this problem or is it just me?