Artillery shells on Tuesday hit the center of the Libyan capital, which eastern forces have been trying to take in a near year-long war, residents said.