Anything which retains interest is optimistic. When the characters become disinterested, it's pessimistic. Does that make sense?