自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Infinite Loop

纪念菜鸟

  • 博客(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 136

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 104

slider

  /*获取slider值 events:ValueChanged * *@property (strong, nonatomic) IBOutlet UILabel *numberSlider; * */ - (IBAction)sliderChanger:(id)sender {     UISlider *slider = (UISlider *)sender;   ...

2012-07-11 17:19:16 91

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 86

按钮选中后变换按钮背景图

在- (void)viewDidLoad 中: [size=medium]UIImage *buttonImageNormal = [UIImage imageNamed:@"whiteButton.png"]; UIImage *stretchableImage = [buttonImageNormal [color=red]stretchableImageWithLeftCapWidth...

2012-07-11 17:06:53 148

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 157

Learn.cocos2d.Game.Development.with.iOS.5 PDF

最新iOS5 cocos2d开发的书籍,非常棒。

2012-06-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除