日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

plist使用

發布時間:2024/9/20 编程问答 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 plist使用 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

為什么80%的碼農都做不了架構師?>>> ??

??? ??? ????.

?

<IMG style="BORDER-BOTTOM: rgb(0,0,0); BORDER-LEFT: rgb(0,0,0); BORDER-TOP: rgb(0,0,0); CURSOR: pointer; BORDER-RIGHT: rgb(0,0,0)" id=20130528_6/dlehddus84_13697504426271cgcD_PNG/7.png class=_photoImage οnclick="popview(this, '90000003_0000000000000004B34B4E52')" alt="" src="http://postfiles7.naver.net/20130528_6/dlehddus84_13697504426271cgcD_PNG/7.png?type=w2" width=740 height=503>

?

??? ?????.

?

?

<IMG style="BORDER-BOTTOM: rgb(0,0,0); BORDER-LEFT: rgb(0,0,0); BORDER-TOP: rgb(0,0,0); CURSOR: pointer; BORDER-RIGHT: rgb(0,0,0)" id=20130528_58/dlehddus84_1369750935629YVsGr_PNG/8.png class=_photoImage οnclick="popview(this, '90000003_0000000000000004B34B4E52')" alt="" src="http://postfiles11.naver.net/20130528_58/dlehddus84_1369750935629YVsGr_PNG/8.png?type=w2" width=740 height=503>

?

?? ? ??? cocos2d-x ????? ???? ?????.



<IMG style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-TOP: medium none; CURSOR: pointer; BORDER-RIGHT: medium none" id=20130528_163/dlehddus84_1369750935905W8ivG_PNG/11.png class=_photoImage οnclick="popview(this, '90000003_0000000000000004B34B4E52')" alt="" src="http://postfiles4.naver.net/20130528_163/dlehddus84_1369750935905W8ivG_PNG/11.png?type=w2" width=740 height=444>

?

plist ??? ??????.

?

?

?? ??? ??? ?? ?????.

?

? CCSpriteFrameCache *Cache = CCSpriteFrameCache::sharedSpriteFrameCache();
??Cache->addSpriteFramesWithFile("w_bear.plist");

??CCSprite *w_bear = CCSprite::createWithSpriteFrameName("w_bear01.png");

??w_bear->setPosition(ccp(100, 100));
?
??CCSpriteFrame *frame1 = CCSpriteFrameCache::sharedSpriteFrameCache()->spriteFrameByName("w_bear01.png");
??CCSpriteFrame *frame2 = CCSpriteFrameCache::sharedSpriteFrameCache()->spriteFrameByName("w_bear02.png");
??CCSpriteFrame *frame3 = CCSpriteFrameCache::sharedSpriteFrameCache()->spriteFrameByName("w_bear03.png");
??CCSpriteFrame *frame4 = CCSpriteFrameCache::sharedSpriteFrameCache()->spriteFrameByName("w_bear04.png");
?
??CCArray *frame = new CCArray;
??frame->addObject(frame1);
??frame->addObject(frame2);
??frame->addObject(frame3);
??frame->addObject(frame4);

??CCAnimation *animation = CCAnimation::createWithSpriteFrames(frame, 0.3);
??CCAnimate *animate = CCAnimate::create(animation);
??CCAction *action = CCRepeatForever::create(animate);

??w_bear->runAction(action);

??this->addChild(w_bear);?

?

?????? ??????.

?

<IMG style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-TOP: medium none; CURSOR: pointer; BORDER-RIGHT: medium none" id=20130528_206/dlehddus84_1369752717583n1cKC_GIF/1.gif class=_photoImage οnclick="popview(this, '90000003_0000000000000004B34B4E52')" alt="" src="http://postfiles15.naver.net/20130528_206/dlehddus84_1369752717583n1cKC_GIF/1.gif?type=w2" width=496 height=358>

?

??? ?????.

?

?

??? ???? ?? ??? ? ? ????.

?

[??]?Texture packer ???? / ???|????????????

轉載于:https://my.oschina.net/u/1777508/blog/489723

與50位技術專家面對面20年技術見證,附贈技術全景圖

總結

以上是生活随笔為你收集整理的plist使用的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。