He probably likes you. He might be playing hard to get.
This guy at my school is always rly friendly around me and sometimes touchy, but there are also times when he acts like I'm not even there. Does he like me or is he just messing with me?
It sounds to me as though he just messing around with you. Take the control away from him and be pleasant but otherwise don't interact with him, say hi but keep on walking and don't be drawn into conversation. Let him find out what it feels like to be unsure of how somebody feels about him.