RawSushi's Tech Journal
My online tech scrapbook where I keep my notes in case I need to look them up later
Thursday, August 7, 2014
Cocos2D-X 9 Patch Technique with Scale9Sprite
Links:
A blog post on it (Note: based on Cocos2D-X version 2):
http://yannickloriot.com/2013/03/9-patch-technique-in-cocos2d/
Version 3.2 API Doc:
http://www.cocos2d-x.org/reference/native-cpp/V3.2/d8/de3/classcocos2d_1_1extension_1_1_scale9_sprite.htm
The key thing step here is the "setCapInsets" function.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment