Tag Archives: cocos2d

Radial and rectangular sinusoidal damping functions for iOS game dev in Cocos2d

I had to make a function that morphed the contents of an area in a Cocos2d game recently and I came across the problem of blending the effect inside my affected area with the outside. To overcome this and remove the sharp transition that was visible I created a couple of damping functions – one [...]

Leave a comment Continue Reading →