问题
I want to make a ripple effect on a UIImageView upon receiving the user touch. How can i do this. Opengl is a good option. But on which part of opengl should i need to concentrate. I am new to opengl.
回答1:
I'd suggest you check out cocos2d:
- http://www.cocos2d-iphone.org/
- https://github.com/cocos2d/cocos2d-iphone
It has a built-in ripple effect.
There is sample code in their source under /tests/EffectsTest.m
来源:https://stackoverflow.com/questions/6353403/ripple-effect-on-the-touch-event-uiimageview