newlist

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2013年11月10日

摘要: /****************************************************************************Copyright (c) 2010-2012 cocos2d-x.orgCopyright (c) 2008-2010 Ricardo QuesadaCopyright (c) 2011 Zynga Inc.http://www.cocos2d-x.orgPermission is hereby granted, free of charge, to any person obtaining a copyof this softw... 阅读全文
posted @ 2013-11-10 22:08 一枚程序 阅读(1727) 评论(0) 推荐(0)

摘要: /****************************************************************************Copyright (c) 2010 cocos2d-x.orghttp://www.cocos2d-x.orgPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin t 阅读全文
posted @ 2013-11-10 22:06 一枚程序 阅读(1333) 评论(0) 推荐(0)

摘要: /****************************************************************************Copyright (c) 2010 cocos2d-x.orghttp://www.cocos2d-x.orgPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin t 阅读全文
posted @ 2013-11-10 22:04 一枚程序 阅读(585) 评论(0) 推荐(0)

摘要: // CCFollow// 作用:创建一个跟随动作// 参数1:跟随的目标对象// 跟随范围,离开范围就不再跟随 //创建一个参照物spT// CCSprite * spt = CCSprite::create("Icon.png");// spt->setPosition(ccp(420,40));// addChild(spt);// sp->runAction(CCMoveTo::create(3, ccp(940,sp->getPositionY())));// // CCFollow * follow = CCFollow::create(sp, 阅读全文
posted @ 2013-11-10 21:37 一枚程序 阅读(529) 评论(0) 推荐(0)