My son was the same way up until around 6 months ago. We had to take something away from him in order for him to get into his own bed. We took away his games and his computer. Lasted one night and he slept in his bed.
Even then, the ceiling light had to be on, etc. I don't know how we did it, but the ceiling light is no longer on now but only a nightlight, our puppy needs to be with him in his room (LOL) and his little DVD movie player has to be on.
However, for the most part of the night he sleeps in his room and when and if he does come out in the wee hours of the morning, he goes straight to the couch and not into our bed.