`
mmdev
  • 浏览: 12926382 次
  • 性别: Icon_minigender_1
  • 来自: 大连
文章分类
社区版块
存档分类
最新评论

cocos2d-x 和cocos2d-phone

 
阅读更多
转载自【黑米GameDev街区】 原文链接: http://www.himigame.com/iphone-cocos2dx/603.html<wbr><div><br></div> <div><br></div> <div> <p style="line-height:25px; font-family:Arial; margin-top:0px; margin-bottom:0px"> <br></p> <p style="line-height:25px; font-family:Arial; margin-top:0px; margin-bottom:0px"> </p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> 不得不说要说总结,因为Cocos2d-X的代码和Cocos2d-iphone两个引擎除了语言不同外(Cocos2d-X使用C++,Cocos2d-iphone使用Object-C)可以说没有其他差异=。 =</p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> 下面Himi举例对比几段代码来说明吧:</p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> <span style="font-size:16px"><strong> </strong></span><span style="font-size:16px"><span style="color:#ff00">创建添加一个精灵代码对比:</span></span></p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> <strong> 使用Cocos2d-X:</strong></p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> </p> <div style="margin:18px 0px; width:1192px; line-height:25px; padding-top:1px; font-family:Consolas,'Courier New',Courier,mono,serif; font-size:12px; overflow-x:auto; overflow-y:auto"> <div style="padding-left:45px"> <div style="padding:3px 8px 10px 10px; color:silver; line-height:normal; font-family:Verdana,Geneva,Arial,Helvetica,sans-serif; font-size:9px; border-left-color:rgb(108,226,108); border-left-width:3px; border-left-style:solid; background-color:rgb(248,248,248)"> <strong>[cpp]</strong> <a class="ViewSource" title="view plain" href="http://blog.csdn.net/xiaominghimi/article/details/6938675#" rel="nofollow" style="margin:0px 10px 0px 0px; padding:1px; width:16px; height:16px; color:rgb(160,160,160); text-indent:-2000px; font-size:9px; text-decoration:none; display:inline-block; background-color:inherit"> view plain</a><a class="CopyToClipboard" title="copy" href="http://blog.csdn.net/xiaominghimi/article/details/6938675#" rel="nofollow" style="margin:0px 10px 0px 0px; padding:1px; width:16px; height:16px; color:rgb(160,160,160); text-indent:-2000px; font-size:9px; text-decoration:none; display:inline-block; background-color:inherit">copy</a> <div style="left:380px; top:723px; width:17px; height:17px; position:absolute; z-index:99"> </div> </div> </div> <ol start="1" style="color:rgb(92,92,92); margin-top:0px!important; margin-bottom:1px!important; margin-left:45px!important"> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; color:inherit; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"><span style="color:#0820; margin:0px; padding:0px; background-color:inherit">//---------Cocos2d-X代码部分--</span><span style="margin:0px; padding:0px; background-color:inherit"> </span></span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important; background-color:rgb(248,248,248)"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"> <span style="color:#0820; margin:0px; padding:0px; background-color:inherit"> //创建一个精灵</span><span style="margin:0px; padding:0px; background-color:inherit"> </span> </span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; color:inherit; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"> CCSprite *spriteTemp =CCSprite::spriteWithFile(<span style="color:blue; margin:0px; padding:0px; background-color:inherit">"icon.png"</span><span style="margin:0px; padding:0px; background-color:inherit">); </span></span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important; background-color:rgb(248,248,248)"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"> <span style="color:#0820; margin:0px; padding:0px; background-color:inherit"> //设置精灵的坐标</span><span style="margin:0px; padding:0px; background-color:inherit"> </span></span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; color:inherit; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"> spriteTemp-&gt;setPosition(ccp(size.width*0.5,size.height*0.5)); </span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important; background-color:rgb(248,248,248)"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"> <span style="color:#0820; margin:0px; padding:0px; background-color:inherit"> //将精灵添加到layer中</span><span style="margin:0px; padding:0px; background-color:inherit"> </span></span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; color:inherit; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"> <span style="color:#06699; margin:0px; padding:0px; font-weight:bold; background-color:inherit"> this</span><span style="margin:0px; padding:0px; background-color:inherit">-&gt;addChild(spriteTemp,1); </span></span> </li> </ol> </div> <p style="line-height:25px; font-family:Arial; margin-top:0px; margin-bottom:0px"> </p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> <strong>使用Cocos2d-iphone: </strong><br></p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> </p> <div style="margin:18px 0px; width:1192px; line-height:25px; padding-top:1px; font-family:Consolas,'Courier New',Courier,mono,serif; font-size:12px; overflow-x:auto; overflow-y:auto"> <div style="padding-left:45px"> <div style="padding:3px 8px 10px 10px; color:silver; line-height:normal; font-family:Verdana,Geneva,Arial,Helvetica,sans-serif; font-size:9px; border-left-color:rgb(108,226,108); border-left-width:3px; border-left-style:solid; background-color:rgb(248,248,248)"> <strong>[cpp]</strong> <a class="ViewSource" title="view plain" href="http://blog.csdn.net/xiaominghimi/article/details/6938675#" rel="nofollow" style="margin:0px 10px 0px 0px; padding:1px; width:16px; height:16px; color:rgb(160,160,160); text-indent:-2000px; font-size:9px; text-decoration:none; display:inline-block; background-color:inherit"> view plain</a><a class="CopyToClipboard" title="copy" href="http://blog.csdn.net/xiaominghimi/article/details/6938675#" rel="nofollow" style="margin:0px 10px 0px 0px; padding:1px; width:16px; height:16px; color:rgb(160,160,160); text-indent:-2000px; font-size:9px; text-decoration:none; display:inline-block; background-color:inherit">copy</a> <div style="left:380px; top:964px; width:17px; height:17px; position:absolute; z-index:99"> </div> </div> </div> <ol start="1" style="color:rgb(92,92,92); margin-top:0px!important; margin-bottom:1px!important; margin-left:45px!important"> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; color:inherit; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"><span style="color:#0820; margin:0px; padding:0px; background-color:inherit">//---------Cocos2d-iphone代码部分--</span><span style="margin:0px; padding:0px; background-color:inherit"> </span></span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important; background-color:rgb(248,248,248)"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"><span style="color:#0820; margin:0px; padding:0px; background-color:inherit">//创建一个精灵</span><span style="margin:0px; padding:0px; background-color:inherit"> </span></span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; color:inherit; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important"> <span style="color:black; margin:0px; padding:0px; background-color:inherit">CCSprite *spriteTemp =[CCSprite spriteWithFile:@<span style="color:blue; margin:0px; padding:0px; background-color:inherit">"icon.png"</span><span style="margin:0px; padding:0px; background-color:inherit">]; </span></span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important; background-color:rgb(248,248,248)"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"><span style="color:#0820; margin:0px; padding:0px; background-color:inherit">//设置精灵的坐标</span><span style="margin:0px; padding:0px; background-color:inherit"> </span></span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; color:inherit; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important"> <span style="color:black; margin:0px; padding:0px; background-color:inherit">spriteTemp.position=ccp(size.width*0.5,size.height*0.5); </span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important; background-color:rgb(248,248,248)"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"><span style="color:#0820; margin:0px; padding:0px; background-color:inherit">//将精灵添加到layer中</span><span style="margin:0px; padding:0px; background-color:inherit"> </span></span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; color:inherit; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important"> <span style="color:black; margin:0px; padding:0px; background-color:inherit">[self addChild:spriteTemp z:0 tag:1]; </span> </li> </ol> </div> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> <br></p> <br style="line-height:25px; font-family:Arial"><p style="line-height:25px; font-family:Arial; margin-top:0px; margin-bottom:0px"> <span style="font-size:16px"><span style="color:#ff00">添加一个粒子代码对比:</span></span></p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> <span style="font-size:13px"></span></p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; font-weight:bold; margin-top:4px; margin-bottom:4px"> </p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> <span style="font-size:13px"><strong> 使用Cocos2d-X: </strong></span></p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; font-weight:bold; margin-top:4px; margin-bottom:4px"> </p> <div style="margin:18px 0px; width:1192px; line-height:25px; padding-top:1px; font-family:Consolas,'Courier New',Courier,mono,serif; font-size:12px; overflow-x:auto; overflow-y:auto"> <div style="padding-left:45px"> <div style="padding:3px 8px 10px 10px; color:silver; line-height:normal; font-family:Verdana,Geneva,Arial,Helvetica,sans-serif; font-size:9px; border-left-color:rgb(108,226,108); border-left-width:3px; border-left-style:solid; background-color:rgb(248,248,248)"> <strong>[cpp]</strong> <a class="ViewSource" title="view plain" href="http://blog.csdn.net/xiaominghimi/article/details/6938675#" rel="nofollow" style="margin:0px 10px 0px 0px; padding:1px; width:16px; height:16px; color:rgb(160,160,160); text-indent:-2000px; font-size:9px; text-decoration:none; display:inline-block; background-color:inherit"> view plain</a><a class="CopyToClipboard" title="copy" href="http://blog.csdn.net/xiaominghimi/article/details/6938675#" rel="nofollow" style="margin:0px 10px 0px 0px; padding:1px; width:16px; height:16px; color:rgb(160,160,160); text-indent:-2000px; font-size:9px; text-decoration:none; display:inline-block; background-color:inherit">copy</a> <div style="left:380px; top:1302px; width:17px; height:17px; position:absolute; z-index:99"> </div> </div> </div> <ol start="1" style="color:rgb(92,92,92); margin-top:0px!important; margin-bottom:1px!important; margin-left:45px!important"> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; color:inherit; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"><span style="color:#0820; margin:0px; padding:0px; background-color:inherit">//---------Cocos2d-X代码部分-- </span><span style="margin:0px; padding:0px; background-color:inherit"> </span></span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important; background-color:rgb(248,248,248)"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"> CCParticleSystem *tempSystem =ARCH_OPTIMAL_PARTICLE_SYSTEM::particleWithFile(<span style="color:blue; margin:0px; padding:0px; background-color:inherit">"himi.plist"</span><span style="margin:0px; padding:0px; background-color:inherit">); </span></span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; color:inherit; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"> tempSystem-&gt;setPosition(ccp(100,100)); </span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important; background-color:rgb(248,248,248)"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"> <span style="color:#06699; margin:0px; padding:0px; font-weight:bold; background-color:inherit"> this</span><span style="margin:0px; padding:0px; background-color:inherit">-&gt;addChild(tempSystem); </span></span> </li> </ol> </div> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> <strong> 使用Cocos2d-iphone:</strong></p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> </p> <div style="margin:18px 0px; width:1192px; line-height:25px; padding-top:1px; font-family:Consolas,'Courier New',Courier,mono,serif; font-size:12px; overflow-x:auto; overflow-y:auto"> <div style="padding-left:45px"> <div style="padding:3px 8px 10px 10px; color:silver; line-height:normal; font-family:Verdana,Geneva,Arial,Helvetica,sans-serif; font-size:9px; border-left-color:rgb(108,226,108); border-left-width:3px; border-left-style:solid; background-color:rgb(248,248,248)"> <strong>[cpp]</strong> <a class="ViewSource" title="view plain" href="http://blog.csdn.net/xiaominghimi/article/details/6938675#" rel="nofollow" style="margin:0px 10px 0px 0px; padding:1px; width:16px; height:16px; color:rgb(160,160,160); text-indent:-2000px; font-size:9px; text-decoration:none; display:inline-block; background-color:inherit"> view plain</a><a class="CopyToClipboard" title="copy" href="http://blog.csdn.net/xiaominghimi/article/details/6938675#" rel="nofollow" style="margin:0px 10px 0px 0px; padding:1px; width:16px; height:16px; color:rgb(160,160,160); text-indent:-2000px; font-size:9px; text-decoration:none; display:inline-block; background-color:inherit">copy</a> <div style="left:380px; top:1483px; width:17px; height:17px; position:absolute; z-index:99"> </div> </div> </div> <ol start="1" style="color:rgb(92,92,92); margin-top:0px!important; margin-bottom:1px!important; margin-left:45px!important"> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; color:inherit; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important"> <span style="color:black; margin:0px; padding:0px; background-color:inherit"><span style="color:#0820; margin:0px; padding:0px; background-color:inherit">//---------Cocos2d-iphone代码部分--</span><span style="margin:0px; padding:0px; background-color:inherit"> </span></span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important; background-color:rgb(248,248,248)"> <span style="color:black; margin:0px; padding:0px; background-color:inherit">CCParticleSystem *tempSystem =[ARCH_OPTIMAL_PARTICLE_SYSTEM particleWithFile:@<span style="color:blue; margin:0px; padding:0px; background-color:inherit">"himi.plist"</span><span style="margin:0px; padding:0px; background-color:inherit">]; </span></span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; color:inherit; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important"> <span style="color:black; margin:0px; padding:0px; background-color:inherit">tempSystem.position=ccp(100,100); </span> </li> <li style="border-style:none none none solid; margin:0px; padding:0px 3px 0px 10px!important; line-height:20px; border-left-color:rgb(108,226,108); border-left-width:3px; list-style-type:decimal-leading-zero; list-style-position:outside!important; background-color:rgb(248,248,248)"> <span style="color:black; margin:0px; padding:0px; background-color:inherit">[self addChild:tempSystem]; </span> </li> </ol> </div> <br style="line-height:25px; font-family:Arial"><br style="line-height:25px; font-family:Arial"><span style="font-family:Arial; line-height:25px"> 通过以上随便举例的两段代码童鞋们很清楚的看出来,基本上没有差异。</span> <p style="line-height:25px; font-family:Arial; margin-top:0px; margin-bottom:0px"> </p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> <strong>这里还有三点要说下:</strong></p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> </p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> 第一:现在很多游戏公司都趋向于Cocos2d-X引擎开发游戏的趋势,不得不说Cocos2d-X多平台平移确实很诱惑人,而且通过网龙《91部落》手机网游的成功发布,不得不说Cocos2d-X已成熟!</p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> 第二:不少童鞋肯定会很想知道Cocos2d-X能多平台平移,那么平移稳定性如何?</p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> 通过Himi的了解,Cocos2d-X开发都会使用统一的C++语言开发,例如在iOS开发中使用Xcode+cocos2d-X,在Android上一般使用Eclipse+Android NDK+ADT....</p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> <span style="color:#ff00">其实总结一句,Cocos2d-iphone并不像很多童鞋认为的只要的一人开发就可打包多平台包这样子~ 如果说用一句话更贴切的形容Cocos2d-X,Himi会用“Cocos2d-X代码通用”来形容;</span></p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> <strong>从CC(CocoChina)上我看到王哲<span style="font-family:Arial,Helvetica,sans-serif; line-height:20px">walzer</span>(cocos2d-x 游戏引擎作者)在回复一童鞋问题时候这么说的:</strong></p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> 问:关于如何打包cocos2d-x程序的问题 本人新手,想请教一下如何将Cocos2d-x win32的程序打包成iphone能够运行的程序,请各位大大不吝赐教!谢谢!</p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> <strong>王哲<span style="font-family:Arial,Helvetica,sans-serif; line-height:20px">walzer</span></strong> 答:win32上只是让你调试方便,要发布到appstore上,你还是得有个mac机,装好cocos2d-x template,新建工程,然后把win32上代码拷过来,手工地加入xcode工程里面,编译运行</p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> </p> <p style="line-height:25px; padding-top:2px; padding-bottom:2px; font-family:Arial; margin-top:4px; margin-bottom:4px"> 从上面的对话可以证实Himi所说的Cocos2d-X是代码通用! OK,不多说了,大概就说这几点吧,继续忙了~</p> </div> </wbr>
分享到:
评论

相关推荐

    Cocos2d-x高级开发教程制作自己的《捕鱼达人》

    捕鱼达人游戏开发。Cocos2d-x高级开发教程:...曾经参与Cocos2d-x for Windows Phone 7引擎的开发,负责《捕鱼达人》系列游戏Windows Phone版本的移植工作,并参与了多个移动游戏项目的开发,拥有丰富的游戏开发经验。

    Cocos2d-x Game Development Essentials 书籍

    Cocos2d-x is an amazing open source game engine that allows developers to exploit their existing C++, Lua, and JavaScript knowledge for cross-platform deployment into iOS, Android, Windows Phone, ...

    cocos2d-x游戏开发详细教程

    Cocos2D也拥有几个主要版本,包括Cocos2D-iPhone、Cocos2D-X,以及被社区普遍看好的Cocos2D-HTML5和JavaScript bindings for Cocos2D-X。同时也拥有了非常优秀的编辑器(独立编辑器),例如SpriteSheet Editors、...

    cocos2d-iphone~cocos2d-html5移植之旅

    cocos2d-iphone~cocos2d-html5移植之旅

    Cocos2d-x高级开发教程

    Cocos2d-x是一个开源的移动2D游戏框架,MIT许可证下发布的。这是一个C++ Cocos2d-iPhone项目的版本...Cocos2d-x还支持Windows、Mac和Linux等桌面操作系统,因此,开发者编写的源代码很容易在桌面操作系统中编辑和调试。

    cocos2d-iphone 2.1 第一部分

    继续输入cd Cocos2d-iPhone-0.99.5(cd Cocos2d-iPhone-0.99.5为解压的cocos2d文件夹名称)进入cocos2d文件夹中。 4。继续输入./install-templates.sh则打开你文件夹下面的install-templates.sh进行cocos2d的安装。...

    Cocos2D-X游戏开发技术精解

    Cocos2d-x 是一个支持多平台的 2D 手机游戏引擎,使用 C++ 开发,基于OpenGL ES,基于Cocos2d-iphone,支持 WOPhone, iOS 4.1, Android 2.1 及更高版本, WindowsXP & Windows7,WindowsPhone 8. Cocos2d-x是一个开源...

    cocos2d-x游戏开发详细教程, 附带超详细cocos2d学习路径图

    Cocos2D也拥有几个主要版本,包括Cocos2D-iPhone、Cocos2D-X,以及被社区普遍看好的Cocos2D-HTML5和JavaScript bindings for Cocos2D-X。同时也拥有了非常优秀的编辑器(独立编辑器),例如SpriteSheet Editors、...

    cocos2d-iphone-2.0.tar.gz

    免费、开源的2D游戏开发引擎,适用于iphone、ipad游戏开发。

    cocos2d-objc-ext, Cocos2D iphone的扩展和实用程序类.zip

    cocos2d-objc-ext, Cocos2D iphone的扩展和实用程序类 Cocos2D扩展cocos2d-iphone的扩展和实用程序类。cocos2d-iphone-ext,将包括不同的类和库,而不是suitet发布的官方 cocos2d-iphone 。 一些类最初可以能会被...

    cocos2d-x手机游戏开发 跨iOS、Android和沃Phone平台

    cocos2d-x手机游戏开发 跨iOS、Android和沃Phone平台

    cocos2d-x联网

    这是一个关于cocos2d-x的使用http连接百度服务器下载数据的例子,并且下载完数据还把数据本地化到iphone程序中,模拟的是iphone程序的网络下载过程。

    cocos2d-1.0.1-x-0.11.0.chm

    cocos2d-x 用于android iphone pc上移动游戏开发的框架库与应用模板 cocos2d-1.0.1-x-0.11.0 版本的 chm 类与函数 文档! 包括:box2d文档。

    4.[开源][安卓]cocos2d-x-3-框架源码

    在移动开发领域,将Cocos2D-X用于主流iOS/Android游戏开发的公司、开发团队多不胜数。cocos2d-x是一个开源的支持多平 台的2D游戏框架,使用C++开发,基于cocos2d-iphone,在MIT许可证下发布。主分支在GitHub上使用...

    Cocos2d-x实战 C++卷,完整扫描版

    本书共29章,按内容结构可分为六篇: 第一篇开发基础,即第2章~第8章,内容包括Cocos2d-x简介、环境搭建、字符串、标签、菜单、精灵、场景、层、动作、特效、动画和Cocos2d-x用户事件。 第二篇开发进阶,即第9章~...

    【iOS-Cocos2d游戏开发】Cocos2d-iPhone动作Action-扩展动作

    【iOS-Cocos2d游戏开发】Cocos2d-iPhone动作Action-扩展动作 http://blog.csdn.net/tt5267621/article/details/7626450

    Cocos2d-x学习资料汇总

    教程名称: Cocos2d-x学习资料汇总【】(译)cocos2d菜单教程:第一部分【】cocos2d-iPhone_Programming_Guide【】cocos2d-x2.0射击游戏实现沈大海【】cocos2d-x2.0版本自适应屏幕分辨率AutoScaleTest【】Cocos2d-x_...

    cocos2d-x《魔塔》中期(版本2.2.2)

    《cocos2d-x手机游戏开发--跨iOS、Android和沃Phone平台》(ISBN:978-7-115-26766-5)书中实例,所用版本为2.2.2

    Cocos2D-iPhone

    Cocos2D-iPhone是 一个开源框架,利用它可以非常容易的在iPhone上开发2D游戏。它提供了物理,精灵(sprites),时差卷轴(parallax scrolling),支持iPhone touch和accelerator等很多功能。

    Cocco2D-iPhone-04.rar_Cocco2D iPhone_cocos2d_cocos2d-x_iphone 游戏

    Cocos2D-iPhone 游戏开发教程4,与你一起成长为iPhone游戏开发高手!

Global site tag (gtag.js) - Google Analytics