OK, this is a given, and probably the reason you became friends in the first place. But there's a lot to be said for chemistry and shared interests.
As for fun, it depends how you define it: Some friends are fun because they're the life of the party, others are fun because they notice every strange little detail about a situation. Some people are fun simply because they see life like no one else does.