mirror of https://github.com/axmolengine/axmol.git
modify picture and set android icon for HelloLua
This commit is contained in:
parent
40b1798f41
commit
9890a4f655
|
@ -93,20 +93,13 @@ spriteDog:setPosition(cocos2d.CCPoint(0, winSize.height/4*3))
|
|||
layerFarm:addChild(spriteDog)
|
||||
|
||||
animation = cocos2d.CCAnimation:animation()
|
||||
animation:addFrame(frame0)
|
||||
animation:addFrame(frame1)
|
||||
animation:setDelay(0.5)
|
||||
animation:setName('wait')
|
||||
|
||||
animFrames = cocos2d.CCMutableArray_CCSpriteFrame__:new(2)
|
||||
animFrames:addObject(frame0)
|
||||
animFrames:addObject(frame1)
|
||||
--animation = cocos2d.CCAnimation:animationWithName("wait", 0.5, animFrames)
|
||||
|
||||
animation = cocos2d.CCAnimation:animationWithFrames(animFrames,0.5)
|
||||
|
||||
|
||||
animation = cocos2d.CCAnimation:animationWithFrames(animFrames, 0.5)
|
||||
|
||||
animate = cocos2d.CCAnimate:actionWithAnimation(animation, false);
|
||||
spriteDog:runAction(cocos2d.CCRepeatForever:actionWithAction(animate))
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="8"/>
|
||||
|
||||
<application android:label="@string/app_name"
|
||||
android:debuggable="true">
|
||||
android:debuggable="true" android:icon="@drawable/icon">
|
||||
|
||||
<activity android:name=".HelloLua"
|
||||
android:label="@string/app_name"
|
||||
|
|
Loading…
Reference in New Issue