I found a version of CCSpriteScale9 ported to c++, but it is using opengl es 1.1.
Really need it for my current project and I’m running cocos2d-x 2.0, so need to convert it to opengl 2.0. Will give it a try but I have basically NULL opengl 2.0 skills (not that much 1.1 skills either tbh). Anyone have any pointers on where to start? Thank you
CCSpriteScale9.cpp: https://dl.dropbox.com/u/7279678/CCSpriteScale9.cppCCSpriteScale9.h: https://dl.dropbox.com/u/7279678/CCSpriteScale9.h
CCSpriteScale9.cpp.zip (3.1 KB)
Oops, as I recognized, we “hide” this feature too deeply in 2.0.Here it is, cocos2dx/extensions/CCControlExtension/CCScale9Sprite.*And you can find the sample code in tests/ExtensionsTest/ControlExtensionTest/
Ah, you sir just saved me a bunch of time =) Thank you