9-Patch technique in Cocos2D

Note: This post belongs to a long series whose summary is here and which aims to present you how to use the CCControl  library. It often happens that we need to stretch images with no predefined sizes, as for example with buttons whose size adapts to the title…

CCControlExtension: the Sliders

Note: This post belongs to a long series whose summary is here and which aims to present you how to use the CCControl  library. In this part we will see how to create and work with sliders in Cocos2D thanks to a class named CCControlSlider. A slider is a visual control…

The Control Extension for Cocos2D

When you develop a game (or an application) you need to provide some interface components to your end users to allow us to interact with your application; these components are called “user control”. Cocos2D is great 2D framework over OpenGL ES (mainly for iOS and…