- 博客(6)
- 资源 (2)
- 收藏
- 关注
添加角色动画关键点
CCSpriteBatchNode *spriteBatchNode; //use the textureAtlas and class CCSpriteBatchNode //ipad device if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { [[CCSprit...
2012-07-11 17:58:08
166
Top Reasons to Use a Texture Atlas/Sprite Sheet
Reduced OpenGL ES bind calls—the more images contained in the textureatlas, the greater the reduction. Reduced memory footprint for the images stored as textures in memory. Easy method to...
2012-07-11 17:55:44
138
slider
/*获取slider值 events:ValueChanged * *@property (strong, nonatomic) IBOutlet UILabel *numberSlider; * */ - (IBAction)sliderChanger:(id)sender { UISlider *slider = (UISlider *)sender; ...
2012-07-11 17:19:16
121
Control States description
Control States Every iOS control has four possible control states and is always in one, and only one, of these states at any given moment: Normal: The most common state is the normal ...
2012-07-11 17:12:24
115
按钮选中后变换按钮背景图
在- (void)viewDidLoad 中: [size=medium]UIImage *buttonImageNormal = [UIImage imageNamed:@"whiteButton.png"]; UIImage *stretchableImage = [buttonImageNormal [color=red]stretchableImageWithLeftCapWidth...
2012-07-11 17:06:53
188
Object-C学习笔记 基础部分(一)NSString常用方法
个人学习笔记 NSString --实例化方法-------------- NSString *str = [[NSString alloc] init]; NSString *str = [[[NSString alloc] init] autorelease]; 注意:在NSString 中存在自己的实例化和初始化的方法 例如: NSString *str1 = [N...
2011-07-06 17:19:27
190
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人