Litterally for about two weeks my piggies were ridiculously shy, they would run back into their houses as soon as I walked in, and they would only come out again if I sat still for atleast half an hour!
Piggies slowly get more and more social, I think it depends where you keep them too. My piggies are in my bedroom but because I live in such a small place I'm always in there cause I watch tv in there. Cause they're used to constant noise now they never run away.
Some of the things I did to get my piggies to get used to me was feeding them veggies from my hand, moving stuff around their cage and just having my hand in there so they new it wasn't threatning, and gentle petting. I also talk to them constantly! I must go in to the bedroom more than ten times a day just to say "what you doing pigs?!" they know my voice now and wheek when I talk to them, most probably because they associate my voice with veggies!
I found floor time took longer to get them used to, most probably because it's not their familiar territory. You have to be persistant and do it every day as opposed to sporadically. I give my piggies floor time in the hall, and at first they would just sit in the corner and poo. I realised that they would only move if I was there with them, so now I sit cross legged and they run laps around me.
So yes, I advise talking to them constantly (even if everybody thinks you're crazy!) giving them veggie treats from your hand (I pet and then give a veggie, so they would associate petting with veggies) putting your hand in the cage so they know your smell and arn't frightened of the cage, and being noisy!
My piggies also like it if I bring my face close to them, though that might just be my boys, they like faces!