Add Physics behavior to the walls and ball then set elasticity higher for more bounciness...as for the elastic effect, it will either have to be an animation...or something rope-style made up of sprites (with physics) connected by revolute joints, in order to make it look like the walls are bouncing. There may be another way though.