Are you in the UK by any chance?
From my experience, some guys tend to want to see what’s ‘out there’ as well as have fun with random girls on the sly. It’s the beginning of uni, and he’s probly thinking that there’s loads more girls to meet yet.
But whether this is the case or not, ANY guy who ignores you in front of your friends is gonna be a twit. Seriously. If he’s the type who doesn’t want his friends to ‘get the wrong idea’, what does that say about what he wants?
I’ve had this happen to me at the beginning of uni, it’s not nice, but I would say DO NOT WASTE YOUR TIME ON THIS GUY.