Just like everyone else said it sounds like you probably got a concussion to me.
I'm no doctor either, but I've had at least eight concussions and on most of them I do remember at least seeing stars or not being able to see for a couple minutes after. I could move around and stuff but I couldn't see, it was freaky.
It also depends on where you hit your head too. Just take it easy for a little because repeated concussions one after another can cause bad brain damage/problems.
That's what happened to me and I'm dealing with brain damage issues now. I got a concussion skiing, then the next day, me being tall, I hit my head on the ceiling walking down stairs, then fell down the stairs hitting my head again at my grandparents house and passed out. Not a good combo. So just take it easy for a little and you'll be fine!