My daughter, about 35 pounds, walked on my ribs. Would it hurt if I had a broken rib or did something to my lungs? Because I feel okay.

Rib fracture=pain. If you had fractured a rib: you would know it! you would have moderate -severe pain exacerbated by movement, cough, and deep breathing.
Broken ribs. A broken rib causes local pain and tenderness. You may get short of breath if rib punctures the lung.
Yes. . If she broke a rib, you'd likely have a good amount of pain and feel shot of breath.