自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

West Third Ring

"640k ought to be enough for anybody." Bill Gates

  • 博客(25)
  • 资源 (2)
  • 收藏
  • 关注

原创 Mac 安装Node.js Express轻量级框架

系统版本: OS X 10.10.1 (14B25)内核版本: Darwin 14.0.0npm版本:   1.4.2Mac 调出控制台工具 输入: sudo npm install -g express(-g 代表全局安装)稍后控制台输出如下:yuzaideMacBook-Pro:~ yuzai$ sudo npm install -g e

2014-11-23 17:50:29 1148

原创 NSDate 输出少一天的解决办法

NSDate 对象如果直接NSLOGO() 打印会显示少一天。

2014-09-20 15:29:51 2135

原创 《23种设计模式 Lua篇》 - 中介者模式

北漂生涯 租房客很少知道

2014-08-27 14:57:33 2071

原创 《23种设计模式 Lua篇》 - 观察者模式

当观察哨发现入侵者,通知正在上班的警卫。

2014-08-26 19:53:29 4676

转载 《Lua 程序设计》-16.3多重继承

Named = {} function Named:getname () return self.name end function Named:setname (n) self.name = n end

2014-08-26 17:26:04 681

原创 《Admob SDK趟坑实录》

官方教程:https://developers.google.com/mobile-ads-sdk/docs/?hl=zh#ios编译异常如下:

2014-08-09 18:24:50 825

原创 《quick-cocos2d-x Lua移植 趟坑实录》 待续

一、场景加载local root = display.newScene("MainScene") local transition = display.wrapSceneWithTransition(root, "fade", 0.5, display.COLOR_WHITE) display.replaceScene(transition)

2014-08-06 19:11:19 828

原创 cocos2d-x 3.0 正式版 项目创建

官方示例如下:

2014-04-30 22:28:00 1123

原创 cocos2d-x 《Flappy Bird 》四、绘制碰撞框 和完整源代码

《flappy bird》是由来自越南的独立游戏开发者Dong Nguyen所开发的作品,游戏中玩家必须控制一只小鸟,跨越由各种不同长度水管所组成的障碍,而这只鸟其实是根本不会飞的……所以玩家每点击一下小鸟就会飞高一点,不点击就会下降,玩家必须控制节奏,拿捏点击屏幕的时间点,让小鸟能在落下的瞬间跳起来,恰好能够通过狭窄的水管缝隙,只要稍一分神,马上就会失败阵亡。图片资源提取后使用P

2014-02-20 16:44:46 1999

原创 cocos2d-x 《Flappy Bird 》三、水管生成和移动

《flappy bird》是由来自越南的独立游戏开发者Dong Nguyen所开发的作品,游戏中玩家必须控制一只小鸟,跨越由各种不同长度水管所组成的障碍,而这只鸟其实是根本不会飞的……所以玩家每点击一下小鸟就会飞高一点,不点击就会下降,玩家必须控制节奏,拿捏点击屏幕的时间点,让小鸟能在落下的瞬间跳起来,恰好能够通过狭窄的水管缝隙,只要稍一分神,马上就会失败阵亡。图片资源提取后使用P

2014-02-14 19:55:22 2120

原创 cocos2d-x 《Flappy Bird 》二、物理世界搭建(Box2d物理引擎)

《flappy bird》是由来自越南的独立游戏开发者Dong Nguyen所开发的作品,游戏中玩家必须控制一只小鸟,跨越由各种不同长度水管所组成的障碍,而这只鸟其实是根本不会飞的……所以玩家每点击一下小鸟就会飞高一点,不点击就会下降,玩家必须控制节奏,拿捏点击屏幕的时间点,让小鸟能在落下的瞬间跳起来,恰好能够通过狭窄的水管缝隙,只要稍一分神,马上就会失败阵亡。图片资源提取后使用P

2014-02-13 11:45:34 1875

原创 cocos2d-x 《Flappy Bird 》一、滚动背景的实现

《flappy bird》是由来自越南的独立游戏开发者Dong Nguyen所开发的作品,游戏中玩家必须控制一只小鸟,跨越由各种不同长度水管所组成的障碍,而这只鸟其实是根本不会飞的……所以玩家每点击一下小鸟就会飞高一点,不点击就会下降,玩家必须控制节奏,拿捏点击屏幕的时间点,让小鸟能在落下的瞬间跳起来,恰好能够通过狭窄的水管缝隙,只要稍一分神,马上就会失败阵亡。图片资源提取后使用P

2014-02-12 16:56:14 2413

原创 Cocos2d-x CCPointArray 移除所有元素

CCPointArray * pathPointArray=CCPointArray::create(100); pathPointArray->addControlPoint(ccp(touchPoint.x,touchPoint.y));NSLog(@"=============%d",pathPointArray->count()); while (pathPointArray-

2014-02-09 19:45:51 1119

原创 Cocos2d-x 反复动画

//螺旋桨动画 airscrew=CCSprite::create(); CCArray *animFrame=CCArray::createWithCapacity(3); for (int i=1; i<=3; i++) { char str[100]={0}; sprintf(str,"airscrew0%d.png",i);

2014-02-09 15:22:53 752

原创 IPA反编译

2014-02-09 13:34:11 922

原创 cocos2d-x 菜单项 CCMenuItem 居中缩放

bool CCMenuItemSprite::initWithNormalSprite(CCNode* normalSprite, CCNode* selectedSprite, CCNode* disabledSprite, CCObject* target, SEL_MenuHandler selector){ CCMenuItem::initWithTarget(target, s

2014-01-18 22:27:41 1120

原创 实战基于Leap Motion体感外设使用Win32(VC++)环境配置

一、环境介绍1.1  Windows 7 64位操作系统1.2  Microsoft Visual Studio 2010 英文旗舰版1.3  Leap Motion SDK C++版:leap_motion_installer_hotfix_public_win_x86_1.0.8+7999_ah815二、配置开发环境2.1 解压leap_motion_i

2013-11-09 13:49:33 1438

原创 实战基于Leap Motion体感外设使用as3_ANE开发

一、环境介绍1.1  Windows 7 64位操作系统1.2 Flash Builder 4.7 64位版1.3 Adobe AIR SDK 3.9 http://airdownload.adobe.com/air/win/download/3.9/AIRSDK_Compiler.zip1.4 Adobe AIR Runtime 3.9  1.5 Leap Motion AS

2013-11-08 01:14:22 3418

原创 [原创]Xcode 4.6 安装 Boost 1.53.0

====================================Boost 版本  1.53.0下载地址 http://www.boost.org/MAC BOOK PRO 10.8.2   I5 6GB内存 Xcode 4.6====================================原创 转载请注明  http://www.cnblogs.com/t

2013-08-28 20:17:12 905

原创 [笔记]Cocoa训练营-cocos2d游戏编程篇-动画

cocos2d 1.0及其以上版本游戏动画随笔;  1 -(id)init 2 { 3 self=[super init]; 4 if (self) { 5 CCSprite *sp=[CCSprite spriteWithFile:@"Space.png"]; 6 sp.anchorPoint=CGPoint

2013-08-28 20:17:10 751

原创 《Cocos2d-x for iPhone游戏开发实例详解---1.~ 运动条纹》

《Cocos2d-x for iPhone游戏开发实例详解》系列博文,基于 人民邮电出版社 《Cocos2d for iPhone游戏开发实例详解》一书,使用Cocosd-x技术重写。示例代码中所引用的相关资料归于原书作者 Nathan Burba 以及出版社所有,本系列博文提供的C++版代码仅供学习使用。======================================

2013-08-24 22:52:30 1100

原创 《Cocos2d-x for iPhone游戏开发实例详解---1.5 绘制OpenGL图元》

《Cocos2d-x for iPhone游戏开发实例详解》系列博文,基于 人民邮电出版社 《Cocos2d for iPhone游戏开发实例详解》一书,使用Cocosd-x技术重写。示例代码中所引用的相关资料归于原书作者 Nathan Burba 以及出版社所有,本系列博文提供的C++版代码仅供学习使用。======================================

2013-08-18 23:16:20 1665

原创 《Cocos2d-x for iPhone游戏开发实例详解---1.3 为精灵着色》

《Cocos2d-x for iPhone游戏开发实例详解》系列博文,基于 人民邮电出版社 《Cocos2d for iPhone游戏开发实例详解》一书,使用Cocosd-x技术重写。示例代码中所引用的相关资料归于原书作者 Nathan Burba 以及出版社所有,本系列博文提供的C++版代码仅供学习使用。======================================

2013-08-17 15:34:18 2114

原创 《Cocos2d-x for iPhone游戏开发实例详解---1.2 绘制精灵》

《Cocos2d-x for iPhone游戏开发实例详解》系列博文,基于 人民邮电出版社 《Cocos2d for iPhone游戏开发实例详解》一书,使用Cocosd-x技术重写。示例代码中所引用的相关资料归于原书作者 Nathan Burba 以及出版社所有,本系列博文提供的C++版代码仅供学习使用。======================================

2013-08-17 00:41:37 1451

原创 《Cocos2d-x for iPhone游戏开发实例详解系列博文》版权声明及目录

《Cocos2d-x for iPhone游戏开发实例详解》系列博文,基于 人民邮电出版社 《Cocos2d for iPhone游戏开发实例详解》一书,使用Cocosd-x技术重写。示例代码中所引用的相关资料归于原书作者 Nathan Burba 以及出版社所有,本系列博文提供的C++版代码仅供学习使用。开发环境:Cocos2d-x  cocos2d-2.1rc0-x-2.1.2-h

2013-08-14 13:26:32 1115

Pro Business Applications with Silverlight 5源代码

Pro Business Applications with Silverlight 5源代码

2012-04-05

101 Windows Phone 7 Apps, Volume I: Developing Apps 1-50

Full Color INCLUDES COMPLETE CODE AND ASSETS FOR EACH APP IN THIS VOLUME! Got a great idea for an app? There’s a chapter for that! Calling all developers: Windows Phone 7 is starting to gain traction, and the opportunity is yours to sell the next killer app! 101 Windows Phone 7 Apps is a book series like no other–best-selling author and Microsoft developer Adam Nathan walks you through the process of building 101 real, robust, diverse, and marketplace-certified Silverlight applications. You not only get online access to the full source code and related assets, but the book is chock full of tips, warnings, and advice that can only come from Adam’s experience of writing so many complete applications and selling them in the Windows Phone Marketplace. Imagine how long it would take you to develop and test 50 apps and how much you would learn from the experience. Rather than spending all that time starting from scratch, use this book to hit the ground running! Whether you simply make cosmetic changes to apps in this book (for example, creating kid-themed versions), repurpose apps (such as building a mortgage calculator based on Chapter 10’s tip calculator), or build something completely unique, this book can greatly accelerate your development time and help you create high-quality apps. Sell your apps in the Windows Phone Marketplace and make this book pay for itself! Volume I contains the first 50 apps and covers the following: Everything you need to know about Silverlight Fully exploiting phone features such as the application bar, hardware/software keyboards, multi-touch, accelerometer, microphone, and more Using rich controls such as pivots, panoramas, and controls in free toolkits, such as date/time pickers, toggle switches, charts, and graphs Building your own custom controls, including popular ones missing from the platform, such as a checkable list box, multi-select picker box, and color picker Broadly applicable pages, such as a photo-cropping page and accelerometer-calibration page How to make your app look and feel like a first-party app Practical tips on a wide range of topics, even acquiring and creating sound effects, using custom fonts, and creating icons

2012-01-16

空空如也

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

TA关注的人

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