├── .cocos-project.json ├── .project ├── CMakeLists.txt ├── README.md ├── config.json ├── deploy.bat ├── frameworks └── cocos2d-html5 │ ├── .gitignore │ ├── AUTHORS.txt │ ├── Base64Images.js │ ├── CCBoot.js │ ├── CCDebugger.js │ ├── CHANGELOG.txt │ ├── README.mdown │ ├── bower.json │ ├── cocos2d │ ├── actions │ │ ├── CCAction.js │ │ ├── CCActionCatmullRom.js │ │ ├── CCActionEase.js │ │ ├── CCActionInstant.js │ │ ├── CCActionInterval.js │ │ └── CCActionTween.js │ ├── actions3d │ │ ├── CCActionGrid.js │ │ ├── CCActionGrid3D.js │ │ ├── CCActionPageTurn3D.js │ │ └── CCActionTiledGrid.js │ ├── audio │ │ └── CCAudio.js │ ├── clipping-nodes │ │ ├── CCClippingNode.js │ │ ├── CCClippingNodeCanvasRenderCmd.js │ │ └── CCClippingNodeWebGLRenderCmd.js │ ├── compression │ │ ├── ZipUtils.js │ │ ├── base64.js │ │ ├── gzip.js │ │ └── zlib.min.js │ ├── core │ │ ├── CCActionManager.js │ │ ├── CCConfiguration.js │ │ ├── CCDirector.js │ │ ├── CCDirectorCanvas.js │ │ ├── CCDirectorWebGL.js │ │ ├── CCDrawingPrimitivesCanvas.js │ │ ├── CCDrawingPrimitivesWebGL.js │ │ ├── CCScheduler.js │ │ ├── base-nodes │ │ │ ├── BaseNodesPropertyDefine.js │ │ │ ├── CCAtlasNode.js │ │ │ ├── CCAtlasNodeCanvasRenderCmd.js │ │ │ ├── CCAtlasNodeWebGLRenderCmd.js │ │ │ ├── CCNode.js │ │ │ ├── CCNodeCanvasRenderCmd.js │ │ │ └── CCNodeWebGLRenderCmd.js │ │ ├── cocoa │ │ │ ├── CCAffineTransform.js │ │ │ └── CCGeometry.js │ │ ├── cocos2d_externs.js │ │ ├── event-manager │ │ │ ├── CCEvent.js │ │ │ ├── CCEventExtension.js │ │ │ ├── CCEventHelper.js │ │ │ ├── CCEventListener.js │ │ │ ├── CCEventManager.js │ │ │ └── CCTouch.js │ │ ├── labelttf │ │ │ ├── CCLabelTTF.js │ │ │ ├── CCLabelTTFCanvasRenderCmd.js │ │ │ ├── CCLabelTTFWebGLRenderCmd.js │ │ │ └── LabelTTFPropertyDefine.js │ │ ├── layers │ │ │ ├── CCLayer.js │ │ │ ├── CCLayerCanvasRenderCmd.js │ │ │ └── CCLayerWebGLRenderCmd.js │ │ ├── platform │ │ │ ├── CCClass.js │ │ │ ├── CCCommon.js │ │ │ ├── CCConfig.js │ │ │ ├── CCEGLView.js │ │ │ ├── CCInputExtension.js │ │ │ ├── CCInputManager.js │ │ │ ├── CCLoaders.js │ │ │ ├── CCMacro.js │ │ │ ├── CCSAXParser.js │ │ │ ├── CCScreen.js │ │ │ ├── CCTypes.js │ │ │ ├── CCTypesPropertyDefine.js │ │ │ ├── CCTypesWebGL.js │ │ │ ├── CCVisibleRect.js │ │ │ └── miniFramework.js │ │ ├── renderer │ │ │ ├── GlobalVertexBuffer.js │ │ │ ├── RendererCanvas.js │ │ │ └── RendererWebGL.js │ │ ├── scenes │ │ │ ├── CCLoaderScene.js │ │ │ └── CCScene.js │ │ ├── sprites │ │ │ ├── CCAnimation.js │ │ │ ├── CCAnimationCache.js │ │ │ ├── CCBakeSprite.js │ │ │ ├── CCSprite.js │ │ │ ├── CCSpriteBatchNode.js │ │ │ ├── CCSpriteCanvasRenderCmd.js │ │ │ ├── CCSpriteFrame.js │ │ │ ├── CCSpriteFrameCache.js │ │ │ ├── CCSpriteWebGLRenderCmd.js │ │ │ └── SpritesPropertyDefine.js │ │ ├── support │ │ │ ├── CCPointExtension.js │ │ │ ├── CCVertex.js │ │ │ └── TransformUtils.js │ │ ├── textures │ │ │ ├── CCTexture2D.js │ │ │ ├── CCTextureAtlas.js │ │ │ ├── CCTextureCache.js │ │ │ ├── TexturesPropertyDefine.js │ │ │ └── TexturesWebGL.js │ │ └── utils │ │ │ ├── BinaryLoader.js │ │ │ ├── CCProfiler.js │ │ │ └── CCSimplePool.js │ ├── effects │ │ ├── CCGrabber.js │ │ └── CCGrid.js │ ├── kazmath │ │ ├── SIMDPolyfill.js │ │ ├── aabb.js │ │ ├── gl │ │ │ ├── mat4stack.js │ │ │ └── matrix.js │ │ ├── mat3.js │ │ ├── mat4.js │ │ ├── mat4SIMD.js │ │ ├── plane.js │ │ ├── quaternion.js │ │ ├── ray2.js │ │ ├── simd_benchmark │ │ │ ├── base.js │ │ │ ├── index.html │ │ │ ├── kernel-template.js │ │ │ ├── kmMat4AreEqual.js │ │ │ ├── kmMat4Assign.js │ │ │ ├── kmMat4Inverse.js │ │ │ ├── kmMat4IsIdentity.js │ │ │ ├── kmMat4LookAt.js │ │ │ ├── kmMat4Multiply.js │ │ │ ├── kmMat4Transpose.js │ │ │ ├── kmVec3TransformCoord.js │ │ │ ├── run.js │ │ │ └── run_browser.js │ │ ├── utility.js │ │ ├── vec2.js │ │ ├── vec3.js │ │ ├── vec3SIMD.js │ │ └── vec4.js │ ├── labels │ │ ├── CCLabelAtlas.js │ │ ├── CCLabelAtlasCanvasRenderCmd.js │ │ ├── CCLabelAtlasWebGLRenderCmd.js │ │ ├── CCLabelBMFont.js │ │ ├── CCLabelBMFontCanvasRenderCmd.js │ │ └── CCLabelBMFontWebGLRenderCmd.js │ ├── menus │ │ ├── CCMenu.js │ │ └── CCMenuItem.js │ ├── motion-streak │ │ ├── CCMotionStreak.js │ │ └── CCMotionStreakWebGLRenderCmd.js │ ├── node-grid │ │ ├── CCNodeGrid.js │ │ └── CCNodeGridWebGLRenderCmd.js │ ├── parallax │ │ ├── CCParallaxNode.js │ │ └── CCParallaxNodeRenderCmd.js │ ├── particle │ │ ├── CCPNGReader.js │ │ ├── CCParticleBatchNode.js │ │ ├── CCParticleBatchNodeCanvasRenderCmd.js │ │ ├── CCParticleBatchNodeWebGLRenderCmd.js │ │ ├── CCParticleExamples.js │ │ ├── CCParticleSystem.js │ │ ├── CCParticleSystemCanvasRenderCmd.js │ │ ├── CCParticleSystemWebGLRenderCmd.js │ │ └── CCTIFFReader.js │ ├── physics │ │ ├── CCPhysicsDebugNode.js │ │ ├── CCPhysicsDebugNodeCanvasRenderCmd.js │ │ ├── CCPhysicsDebugNodeWebGLRenderCmd.js │ │ ├── CCPhysicsSprite.js │ │ ├── CCPhysicsSpriteCanvasRenderCmd.js │ │ └── CCPhysicsSpriteWebGLRenderCmd.js │ ├── progress-timer │ │ ├── CCActionProgressTimer.js │ │ ├── CCProgressTimer.js │ │ ├── CCProgressTimerCanvasRenderCmd.js │ │ └── CCProgressTimerWebGLRenderCmd.js │ ├── render-texture │ │ ├── CCRenderTexture.js │ │ ├── CCRenderTextureCanvasRenderCmd.js │ │ └── CCRenderTextureWebGLRenderCmd.js │ ├── shaders │ │ ├── CCGLProgram.js │ │ ├── CCGLStateCache.js │ │ ├── CCShaderCache.js │ │ └── CCShaders.js │ ├── shape-nodes │ │ ├── CCDrawNode.js │ │ ├── CCDrawNodeCanvasRenderCmd.js │ │ └── CCDrawNodeWebGLRenderCmd.js │ ├── text-input │ │ ├── CCIMEDispatcher.js │ │ └── CCTextFieldTTF.js │ ├── tilemap │ │ ├── CCTGAlib.js │ │ ├── CCTMXLayer.js │ │ ├── CCTMXLayerCanvasRenderCmd.js │ │ ├── CCTMXLayerWebGLRenderCmd.js │ │ ├── CCTMXObjectGroup.js │ │ ├── CCTMXTiledMap.js │ │ └── CCTMXXMLParser.js │ └── transitions │ │ ├── CCTransition.js │ │ ├── CCTransitionPageTurn.js │ │ └── CCTransitionProgress.js │ ├── extensions │ ├── ccb-reader │ │ ├── CCBAnimationManager.js │ │ ├── CCBKeyframe.js │ │ ├── CCBReader.js │ │ ├── CCBReaderUtil.js │ │ ├── CCBRelativePositioning.js │ │ ├── CCBSequence.js │ │ ├── CCBValue.js │ │ ├── CCControlLoader.js │ │ ├── CCNodeLoader.js │ │ ├── CCNodeLoaderLibrary.js │ │ └── CCSpriteLoader.js │ ├── ccpool │ │ └── CCPool.js │ ├── ccui │ │ ├── base-classes │ │ │ ├── CCProtectedNode.js │ │ │ ├── CCProtectedNodeCanvasRenderCmd.js │ │ │ ├── CCProtectedNodeWebGLRenderCmd.js │ │ │ ├── UIScale9Sprite.js │ │ │ ├── UIScale9SpriteCanvasRenderCmd.js │ │ │ ├── UIScale9SpriteWebGLRenderCmd.js │ │ │ ├── UIWidget.js │ │ │ └── UIWidgetRenderCmd.js │ │ ├── layouts │ │ │ ├── UIHBox.js │ │ │ ├── UILayout.js │ │ │ ├── UILayoutCanvasRenderCmd.js │ │ │ ├── UILayoutComponent.js │ │ │ ├── UILayoutManager.js │ │ │ ├── UILayoutParameter.js │ │ │ ├── UILayoutWebGLRenderCmd.js │ │ │ ├── UIRelativeBox.js │ │ │ └── UIVBox.js │ │ ├── system │ │ │ ├── CocosGUI.js │ │ │ └── UIHelper.js │ │ └── uiwidgets │ │ │ ├── UIButton.js │ │ │ ├── UICheckBox.js │ │ │ ├── UIImageView.js │ │ │ ├── UILoadingBar.js │ │ │ ├── UIRichText.js │ │ │ ├── UISlider.js │ │ │ ├── UIText.js │ │ │ ├── UITextAtlas.js │ │ │ ├── UITextBMFont.js │ │ │ ├── UITextField.js │ │ │ ├── UIVideoPlayer.js │ │ │ ├── UIWebView.js │ │ │ └── scroll-widget │ │ │ ├── UIListView.js │ │ │ ├── UIPageView.js │ │ │ ├── UIPageViewIndicator.js │ │ │ ├── UIScrollView.js │ │ │ ├── UIScrollViewBar.js │ │ │ ├── UIScrollViewCanvasRenderCmd.js │ │ │ └── UIScrollViewWebGLRenderCmd.js │ ├── cocostudio │ │ ├── CocoStudio.js │ │ ├── action │ │ │ ├── CCActionFrame.js │ │ │ ├── CCActionManager.js │ │ │ ├── CCActionNode.js │ │ │ └── CCActionObject.js │ │ ├── armature │ │ │ ├── CCArmature.js │ │ │ ├── CCArmatureCanvasRenderCmd.js │ │ │ ├── CCArmatureWebGLRenderCmd.js │ │ │ ├── CCBone.js │ │ │ ├── animation │ │ │ │ ├── CCArmatureAnimation.js │ │ │ │ ├── CCProcessBase.js │ │ │ │ └── CCTween.js │ │ │ ├── datas │ │ │ │ └── CCDatas.js │ │ │ ├── display │ │ │ │ ├── CCBatchNode.js │ │ │ │ ├── CCDecorativeDisplay.js │ │ │ │ ├── CCDisplayFactory.js │ │ │ │ ├── CCDisplayManager.js │ │ │ │ ├── CCSkin.js │ │ │ │ └── CCSkinRenderCmd.js │ │ │ ├── physics │ │ │ │ └── CCColliderDetector.js │ │ │ └── utils │ │ │ │ ├── CCArmatureDataManager.js │ │ │ │ ├── CCArmatureDefine.js │ │ │ │ ├── CCDataReaderHelper.js │ │ │ │ ├── CCSpriteFrameCacheHelper.js │ │ │ │ ├── CCTransformHelp.js │ │ │ │ ├── CCTweenFunction.js │ │ │ │ └── CCUtilMath.js │ │ ├── components │ │ │ ├── CCComAttribute.js │ │ │ ├── CCComAudio.js │ │ │ ├── CCComController.js │ │ │ ├── CCComRender.js │ │ │ ├── CCComponent.js │ │ │ └── CCComponentContainer.js │ │ ├── loader │ │ │ ├── load.js │ │ │ └── parsers │ │ │ │ ├── action-1.x.js │ │ │ │ ├── action-2.x.js │ │ │ │ ├── compatible.js │ │ │ │ ├── scene-1.x.js │ │ │ │ ├── timelineParser-1.x.js │ │ │ │ ├── timelineParser-2.x.js │ │ │ │ └── uiParser-1.x.js │ │ ├── timeline │ │ │ ├── ActionTimeline.js │ │ │ ├── CCBoneNode.js │ │ │ ├── CCSkeletonNode.js │ │ │ ├── CCSkinNode.js │ │ │ ├── Frame.js │ │ │ └── Timeline.js │ │ └── trigger │ │ │ ├── ObjectFactory.js │ │ │ ├── TriggerBase.js │ │ │ ├── TriggerMng.js │ │ │ └── TriggerObj.js │ ├── editbox │ │ ├── CCEditBox.js │ │ └── CCdomNode.js │ ├── gui │ │ ├── control-extension │ │ │ ├── CCControl.js │ │ │ ├── CCControlButton.js │ │ │ ├── CCControlColourPicker.js │ │ │ ├── CCControlHuePicker.js │ │ │ ├── CCControlPotentiometer.js │ │ │ ├── CCControlSaturationBrightnessPicker.js │ │ │ ├── CCControlSlider.js │ │ │ ├── CCControlStepper.js │ │ │ ├── CCControlSwitch.js │ │ │ ├── CCControlUtils.js │ │ │ ├── CCInvocation.js │ │ │ └── CCMenuPassive.js │ │ └── scrollview │ │ │ ├── CCScrollView.js │ │ │ ├── CCScrollViewCanvasRenderCmd.js │ │ │ ├── CCScrollViewWebGLRenderCmd.js │ │ │ ├── CCSorting.js │ │ │ └── CCTableView.js │ ├── runtime │ │ └── CCLoaderLayer.js │ └── spine │ │ ├── CCSkeleton.js │ │ ├── CCSkeletonAnimation.js │ │ ├── CCSkeletonCanvasRenderCmd.js │ │ ├── CCSkeletonWebGLRenderCmd.js │ │ └── Spine.js │ ├── external │ ├── box2d │ │ └── box2d.js │ ├── chipmunk │ │ └── chipmunk.js │ ├── gaf │ │ ├── GAFBoot.js │ │ ├── GAFMacros.js │ │ ├── Library │ │ │ ├── GAFAsset.js │ │ │ ├── GAFAssetPreload.js │ │ │ ├── GAFAtlasLoader.js │ │ │ ├── GAFDataReader.js │ │ │ ├── GAFLoader.js │ │ │ ├── GAFMask.js │ │ │ ├── GAFMaskProto.js │ │ │ ├── GAFObject.js │ │ │ ├── GAFShaderManager.js │ │ │ ├── GAFShaders.js │ │ │ ├── GAFSprite.js │ │ │ ├── GAFSpriteCanvasRenderCmd.js │ │ │ ├── GAFSpriteProto.js │ │ │ ├── GAFSpriteWebGLRenderCmd.js │ │ │ ├── GAFTags.js │ │ │ ├── GAFTextField.js │ │ │ ├── GAFTimeLine.js │ │ │ └── GAFTimeLineProto.js │ │ ├── gaf_viewer.css │ │ ├── gaf_viewer.html │ │ └── gaf_viewer.js │ ├── pluginx │ │ ├── Plugin.js │ │ └── platform │ │ │ ├── facebook.js │ │ │ └── facebook_sdk.js │ └── socketio │ │ ├── socket.io.js │ │ └── socket.io.min.js │ ├── jsb_apis.js │ ├── licenses │ ├── LICENSE_cocos2d-html5.txt │ ├── LICENSE_cocos2d-x.txt │ └── LICENSE_zlib.js.txt │ ├── moduleConfig.json │ ├── template │ ├── index.html │ ├── main.js │ ├── project.json │ ├── res │ │ ├── HD │ │ │ ├── CloseNormal.png │ │ │ ├── CloseSelected.png │ │ │ └── HelloWorld.jpg │ │ ├── Normal │ │ │ ├── CloseNormal.png │ │ │ ├── CloseSelected.png │ │ │ └── HelloWorld.jpg │ │ ├── favicon.ico │ │ └── loading.js │ └── src │ │ ├── myApp.js │ │ └── resource.js │ └── tools │ ├── XmlCheck.js │ ├── build.xml │ ├── compiler │ └── compiler.jar │ ├── core4cc.js │ ├── genBuildXml.js │ ├── jsdoc_toolkit │ └── build.xml │ ├── publish.js │ ├── readme for tools.txt │ └── template │ └── build.xml ├── index.html ├── main.js ├── manifest.webapp ├── pandaCard功能表.png ├── project.json ├── res ├── AttributeLayer.json ├── BagItem.json ├── BagLayer.json ├── BgLayer.json ├── BuZhenLayer.json ├── Default │ ├── Button_Normal.png │ ├── Button_Press.png │ ├── Sprite.png │ └── TextAtlas.png ├── FightScene.json ├── LoginLayer.json ├── NewGuideLayer.json ├── RankLayer.json ├── RankWarLayer.json ├── TipsLayer.json ├── accChangeLayer.json ├── accDetailsLayer.json ├── accRefineLayer.json ├── accShowLayer.json ├── accStrenLayer.json ├── activityLayer.json ├── activityOneItem.json ├── activityTwoItem.json ├── arenaFightLayer.json ├── arenaItem.json ├── arenaLayer.json ├── arenaRankItem.json ├── arenaResLayer.json ├── armChangeLayer.json ├── armyAttributeLayer.json ├── armyAwakeItem.json ├── armyAwakeItem1.json ├── armyAwakeLayer.json ├── armyBreakLayer.json ├── armyChoiseLayer.json ├── armyDistinyLayer.json ├── armyEvolutionLayer.json ├── armyGoLayer.json ├── armyReformLayer.json ├── armyUpGradeLayer.json ├── arsenItem.json ├── arsenLayer.json ├── barrageLayer.json ├── bg │ ├── bg_stage001.jpg │ ├── bg_stage001.png │ ├── bg_stage002.png │ ├── bg_stage003.png │ ├── sandbags.png │ └── stone.png ├── boom01.json ├── bossLayer.json ├── bossRankGetItem.json ├── bossRankItem.json ├── bossResLayer.json ├── bossRewardItem.json ├── buyBaseLayer.json ├── buyBoxLayer.json ├── buyGoldLayer.json ├── buyNumLayer.json ├── carDetailsLayer.json ├── carLayer.json ├── carSeeItem.json ├── chatItem.json ├── chatLayer.json ├── city │ ├── city_bg.plist │ └── city_bg.png ├── cityLayer.json ├── cityShopLayer.json ├── common │ ├── a │ │ ├── box.plist │ │ └── box.png │ ├── a1 │ │ ├── commonA1.plist │ │ └── commonA1.png │ ├── a2 │ │ ├── a2_hd.plist │ │ └── a2_hd.png │ ├── b │ │ ├── bar.plist │ │ └── bar.png │ ├── break │ │ ├── break.plist │ │ └── break.png │ ├── c │ │ ├── button.plist │ │ └── button.png │ ├── c1 │ │ ├── c1_btn.plist │ │ └── c1_btn.png │ ├── d │ │ ├── artFont.plist │ │ └── artFont.png │ ├── explore │ │ ├── ecplore.plist │ │ └── ecplore.png │ ├── i │ │ ├── icon.plist │ │ └── icon.png │ ├── j │ │ ├── skill.plist │ │ └── skill.png │ ├── jiaren │ │ ├── jiaren.plist │ │ └── jiaren.png │ ├── n_login.jpg │ ├── n_login1.jpg │ ├── new │ │ ├── new_guide.plist │ │ └── new_guide.png │ ├── t │ │ ├── avatar.plist │ │ └── avatar.png │ ├── w │ │ ├── result.plist │ │ └── result.png │ ├── war │ │ ├── war_img.plist │ │ └── war_img.png │ ├── xuetiaobg.png │ ├── xuetiaofront.png │ └── xuetiaofront2.png ├── createRoleLayer.json ├── dateLayer.json ├── dayWorkItem.json ├── dayWorkLayer.json ├── effAppear.json ├── effArsenBox.json ├── effBoxLayer.json ├── effBreakItem1.json ├── effBreakItem2.json ├── effDieLayer.json ├── effEquDZItem.json ├── effFontLayer.json ├── effGlodLayer.json ├── effLightLayer.json ├── effLogin.json ├── effRecruit.json ├── effShell.json ├── effVs.json ├── effWarLayer.json ├── effatkboss.json ├── effatkbuff.json ├── effdefbuff.json ├── effect │ ├── Amainbtn.plist │ ├── Amainbtn.png │ ├── appear.plist │ ├── appear.png │ ├── atkboss.plist │ ├── atkboss.png │ ├── atkbuff.plist │ ├── atkbuff.png │ ├── defbuff.plist │ ├── defbuff.png │ ├── effHp.plist │ ├── effHp.png │ ├── eff_line1.plist │ ├── eff_line1.png │ ├── effbbox.plist │ ├── effbbox.png │ ├── efflogin │ │ ├── efflogin.plist │ │ └── efflogin.png │ ├── effnvshenck5.plist │ ├── effnvshenck5.png │ ├── effnvshenck6.plist │ ├── effnvshenck6.png │ ├── effvs │ │ ├── effvs.plist │ │ └── effvs.png │ ├── shellaim.plist │ ├── shellaim.png │ ├── shellexplode.plist │ ├── shellexplode.png │ ├── shellwarhead.plist │ ├── shellwarhead.png │ ├── speedbuff.plist │ ├── speedbuff.png │ ├── zymrwulizi.plist │ └── zymrwulizi.png ├── emailItem.json ├── emailLayer.json ├── embattleLayer.json ├── equipChangeLayer.json ├── equipDetailsLayer.json ├── equipForginLayer.json ├── equipItem.json ├── equipMasterLayer.json ├── equipRefineLayer.json ├── equipShowLayer.json ├── equipStrenLayer.json ├── exploreLayer.json ├── fastWarLayer.json ├── fightBottom.json ├── fightNumLayer.json ├── fightTop.json ├── fightTop1.json ├── font │ ├── arenaFnt.fnt │ ├── arenaFnt.png │ ├── dgblue.fnt │ ├── dgblue.png │ ├── dggreen.fnt │ ├── dggreen.png │ ├── dgred.fnt │ ├── dgred.png │ ├── dgyellow.fnt │ ├── dgyellow.png │ ├── fnt_jijin.fnt │ ├── fnt_jijin.png │ ├── fnt_text.TTF │ ├── number.fnt │ ├── number.png │ ├── numgray.fnt │ ├── numgray.png │ └── numyellow.png ├── friendItem.json ├── friendLayer.json ├── fuLiBJItem.json ├── fuLiBJItem2.json ├── fuLiDRItem.json ├── fuLiDRItem2.json ├── fuLiFLItem.json ├── fuLiLayer.json ├── fuLiYFLLayer.json ├── great │ ├── great.plist │ └── great.png ├── hero │ ├── ame_car001.plist │ ├── ame_car001.png │ ├── ame_car002.plist │ ├── ame_car002.png │ ├── ame_car003.plist │ ├── ame_car003.png │ ├── ame_car004.plist │ ├── ame_car004.png │ ├── ame_car005.plist │ ├── ame_car005.png │ ├── ame_car006.plist │ ├── ame_car006.png │ ├── ame_car007.plist │ ├── ame_car007.png │ ├── ame_car008.plist │ ├── ame_car008.png │ ├── ame_car009.plist │ ├── ame_car009.png │ ├── ame_car010.plist │ ├── ame_car010.png │ ├── ame_car011.plist │ ├── ame_car011.png │ ├── ame_car012.plist │ ├── ame_car012.png │ ├── ame_car013.plist │ ├── ame_car013.png │ ├── ame_car014.plist │ ├── ame_car014.png │ ├── ame_car015.plist │ ├── ame_car015.png │ ├── ame_car018.plist │ ├── ame_car018.png │ ├── ame_car019.plist │ ├── ame_car019.png │ ├── ame_car020.plist │ ├── ame_car020.png │ ├── ame_car021.plist │ ├── ame_car021.png │ ├── ame_car022.plist │ ├── ame_car022.png │ ├── ame_car024.plist │ ├── ame_car024.png │ ├── ame_npc001.plist │ ├── ame_npc001.png │ ├── ame_npc002.plist │ ├── ame_npc002.png │ ├── ame_npc003.plist │ ├── ame_npc003.png │ ├── ame_npc004.plist │ ├── ame_npc004.png │ ├── ame_npc005.plist │ ├── ame_npc005.png │ ├── ame_npc006.plist │ ├── ame_npc006.png │ ├── ame_npc007.plist │ ├── ame_npc007.png │ ├── com_arc001.plist │ ├── com_arc001.png │ ├── com_npc001.plist │ ├── com_npc001.png │ ├── com_npc002.plist │ ├── com_npc002.png │ ├── com_npc003.plist │ ├── com_npc003.png │ ├── gbr_car006.plist │ ├── gbr_car006.png │ ├── gbr_car007.plist │ ├── gbr_car007.png │ ├── gbr_car008.plist │ ├── gbr_car008.png │ ├── gbr_car009.plist │ ├── gbr_car009.png │ ├── gbr_car010.plist │ ├── gbr_car010.png │ ├── gbr_car011.plist │ ├── gbr_car011.png │ ├── gbr_car012.plist │ ├── gbr_car012.png │ ├── gbr_car013.plist │ ├── gbr_car013.png │ ├── gbr_car014.plist │ ├── gbr_car014.png │ ├── gbr_car015.plist │ ├── gbr_car015.png │ ├── gbr_npc001.plist │ ├── gbr_npc001.png │ ├── gbr_npc002.plist │ ├── gbr_npc002.png │ ├── gbr_npc003.plist │ ├── gbr_npc003.png │ ├── gbr_npc004.plist │ ├── gbr_npc004.png │ ├── gbr_npc005.plist │ ├── gbr_npc005.png │ ├── gbr_npc006.plist │ ├── gbr_npc006.png │ ├── ger_arc001.plist │ ├── ger_arc001.png │ ├── ger_arc002.plist │ ├── ger_arc002.png │ ├── ger_car001.plist │ ├── ger_car001.png │ ├── ger_car002.plist │ ├── ger_car002.png │ ├── ger_car003.plist │ ├── ger_car003.png │ ├── ger_car004.plist │ ├── ger_car004.png │ ├── ger_car005.plist │ ├── ger_car005.png │ ├── ger_car006.plist │ ├── ger_car006.png │ ├── ger_car007.plist │ ├── ger_car007.png │ ├── ger_car015.plist │ ├── ger_car015.png │ ├── ger_car017.plist │ ├── ger_car017.png │ ├── ger_car019.plist │ ├── ger_car019.png │ ├── ger_npc001.plist │ ├── ger_npc001.png │ ├── ger_npc002.plist │ ├── ger_npc002.png │ ├── ger_npc003.plist │ ├── ger_npc003.png │ ├── ger_npc004.plist │ ├── ger_npc004.png │ ├── ger_npc005.plist │ ├── ger_npc005.png │ ├── ger_npc006.plist │ ├── ger_npc006.png │ ├── ger_npc007.plist │ ├── ger_npc007.png │ ├── heroicon.plist │ ├── heroicon.png │ ├── jiqiang.plist │ ├── jiqiang.png │ ├── jpn_car008.plist │ ├── jpn_car008.png │ ├── jpn_car009.plist │ ├── jpn_car009.png │ ├── jpn_npc001.plist │ ├── jpn_npc001.png │ ├── jpn_npc002.plist │ ├── jpn_npc002.png │ ├── jpn_npc003.plist │ ├── jpn_npc003.png │ ├── jpn_npc004.plist │ ├── jpn_npc004.png │ ├── jpn_npc005.plist │ ├── jpn_npc005.png │ ├── jpn_npc006.plist │ ├── jpn_npc006.png │ ├── lta_npc001.plist │ ├── lta_npc001.png │ ├── lta_npc002.plist │ ├── lta_npc002.png │ ├── lta_npc003.plist │ ├── lta_npc003.png │ ├── lta_npc004.plist │ ├── lta_npc004.png │ ├── lta_npc005.plist │ ├── lta_npc005.png │ ├── lta_npc006.plist │ ├── lta_npc006.png │ ├── uss_car001.plist │ ├── uss_car001.png │ ├── uss_car002.plist │ ├── uss_car002.png │ ├── uss_car004.plist │ ├── uss_car004.png │ ├── uss_car007.plist │ ├── uss_car007.png │ ├── uss_car010.plist │ ├── uss_car010.png │ ├── uss_car011.plist │ ├── uss_car011.png │ ├── uss_car014.plist │ ├── uss_car014.png │ ├── uss_car016.plist │ ├── uss_car016.png │ ├── uss_car019.plist │ ├── uss_car019.png │ ├── uss_car020.plist │ ├── uss_car020.png │ ├── uss_car021.plist │ ├── uss_car021.png │ ├── uss_car024.plist │ ├── uss_car024.png │ ├── uss_npc001.plist │ ├── uss_npc001.png │ ├── uss_npc002.plist │ ├── uss_npc002.png │ ├── uss_npc003.plist │ ├── uss_npc003.png │ ├── uss_npc004.plist │ ├── uss_npc004.png │ ├── uss_npc005.plist │ ├── uss_npc005.png │ ├── uss_npc006.plist │ ├── uss_npc006.png │ ├── zeronpc.plist │ └── zeronpc.png ├── heroDateLayer.json ├── icon │ ├── ico_acy.plist │ ├── ico_acy.png │ ├── ico_equ.plist │ ├── ico_equ.png │ ├── ico_item.plist │ └── ico_item.png ├── intoBattleLayer.json ├── itemBreakLayer.json ├── itemChooseLayer.json ├── itemGetLayer.json ├── itemHeCLayer.json ├── itemJumpItem.json ├── itemJumpLayer.json ├── itemSeeLayer.json ├── js │ ├── loading.js │ └── zepto.min.js ├── jumpFindLayer.json ├── levelUpLayer.json ├── login │ ├── login_bg.plist │ └── login_bg.png ├── loseLayer.json ├── militaryRankLayer.json ├── navBottom.json ├── navarchyCarryItem.json ├── navarchyLayer.json ├── navarchySkillLayer.json ├── offlineLayer.json ├── partmerShowLayer.json ├── partmerShowLayer1.json ├── partnerLayer.json ├── rankItem.json ├── rankWarItem.json ├── recoverGetItem.json ├── recoverItem.json ├── recoverLayer.json ├── recruitLayer.json ├── serverItem.json ├── serverLayer.json ├── sevCreatLayer.json ├── sevGuideLayer.json ├── sevRegisterLayer.json ├── severItem.json ├── shopAreLayer.json ├── shopBuyLayer.json ├── shopBuyMLayer.json ├── shopCarItem.json ├── shopCarLayer.json ├── shopEquItem.json ├── shopEquLayer.json ├── shopHeroLayer.json ├── shopItem.json ├── shopLayer.json ├── skill │ ├── amm_art_bic01.plist │ ├── amm_art_bic01.png │ ├── amm_art_ski01.plist │ ├── amm_art_ski01.png │ ├── amm_art_ski02.plist │ ├── amm_art_ski02.png │ ├── amm_bom_ski01.plist │ ├── amm_bom_ski01.png │ ├── amm_bom_ski02.plist │ ├── amm_bom_ski02.png │ ├── amm_cru_bic01.plist │ ├── amm_cru_bic01.png │ ├── amm_cru_ski01.plist │ ├── amm_cru_ski01.png │ ├── amm_fire_bic01.plist │ ├── amm_fire_bic01.png │ ├── amm_fire_ski01.plist │ ├── amm_fire_ski01.png │ ├── amm_mis-pli01.plist │ ├── amm_mis-pli01.png │ ├── amm_mis_bic01.plist │ ├── amm_mis_bic01.png │ ├── amm_mis_bic02.plist │ ├── amm_mis_bic02.png │ ├── amm_mis_bic03.plist │ ├── amm_mis_bic03.png │ ├── amm_mis_pli01.plist │ ├── amm_mis_pli01.png │ ├── amm_mis_ski01.plist │ ├── amm_mis_ski01.png │ ├── amm_mis_ski02.plist │ ├── amm_mis_ski02.png │ ├── amm_rif_bic01.plist │ ├── amm_rif_bic01.png │ ├── amm_rif_bic02.plist │ ├── amm_rif_bic02.png │ ├── amm_rif_ski01.plist │ ├── amm_rif_ski01.png │ ├── amm_rif_ski02.plist │ ├── amm_rif_ski02.png │ ├── amm_rpg_bic01.plist │ ├── amm_rpg_bic01.png │ ├── amm_rpg_bic02.plist │ ├── amm_rpg_bic02.png │ ├── amm_rpg_bic03.plist │ ├── amm_rpg_bic03.png │ ├── amm_rpg_ski01.plist │ ├── amm_rpg_ski01.png │ ├── amm_rpg_ski02.plist │ ├── amm_rpg_ski02.png │ ├── amm_sni_ski01.plist │ ├── amm_sni_ski01.png │ ├── buff_cri01.plist │ ├── buff_cri01.png │ ├── buff_def01.plist │ ├── buff_def01.png │ ├── buff_def02.plist │ ├── buff_def02.png │ ├── buff_def03.plist │ ├── buff_def03.png │ ├── buff_ice01.plist │ ├── buff_ice01.png │ ├── buff_rep01.plist │ ├── buff_rep01.png │ ├── buff_sil01.plist │ ├── buff_sil01.png │ ├── buff_spe01.plist │ ├── buff_spe01.png │ ├── buff_ver01.plist │ ├── buff_ver01.png │ ├── com_rif_bic01.plist │ ├── com_rif_bic01.png │ ├── com_start01.plist │ ├── com_start01.png │ ├── eff_die01.plist │ ├── eff_die01.png │ ├── eff_sing01.plist │ ├── eff_sing01.png │ ├── eff_sing02.plist │ ├── eff_sing02.png │ ├── jiqiang.plist │ ├── jiqiang.png │ ├── skillBar.plist │ └── skillBar.png ├── speedbuff.json ├── starHeroLayer.json ├── sweepLayer.json ├── vipItem.json ├── vipLayer.json ├── vsGongRankItem.json ├── vsJiLuItem.json ├── vsLayer.json ├── vsRankGetItem.json ├── vsRankItem.json ├── vsResLayer.json ├── warResLayer.json ├── warThereLayer.json ├── welChengZItem.json ├── welOnLineItem.json ├── welSevenItem.json ├── welSignItem.json ├── welVipItem.json ├── welfareChengZLayer.json ├── welfareHLLayer.json ├── welfareJiajieLayer.json ├── welfareLayer.json ├── welfareLvLayer.json ├── welfareOnLineLayer.json ├── welfareSCLayer.json ├── welfareSLvLayer.json ├── welfareSOnLineLayer.json ├── welfareSevenLayer.json ├── welfareSignLayer.json ├── welfareVipLayer.json ├── welfareYKLayer.json ├── welfareZZKLayer.json └── winLayer.json ├── src ├── common │ ├── Constant.js │ ├── ManagerLayer.js │ ├── RedPoint.js │ ├── baseLayer.js │ ├── baseScene.js │ ├── cmLayer.js │ └── detailRedPoint │ │ ├── arenaRedPoint.js │ │ ├── bagRedPoint.js │ │ ├── bossFightRedPoint.js │ │ ├── emailRedPoint.js │ │ ├── friendRedPoint.js │ │ ├── recoverRedPoint.js │ │ └── resourceRedPoint.js ├── config │ ├── ACCESSORYCFG.js │ ├── ACCJINGLIANCFG.js │ ├── ACCQIANGHUACFG.js │ ├── ACCRELATIONCFG.js │ ├── ACTIVITYCFG.js │ ├── ACTIVITYCONTROLCFG.js │ ├── ALLIANCEGIRLCFG.js │ ├── ARENACFG.js │ ├── ARMYAWAKECFG.js │ ├── ARMYBREAKCFG.js │ ├── ARMYFRAGCFG.js │ ├── ARMYPROMOTECFG.js │ ├── ARMYRANKCFG.js │ ├── ARMYREFORMCFG.js │ ├── ARMYRELATIONCFG.js │ ├── ARSENCFG.js │ ├── ATTRIBUTEIDCFG.js │ ├── AWAKEMATERIALCFG.js │ ├── BOSSATTRIBUTECFG.js │ ├── BOSSAWARDLISTCFG.js │ ├── BOSSRANKLISTCFG.js │ ├── BUFFCFG.js │ ├── CARDCFG.js │ ├── COMBINECFG.js │ ├── COMCARCFG.js │ ├── COMCARCOMBINATIONCFG.js │ ├── COMCAREXPCFG.js │ ├── COMCARSTARCFG.js │ ├── COMCARSTRENGTHENCFG.js │ ├── COMDERSKILLCONSUMECFG.js │ ├── COMMANDERCFG.js │ ├── COMMANDERRANKCFG.js │ ├── COMMANDERSKILLCFG.js │ ├── CONSUMECFG.js │ ├── COUNTERBOSSCFG.js │ ├── COUNTERSTAGECFG.js │ ├── DUIZHANJUNTUANCFG.js │ ├── DUIZHANRANKCFG.js │ ├── DUIZHANREWARDCFG.js │ ├── EQUIPDASHICFG.js │ ├── EQUIPDUANZAOCFG.js │ ├── EQUIPFRAGCFG.js │ ├── EQUIPJINGLIANCFG.js │ ├── EQUIPQIANGHUACFG.js │ ├── EQUIPSHUXINGCFG.js │ ├── EQUIPSUITCFG.js │ ├── EXPLOREADVENCFG.js │ ├── EXPLORECFG.js │ ├── EXPLORECHESTCFG.js │ ├── GOODSFRAGCFG.js │ ├── GROWTHFUNDCFG.js │ ├── HEROCFG.js │ ├── INTERFACECFG.js │ ├── ITEMCFG.js │ ├── ITEMUSECFG.js │ ├── JUMPINFOCFG.js │ ├── MISSIONACHCFG.js │ ├── MISSIONDAYCFG.js │ ├── MISSIONTYPECFG.js │ ├── MISSIONVITACFG.js │ ├── MONSTERCFG.js │ ├── MONTHSIGNCFG.js │ ├── NEWGUIDECFG.js │ ├── NOTICECFG.js │ ├── PAYCFG.js │ ├── PLUNDERSTAGECFG.js │ ├── QUICKCOMBATCFG.js │ ├── RANDOMNAMECFG.js │ ├── RECORDRANKCFG.js │ ├── SHOPARECFG.js │ ├── SHOPCARCFG.js │ ├── SHOPCFG.js │ ├── SHOPCOMMONCFG.js │ ├── SHOPEQUCFG.js │ ├── SHOPHEROCFG.js │ ├── SKILLCFG.js │ ├── STAGECFG.js │ ├── STRINGCFG.js │ ├── UPGRADECFG.js │ ├── VEHICLECFG.js │ ├── VIPCFG.js │ └── heroBarPos.js ├── module │ ├── arena │ │ ├── model │ │ │ └── arenaModel.js │ │ └── view │ │ │ └── arenaLayer.js │ ├── army │ │ ├── model │ │ │ └── armyModel.js │ │ ├── scene │ │ │ └── ArmyScene.js │ │ └── view │ │ │ ├── accChangeLayer.js │ │ │ ├── accDetailsLayer.js │ │ │ ├── accRefineLayer.js │ │ │ ├── accStrenLayer.js │ │ │ ├── armyAttributeLayer.js │ │ │ ├── armyAwakeLayer.js │ │ │ ├── armyBreakLayer.js │ │ │ ├── armyChoiseLayer.js │ │ │ ├── armyEvolutionLayer.js │ │ │ ├── armyLayer.js │ │ │ ├── armyLevelUpLayer.js │ │ │ ├── armyRankLayer.js │ │ │ ├── armyReformLayer.js │ │ │ ├── embattleLayer.js │ │ │ ├── equipChangeLayer.js │ │ │ ├── equipDetailsLayer.js │ │ │ ├── equipForginLayer.js │ │ │ ├── equipMasterLayer.js │ │ │ ├── equipRefineLayer.js │ │ │ ├── equipStrenLayer.js │ │ │ ├── luckIntoLayer.js │ │ │ └── partnerLayer.js │ ├── bag │ │ ├── model │ │ │ └── bagModel.js │ │ └── view │ │ │ ├── bagLayer.js │ │ │ ├── buyGoldLayer.js │ │ │ ├── itemBreakLayer.js │ │ │ ├── itemChooseLayer.js │ │ │ ├── itemHeCLayer.js │ │ │ ├── itemSeeLayer.js │ │ │ └── itemUseLayer.js │ ├── base │ │ ├── baseModel │ │ │ └── baseModelLayer.js │ │ └── view │ │ │ ├── activityLayer.js │ │ │ ├── arsenLayer.js │ │ │ ├── buyBoxLayer.js │ │ │ ├── buyNumLayer.js │ │ │ ├── carDetailsLayer.js │ │ │ ├── carLayer.js │ │ │ ├── cityLayer.js │ │ │ ├── cityShopLayer.js │ │ │ ├── exploreLayer.js │ │ │ ├── itemGetLayer.js │ │ │ ├── itemJumpLayer.js │ │ │ ├── shopAreLayer.js │ │ │ ├── shopBuyLayer.js │ │ │ ├── shopCarLayer.js │ │ │ ├── shopEquLayer.js │ │ │ ├── shopHeroLayer.js │ │ │ ├── shopLayer.js │ │ │ ├── sweepLayer.js │ │ │ └── tipsLayer.js │ ├── bossfight │ │ ├── model │ │ │ └── bossFightModel.js │ │ └── view │ │ │ └── bossFightLayer.js │ ├── bothfight │ │ ├── model │ │ │ └── bothFightModel.js │ │ └── view │ │ │ ├── bothFightLayer.js │ │ │ └── bothResLayer.js │ ├── chat │ │ ├── model │ │ │ └── chatModel.js │ │ └── view │ │ │ └── chatLayer.js │ ├── combat │ │ ├── model │ │ │ └── combatModel.js │ │ ├── scene │ │ │ └── CombatScene.js │ │ └── view │ │ │ ├── combatLayer.js │ │ │ ├── dateLayer.js │ │ │ ├── itemBarrageLayer.js │ │ │ ├── loseLayer.js │ │ │ ├── navarchyLayer.js │ │ │ ├── nickNameChangeLayer.js │ │ │ └── offlineLayer.js │ ├── daywork │ │ ├── model │ │ │ └── dayWorkModel.js │ │ └── view │ │ │ └── dayWorkLayer.js │ ├── email │ │ ├── model │ │ │ └── emailModel.js │ │ ├── scene │ │ │ └── emailScene.js │ │ └── view │ │ │ └── emailLayer.js │ ├── friend │ │ ├── model │ │ │ └── friendModel.js │ │ └── view │ │ │ └── friendLayer.js │ ├── fuli │ │ ├── model │ │ │ └── fuLiModel.js │ │ └── view │ │ │ ├── fuLiLayer.js │ │ │ └── shopBuyMLayer.js │ ├── login │ │ ├── model │ │ │ └── loginModel.js │ │ ├── scene │ │ │ └── loginScene.js │ │ └── view │ │ │ ├── createRoleLayer.js │ │ │ ├── loginLayer.js │ │ │ ├── serverLayer.js │ │ │ └── sevGuideLayer.js │ ├── newguide │ │ ├── model │ │ │ └── newGuideModel.js │ │ └── view │ │ │ └── newGuideLayer.js │ ├── quickfight │ │ ├── model │ │ │ └── quickFightModel.js │ │ ├── scene │ │ │ └── quickFightScene.js │ │ └── view │ │ │ └── quickFightLayer.js │ ├── rankWarLayer │ │ ├── model │ │ │ └── rankWarLayerModel.js │ │ └── view │ │ │ └── rankWarLayer.js │ ├── recover │ │ ├── model │ │ │ └── recoverModel.js │ │ └── view │ │ │ └── recoverLayer.js │ ├── recruit │ │ └── view │ │ │ └── recruitLayer.js │ ├── resourceFight │ │ ├── model │ │ │ └── resourceFightModel.js │ │ └── view │ │ │ └── resourceFightLayer.js │ ├── starhero │ │ ├── model │ │ │ └── starHeroModel.js │ │ └── view │ │ │ └── starHeroLayer.js │ ├── vip │ │ ├── model │ │ │ └── vipModel.js │ │ └── view │ │ │ ├── vipFreedomLayer.js │ │ │ └── vipWelfareLayer.js │ └── welfare │ │ ├── model │ │ └── welfareModel.js │ │ └── view │ │ ├── welfareChengZLayer.js │ │ ├── welfareHLLayer.js │ │ ├── welfareLayer.js │ │ ├── welfareLvLayer.js │ │ ├── welfareOnLineLayer.js │ │ ├── welfareSCLayer.js │ │ ├── welfareSLvLayer.js │ │ ├── welfareSOnLineLayer.js │ │ ├── welfareSevenLayer.js │ │ ├── welfareSignLayer.js │ │ ├── welfareVipLayer.js │ │ ├── welfareYKLayer.js │ │ └── welfareZZKLayer.js ├── resource.js └── utils │ ├── Buff.js │ ├── Bullet.js │ ├── Helper.js │ ├── Hero.js │ ├── MachineGun.js │ ├── Monster.js │ ├── Skill.js │ ├── ToolUtils.js │ ├── aes.js │ ├── cipher-core.js │ ├── core.js │ ├── demoLayer.js │ ├── enc-base64.js │ ├── evpkdf.js │ ├── md5.js │ └── network.js ├── test.html ├── 主要功能@2x.png └── 微信二维码.png /.cocos-project.json: -------------------------------------------------------------------------------- 1 | { 2 | "engine_version": "cocos2d-x-3.12", 3 | "has_native": true, 4 | "project_type": "js" 5 | } -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | acenew 4 | 5 | 6 | 7 | 8 | 9 | 10 | org.ccdt.cocosproject 11 | org.ccdt.jsdt.core.jsNature 12 | 13 | 14 | 1.2 15 | 16 | 17 | 18 | script 19 | 2 20 | PROJECT_LOC/frameworks/js-bindings/bindings/script 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # pandaCard 2 | 脑子发热去创业,血本无归赔的只剩裤衩一条,心灰意冷下开源代码,就当花钱促进社会发展吧。本游戏是一款策略卡牌游戏,类似少年西游记,少年三国志,我叫mt等卡牌体系,客户端使用cocos2d-js-3.12,跨平台。服务端使用openresty,lua语言。经过严格测试,就差最后上线一哆嗦,没钱烧就流产了 3 | 4 | 差支付和渠道平台的sdk接入。 5 | 6 | 这个是客户端,服务端请传送到https://github.com/hipandyu/pandaCardServer 7 | qq交流群:307542328 8 | 9 | 下图是部分功能,比较完整详细的功能列表请移步查看:https://raw.githubusercontent.com/hipandyu/pandaCard/master/pandaCard功能表.png 10 | ![部分功能](https://raw.githubusercontent.com/hipandyu/pandaCard/master/主要功能%402x.png) 11 | 12 | 13 | 感觉有用的扫下微信二维码,给兄弟奶一下,打个赏,让我回点血。 14 | 15 | ![微信二维码](https://raw.githubusercontent.com/hipandayu/pandaCard/master/%E5%BE%AE%E4%BF%A1%E4%BA%8C%E7%BB%B4%E7%A0%81.png) 16 | 17 | -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- 1 | { 2 | "init_cfg": { 3 | "isLandscape": false, 4 | "isWindowTop": false, 5 | "name": "acenew", 6 | "width": 640, 7 | "height": 1009, 8 | "entry": "main.js", 9 | "consolePort": 6050, 10 | "uploadPort": 6060, 11 | "debugPort": 5086 12 | }, 13 | "simulator_screen_size": [ 14 | { 15 | "title": "iPhone 3Gs (480x320)", 16 | "width": 480, 17 | "height": 320 18 | }, 19 | { 20 | "title": "iPhone 4 (960x640)", 21 | "width": 960, 22 | "height": 640 23 | }, 24 | { 25 | "title": "iPhone 5 (1136x640)", 26 | "width": 1136, 27 | "height": 640 28 | }, 29 | { 30 | "title": "iPad (1024x768)", 31 | "width": 1024, 32 | "height": 768 33 | }, 34 | { 35 | "title": "iPad Retina (2048x1536)", 36 | "width": 2048, 37 | "height": 1536 38 | }, 39 | { 40 | "title": "Android (800x480)", 41 | "width": 800, 42 | "height": 480 43 | }, 44 | { 45 | "title": "Android (854x480)", 46 | "width": 854, 47 | "height": 480 48 | }, 49 | { 50 | "title": "Android (1280x720)", 51 | "width": 1280, 52 | "height": 720 53 | }, 54 | { 55 | "title": "Android (1920x1080)", 56 | "width": 1920, 57 | "height": 1080 58 | } 59 | ] 60 | } -------------------------------------------------------------------------------- /deploy.bat: -------------------------------------------------------------------------------- 1 | cocos deploy -p web -m release -q 2 | 3 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/.gitignore: -------------------------------------------------------------------------------- 1 | lib 2 | /web.config 3 | .idea 4 | build 5 | aspnet_client 6 | node_modules 7 | /tools/jsdoc_toolkit-2.4.0 8 | /package 9 | /tools/jsdoc_toolkit/jsdoc_toolkit-2.4.0 10 | /.project 11 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/README.mdown: -------------------------------------------------------------------------------- 1 | Cocos2d-html5 2 | ================== 3 | 4 | [Cocos2d-html5][1] is a cross-platform 2D game engine written in Javascript, based on [Cocos2d-X][2] and licensed under MIT. 5 | It incorporates the same high level api as “Cocos2d JS-binding engine” and compatible with Cocos2d-X. 6 | It currently supports canvas and WebGL renderer. 7 | 8 | Cross Platform 9 | ------------- 10 | * Popular browsers: Chrome 14+, Safari 5.0+, IE9+, Firefox 3.5+. 11 | * Mobile platforms: coming soon. 12 | * Native App: Same piece of code can run on "Cocos2d JS-Binding Engine" without or with little modification. 13 | 14 | Documentation 15 | ------------------ 16 | * Website: [www.cocos2d-x.org][3] 17 | * API References: [http://www.cocos2d-x.org/wiki/Reference] [4] 18 | 19 | 20 | Installing from [bower][8] (version >=3.4) 21 | ------------------ 22 | 23 | ```shell 24 | $ bower install cocos2d-html5 25 | ``` 26 | 27 | Running the tests (version <3) 28 | ------------------ 29 | 30 | ```shell 31 | $ git clone git://github.com/cocos2d/cocos2d-html5.git 32 | $ cd cocos2d-html5 33 | $ git submodule update --init 34 | $ python -m SimpleHTTPServer 35 | ``` 36 | ... and then open a browser and go to `http://localhost:8000/tests` 37 | 38 | 39 | Contact us 40 | ------------------ 41 | * Forum: [http://forum.cocos2d-x.org][5] 42 | * Twitter: [http://www.twitter.com/cocos2dhtml5][6] 43 | * Sina Microblog: [http://t.sina.com.cn/cocos2dhtml5][7] 44 | 45 | [1]: http://www.cocos2d-x.org "Cocos2d-html5" 46 | [2]: http://www.cocos2d-x.org "Cocos2d-X" 47 | [3]: http://www.cocos2d-x.org "www.cocos2d-x.org" 48 | [4]: http://www.cocos2d-x.org/wiki/Reference "API References" 49 | [5]: http://forum.cocos2d-x.org "http://forum.cocos2d-x.org" 50 | [6]: http://www.twitter.com/cocos2dhtml5 "http://www.twitter.com/cocos2dhtml5" 51 | [7]: http://t.sina.com.cn/cocos2dhtml5 "http://t.sina.com.cn/cocos2dhtml5" 52 | [8]: http://bower.io "http://bower.io" -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cocos2d-html5", 3 | "homepage": "http://www.cocos2d-x.org", 4 | "authors": [ 5 | "AUTHORS.txt" 6 | ], 7 | "description": "Cocos2d-html5 is a cross-platform 2D game engine written in Javascript, based on Cocos2d-X and licensed under MIT. It incorporates the same high level api as “Cocos2d JS-binding engine” and compatible with Cocos2d-X. It currently supports canvas and WebGL renderering.", 8 | "main": "README.mdown", 9 | "keywords": [ 10 | "cocos2d-x", 11 | "cocos2d", 12 | "game", 13 | "engine", 14 | "opengl", 15 | "cross", 16 | "multi", 17 | "platform", 18 | "iphone", 19 | "ipad", 20 | "android", 21 | "windows", 22 | "metro", 23 | "bada", 24 | "marmalade", 25 | "playbook" 26 | ], 27 | "license": "MIT", 28 | "private": false, 29 | "ignore": [ 30 | "**/.*", 31 | "node_modules", 32 | "bower_components", 33 | "test", 34 | "tests" 35 | ] 36 | } 37 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/cocos2d/core/base-nodes/CCNodeWebGLRenderCmd.js: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2013-2014 Chukong Technologies Inc. 3 | 4 | http://www.cocos2d-x.org 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | ****************************************************************************/ 24 | // ------------------------------ The cc.Node's render command for WebGL ---------------------------------- 25 | (function() { 26 | cc.Node.WebGLRenderCmd = function (renderable) { 27 | cc.Node.RenderCmd.call(this, renderable); 28 | this._shaderProgram = null; 29 | }; 30 | 31 | var proto = cc.Node.WebGLRenderCmd.prototype = Object.create(cc.Node.RenderCmd.prototype); 32 | proto.constructor = cc.Node.WebGLRenderCmd; 33 | 34 | proto._updateColor = function(){}; 35 | 36 | proto.setShaderProgram = function (shaderProgram) { 37 | this._shaderProgram = shaderProgram; 38 | }; 39 | 40 | proto.getShaderProgram = function () { 41 | return this._shaderProgram; 42 | }; 43 | })(); 44 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/cocos2d/core/cocos2d_externs.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @fileoverview Java Script Builtins for windows properties. 3 | * 4 | * @externs 5 | */ 6 | 7 | /** 8 | * @see https://cocos2d-x.org 9 | */ 10 | 11 | /** 12 | * cocos2d-html5-only. 13 | * @type {string} 14 | */ 15 | CSSProperties.prototype._super; 16 | 17 | /** 18 | * cocos2d-html5-only. We need this because the cc.Class.extend's new 19 | * infrastructure requires it. 20 | * @type {string} 21 | */ 22 | CSSProperties.prototype.ctor; 23 | 24 | /** 25 | * cocos2d-html5-only. 26 | * @type {string} 27 | */ 28 | CSSProperties.prototype.Inflate; 29 | 30 | /** 31 | * cocos2d-html5-only. 32 | * @type {string} 33 | */ 34 | CSSProperties.prototype.decompress; 35 | 36 | /** 37 | * Accelerometer api 38 | * cocos2d-html5-only. 39 | * @type {string} 40 | */ 41 | CSSProperties.prototype.DeviceOrientationEvent; 42 | CSSProperties.prototype.DeviceMotionEvent; 43 | CSSProperties.prototype.accelerationIncludingGravity; 44 | CSSProperties.prototype.gamma; 45 | CSSProperties.prototype.beta; 46 | CSSProperties.prototype.alpha; 47 | 48 | 49 | var gl = gl || {}; 50 | CSSProperties.prototype.gl; 51 | 52 | CSSProperties.prototype.AudioContext; 53 | CSSProperties.prototype.webkitAudioContext; 54 | CSSProperties.prototype.mozAudioContext; 55 | CSSProperties.prototype.createBufferSource; 56 | CSSProperties.prototype.createGain; 57 | CSSProperties.prototype.createGainNode; 58 | CSSProperties.prototype.destination; 59 | CSSProperties.prototype.decodeAudioData; 60 | CSSProperties.prototype.gain; 61 | CSSProperties.prototype.connect; 62 | CSSProperties.prototype.playbackState; 63 | CSSProperties.prototype.noteGrainOn; 64 | CSSProperties.prototype.noteOn; 65 | 66 | 67 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/cocos2d/core/labelttf/CCLabelTTFWebGLRenderCmd.js: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2013-2014 Chukong Technologies Inc. 3 | 4 | http://www.cocos2d-x.org 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | ****************************************************************************/ 24 | 25 | // ----------------------------------- LabelTTF WebGL render cmd ---------------------------- 26 | (function() { 27 | cc.LabelTTF.WebGLRenderCmd = function (renderable) { 28 | cc.Sprite.WebGLRenderCmd.call(this, renderable); 29 | cc.LabelTTF.CacheRenderCmd.call(this); 30 | }; 31 | var proto = cc.LabelTTF.WebGLRenderCmd.prototype = Object.create(cc.Sprite.WebGLRenderCmd.prototype); 32 | 33 | cc.inject(cc.LabelTTF.CacheRenderCmd.prototype, proto); 34 | proto.constructor = cc.LabelTTF.WebGLRenderCmd; 35 | proto._updateColor = function () {}; 36 | })(); -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/cocos2d/kazmath/simd_benchmark/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Kazmath SIMD benchmarks 6 | 7 | 8 | 9 |

Running benchmarks...

10 |
11 |
12 |

13 | 14 |
15 |
16 |

17 | 18 |
19 |
20 |
21 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/cocos2d/kazmath/simd_benchmark/kernel-template.js: -------------------------------------------------------------------------------- 1 | // Kernel template 2 | // Author: Peter Jensen 3 | (function () { 4 | 5 | // Kernel configuration 6 | var kernelConfig = { 7 | kernelName: "Test", 8 | kernelInit: init, 9 | kernelCleanup: cleanup, 10 | kernelSimd: simd, 11 | kernelNonSimd: nonSimd, 12 | kernelIterations: 100000000 13 | }; 14 | 15 | // Hook up to the harness 16 | benchmarks.add (new Benchmark (kernelConfig)); 17 | 18 | // Kernel Initializer 19 | function init () { 20 | // Do initial sanity check and initialize data for the kernels. 21 | // The sanity check should verify that the simd and nonSimd results 22 | // are the same. 23 | // It is recommended to do minimal object creation in the kernels 24 | // themselves. If global data needs to be initialized, here would 25 | // be the place to do it. 26 | // If the sanity checks fails the kernels will not be executed 27 | // Returns: 28 | // true: First run (unoptimized) of the kernels passed 29 | // false: First run (unoptimized) of the kernels failed 30 | return simd (1) === nonSimd (1); 31 | } 32 | 33 | // Kernel Cleanup 34 | function cleanup () { 35 | // Do final sanity check and perform cleanup. 36 | // This function is called when all the kernel iterations have been 37 | // executed, so they should be in their final optimized version. The 38 | // sanity check done during initialization will probably be of the 39 | // initial unoptimized version. 40 | // Returns: 41 | // true: Last run (optimized) of the kernels passed 42 | // false: last run (optimized) of the kernels failed 43 | return simd (1) === nonSimd (1); 44 | } 45 | 46 | // SIMD version of the kernel 47 | function simd (n) { 48 | var s = 0; 49 | for (var i = 0; i < n; ++i) { 50 | s += i; 51 | } 52 | return s; 53 | } 54 | 55 | // Non SIMD version of the kernel 56 | function nonSimd (n) { 57 | var s = 0; 58 | for (var i = 0; i < n; ++i) { 59 | s += i; 60 | } 61 | return s; 62 | } 63 | 64 | } ()); 65 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/cocos2d/kazmath/simd_benchmark/kmMat4AreEqual.js: -------------------------------------------------------------------------------- 1 | // kmMat4AreEqual 2 | 3 | (function () { 4 | 5 | // Kernel configuration 6 | var kernelConfig = { 7 | kernelName: "kmMat4AreEqual", 8 | kernelInit: init, 9 | kernelCleanup: cleanup, 10 | kernelSimd: simd, 11 | kernelNonSimd: nonSimd, 12 | kernelIterations: 10000 13 | }; 14 | 15 | // Hook up to the harness 16 | benchmarks.add(new Benchmark(kernelConfig)); 17 | 18 | // Benchmark data, initialization and kernel functions 19 | var T1 = new cc.kmMat4(); 20 | var T2 = new cc.kmMat4(); 21 | var T1x4 = new cc.kmMat4(); 22 | var T2x4 = new cc.kmMat4(); 23 | var areEqual, areEqualSIMD; 24 | 25 | function equals(A, B) { 26 | for (var i = 0; i < 16; ++i) { 27 | if (A[i] != B[i]) 28 | return false; 29 | } 30 | return true; 31 | } 32 | 33 | function init() { 34 | T1.mat[0] = 1.0; 35 | T1.mat[5] = 1.0; 36 | T1.mat[10] = 1.0; 37 | T1.mat[15] = 1.0; 38 | 39 | T2.mat[0] = 1.0; 40 | T2.mat[5] = 1.0; 41 | T2.mat[10] = 1.0; 42 | T2.mat[15] = 1.0; 43 | 44 | T1x4.mat[0] = 1.0; 45 | T1x4.mat[5] = 1.0; 46 | T1x4.mat[10] = 1.0; 47 | T1x4.mat[15] = 1.0; 48 | 49 | T2x4.mat[0] = 1.0; 50 | T2x4.mat[5] = 1.0; 51 | T2x4.mat[10] = 1.0; 52 | T2x4.mat[15] = 1.0; 53 | 54 | nonSimd(1); 55 | simd(1); 56 | 57 | return equals(T1.mat, T1x4.mat) && equals(T2.mat, T2x4.mat) && (areEqual === areEqualSIMD); 58 | 59 | } 60 | 61 | function cleanup() { 62 | return init(); // Sanity checking before and after are the same 63 | } 64 | 65 | function nonSimd(n) { 66 | for (var i = 0; i < n; i++) { 67 | areEqual = T1.equals(T2); 68 | } 69 | } 70 | 71 | function simd(n) { 72 | for (var i = 0; i < n; i++) { 73 | areEqualSIMD = T1x4.equalsSIMD(T2x4); 74 | } 75 | } 76 | 77 | } ()); 78 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/cocos2d/kazmath/simd_benchmark/kmMat4Assign.js: -------------------------------------------------------------------------------- 1 | // kmMat4Assign 2 | 3 | (function () { 4 | 5 | // Kernel configuration 6 | var kernelConfig = { 7 | kernelName: "kmMat4Assign", 8 | kernelInit: init, 9 | kernelCleanup: cleanup, 10 | kernelSimd: simd, 11 | kernelNonSimd: nonSimd, 12 | kernelIterations: 10000 13 | }; 14 | 15 | // Hook up to the harness 16 | benchmarks.add(new Benchmark(kernelConfig)); 17 | 18 | // Benchmark data, initialization and kernel functions 19 | var T1 = new cc.kmMat4(); 20 | var T2 = new cc.kmMat4(); 21 | var T1x4 = new cc.kmMat4(); 22 | var T2x4 = new cc.kmMat4(); 23 | 24 | function equals(A, B) { 25 | for (var i = 0; i < 16; ++i) { 26 | if (A[i] != B[i]) 27 | return false; 28 | } 29 | return true; 30 | } 31 | 32 | function init() { 33 | T1.mat[0] = 1.0; 34 | T1.mat[5] = 1.0; 35 | T1.mat[10] = 1.0; 36 | T1.mat[15] = 1.0; 37 | 38 | T1x4.mat[0] = 1.0; 39 | T1x4.mat[5] = 1.0; 40 | T1x4.mat[10] = 1.0; 41 | T1x4.mat[15] = 1.0; 42 | 43 | nonSimd(1); 44 | simd(1); 45 | 46 | return equals(T1.mat, T1x4.mat) && equals(T2.mat, T2x4.mat); 47 | 48 | } 49 | 50 | function cleanup() { 51 | return init(); // Sanity checking before and after are the same 52 | } 53 | 54 | function nonSimd(n) { 55 | for (var i = 0; i < n; i++) { 56 | //cc.kmMat4Assign(T2, T1); 57 | T2.assignFrom(T1); 58 | } 59 | } 60 | 61 | function simd(n) { 62 | for (var i = 0; i < n; i++) { 63 | //cc.kmMat4AssignSIMD(T2x4, T1x4); 64 | T2x4.assignFromSIMD(T1x4); 65 | } 66 | } 67 | 68 | } ()); 69 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/cocos2d/kazmath/simd_benchmark/kmMat4IsIdentity.js: -------------------------------------------------------------------------------- 1 | // kmMat4IsIdentity 2 | 3 | (function () { 4 | 5 | // Kernel configuration 6 | var kernelConfig = { 7 | kernelName: "kmMat4IsIdentity", 8 | kernelInit: init, 9 | kernelCleanup: cleanup, 10 | kernelSimd: simd, 11 | kernelNonSimd: nonSimd, 12 | kernelIterations: 10000 13 | }; 14 | 15 | // Hook up to the harness 16 | benchmarks.add(new Benchmark(kernelConfig)); 17 | 18 | // Benchmark data, initialization and kernel functions 19 | var T1 = new cc.kmMat4(); 20 | var T1x4 = new cc.kmMat4(); 21 | var isIdentity, isIdentitySIMD; 22 | 23 | function equals(A, B) { 24 | for (var i = 0; i < 16; ++i) { 25 | if (A[i] != B[i]) 26 | return false; 27 | } 28 | return true; 29 | } 30 | 31 | function init() { 32 | T1.mat[0] = 1.0; 33 | T1.mat[5] = 1.0; 34 | T1.mat[10] = 1.0; 35 | T1.mat[15] = 1.0; 36 | 37 | T1x4.mat[0] = 1.0; 38 | T1x4.mat[5] = 1.0; 39 | T1x4.mat[10] = 1.0; 40 | T1x4.mat[15] = 1.0; 41 | 42 | nonSimd(1); 43 | simd(1); 44 | 45 | return equals(T1.mat, T1x4.mat) && (isIdentity === isIdentitySIMD); 46 | 47 | } 48 | 49 | function cleanup() { 50 | return init(); // Sanity checking before and after are the same 51 | } 52 | 53 | function nonSimd(n) { 54 | for (var i = 0; i < n; i++) { 55 | isIdentity = T1.isIdentity(); 56 | } 57 | } 58 | 59 | function simd(n) { 60 | for (var i = 0; i < n; i++) { 61 | isIdentitySIMD = T1x4.isIdentitySIMD(); 62 | } 63 | } 64 | 65 | } ()); 66 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/cocos2d/kazmath/simd_benchmark/kmMat4Multiply.js: -------------------------------------------------------------------------------- 1 | // kmMat4Multiply 2 | 3 | (function () { 4 | 5 | // Kernel configuration 6 | var kernelConfig = { 7 | kernelName: "kmMat4Multiply", 8 | kernelInit: init, 9 | kernelCleanup: cleanup, 10 | kernelSimd: simd, 11 | kernelNonSimd: nonSimd, 12 | kernelIterations: 10000 13 | }; 14 | 15 | // Hook up to the harness 16 | benchmarks.add(new Benchmark(kernelConfig)); 17 | 18 | // Benchmark data, initialization and kernel functions 19 | var T1 = new cc.kmMat4(); 20 | var T2 = new cc.kmMat4(); 21 | var T1x4 = new cc.kmMat4(); 22 | var T2x4 = new cc.kmMat4(); 23 | 24 | function equals(A, B) { 25 | for (var i = 0; i < 16; ++i) { 26 | if (A[i] != B[i]) 27 | return false; 28 | } 29 | return true; 30 | } 31 | 32 | function init() { 33 | T1.mat[0] = 1.0; 34 | T1.mat[5] = 1.0; 35 | T1.mat[10] = 1.0; 36 | T1.mat[15] = 1.0; 37 | 38 | T2.mat[0] = 1.0; 39 | T2.mat[5] = 1.0; 40 | T2.mat[10] = 1.0; 41 | T2.mat[15] = 1.0; 42 | 43 | T1x4.mat[0] = 1.0; 44 | T1x4.mat[5] = 1.0; 45 | T1x4.mat[10] = 1.0; 46 | T1x4.mat[15] = 1.0; 47 | 48 | T2x4.mat[0] = 1.0; 49 | T2x4.mat[5] = 1.0; 50 | T2x4.mat[10] = 1.0; 51 | T2x4.mat[15] = 1.0; 52 | 53 | nonSimd(1); 54 | simd(1); 55 | return equals(T1.mat, T1x4.mat) && equals(T2.mat, T2x4.mat); 56 | } 57 | 58 | function cleanup() { 59 | return init(); // Sanity checking before and after are the same 60 | } 61 | 62 | function nonSimd(n) { 63 | for (var i = 0; i < n; i++) { 64 | T1.multiply(T2); 65 | } 66 | } 67 | 68 | function simd(n) { 69 | for (var i = 0; i < n; i++) { 70 | T1x4.multiplySIMD(T2x4); 71 | } 72 | } 73 | 74 | } ()); 75 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/cocos2d/kazmath/simd_benchmark/kmVec3TransformCoord.js: -------------------------------------------------------------------------------- 1 | // kmVec3TransformCoord 2 | 3 | (function () { 4 | 5 | // Kernel configuration 6 | var kernelConfig = { 7 | kernelName: "kmVec3TransformCoord", 8 | kernelInit: init, 9 | kernelCleanup: cleanup, 10 | kernelSimd: simd, 11 | kernelNonSimd: nonSimd, 12 | kernelIterations: 10000 13 | }; 14 | 15 | // Hook up to the harness 16 | benchmarks.add(new Benchmark(kernelConfig)); 17 | 18 | // Benchmark data, initialization and kernel functions 19 | var V = new cc.kmVec3(); 20 | var T = new cc.kmMat4(); 21 | var Out = new cc.kmVec3(); 22 | var Vx4 = new cc.kmVec3(); 23 | var Tx4 = new cc.kmMat4(); 24 | var Outx4 = new cc.kmVec3(); 25 | 26 | function init() { 27 | T.mat[0] = 1.0; 28 | T.mat[5] = 1.0; 29 | T.mat[10] = 1.0; 30 | T.mat[15] = 1.0; 31 | 32 | V.fill(0.0, 1.0, 0.0); 33 | 34 | Tx4.mat[0] = 1.0; 35 | Tx4.mat[5] = 1.0; 36 | Tx4.mat[10] = 1.0; 37 | Tx4.mat[15] = 1.0; 38 | 39 | Vx4.fill(0.0, 1.0, 0.0); 40 | 41 | nonSimd(1); 42 | simd(1); 43 | //console.log(V); 44 | //console.log(Vx4); 45 | return V.equals(Vx4); 46 | 47 | } 48 | 49 | function cleanup() { 50 | return init(); // Sanity checking before and after are the same 51 | } 52 | 53 | function nonSimd(n) { 54 | for (var i = 0; i < n; i++) { 55 | V.transformCoord(T); 56 | } 57 | } 58 | 59 | function simd(n) { 60 | for (var i = 0; i < n; i++) { 61 | Vx4.transformCoordSIMD(Tx4); 62 | } 63 | } 64 | 65 | } ()); 66 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/cocos2d/kazmath/simd_benchmark/run.js: -------------------------------------------------------------------------------- 1 | "use strict" 2 | 3 | var cc = {}; 4 | 5 | load ('base.js'); 6 | 7 | load ('../utility.js'); 8 | load ('../vec3.js'); 9 | load ('../vec4.js'); 10 | load ('../mat4.js'); 11 | load ('../vec3SIMD.js'); 12 | load ('../mat4SIMD.js'); 13 | 14 | // load individual benchmarks 15 | load ('kernel-template.js'); 16 | load ('kmMat4Multiply.js'); 17 | load ('kmMat4Assign.js'); 18 | load ('kmMat4AreEqual.js'); 19 | load ('kmMat4Inverse.js'); 20 | load ('kmMat4IsIdentity.js'); 21 | load ('kmMat4Transpose.js'); 22 | load ('kmMat4LookAt.js'); 23 | load ('kmVec3TransformCoord.js'); 24 | 25 | function printResult (str) { 26 | print (str); 27 | } 28 | 29 | function printError (str) { 30 | print (str); 31 | } 32 | 33 | function printScore (str) { 34 | print (str); 35 | } 36 | 37 | benchmarks.runAll ({notifyResult: printResult, 38 | notifyError: printError, 39 | notifyScore: printScore}, 40 | true); 41 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/cocos2d/particle/CCParticleBatchNodeCanvasRenderCmd.js: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2013-2014 Chukong Technologies Inc. 3 | 4 | http://www.cocos2d-x.org 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | ****************************************************************************/ 24 | 25 | (function(){ 26 | /** 27 | * cc.ParticleBatchNode's rendering objects of Canvas 28 | */ 29 | cc.ParticleBatchNode.CanvasRenderCmd = function(renderable){ 30 | cc.Node.CanvasRenderCmd.call(this, renderable); 31 | this._needDraw = false; 32 | }; 33 | 34 | var proto = cc.ParticleBatchNode.CanvasRenderCmd.prototype = Object.create(cc.Node.CanvasRenderCmd.prototype); 35 | proto.constructor = cc.ParticleBatchNode.CanvasRenderCmd; 36 | 37 | proto._initWithTexture = function(){}; 38 | })(); 39 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/extensions/ccb-reader/CCBKeyframe.js: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2008-2010 Ricardo Quesada 3 | Copyright (c) 2011-2012 cocos2d-x.org 4 | Copyright (c) 2013-2014 Chukong Technologies Inc. 5 | 6 | http://www.cocos2d-x.org 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | ****************************************************************************/ 26 | 27 | cc.BuilderKeyframe = cc.Class.extend({ 28 | _value:null, 29 | _time:0, 30 | _easingType:0, 31 | _easingOpt:0, 32 | 33 | getValue:function(){ 34 | return this._value; 35 | }, 36 | setValue:function(value){ 37 | this._value = value; 38 | }, 39 | 40 | getTime:function(){ 41 | return this._time; 42 | }, 43 | setTime:function(time){ 44 | this._time = time; 45 | }, 46 | 47 | getEasingType:function(){ 48 | return this._easingType; 49 | }, 50 | setEasingType:function(easingType){ 51 | this._easingType = easingType; 52 | }, 53 | 54 | getEasingOpt:function(){ 55 | return this._easingOpt; 56 | }, 57 | setEasingOpt:function(easingOpt){ 58 | this._easingOpt = easingOpt; 59 | } 60 | }); 61 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/extensions/ccui/layouts/UIHBox.js: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2011-2012 cocos2d-x.org 3 | Copyright (c) 2013-2014 Chukong Technologies Inc. 4 | 5 | http://www.cocos2d-x.org 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. 24 | ****************************************************************************/ 25 | 26 | /** 27 | * The horizontal box of Cocos UI. Its layout type is ccui.Layout.LINEAR_HORIZONTAL. 28 | * @class 29 | * @extends ccui.Layout 30 | */ 31 | ccui.HBox = ccui.Layout.extend(/** @lends ccui.HBox# */{ 32 | /** 33 | * The constructor of ccui.HBox 34 | * @function 35 | * @param {cc.Size} [size] 36 | */ 37 | ctor: function(size){ 38 | ccui.Layout.prototype.ctor.call(this); 39 | this.setLayoutType(ccui.Layout.LINEAR_HORIZONTAL); 40 | 41 | if(size) { 42 | this.setContentSize(size); 43 | } 44 | } 45 | }); 46 | 47 | /** 48 | * Creates a HBox object 49 | * @deprecated since v3.0, please use new ccui.HBox(size) instead. 50 | * @param {cc.Size} size 51 | * @returns {ccui.HBox} 52 | */ 53 | ccui.HBox.create = function(size){ 54 | return new ccui.HBox(size); 55 | }; -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/extensions/ccui/layouts/UIRelativeBox.js: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2011-2012 cocos2d-x.org 3 | Copyright (c) 2013-2014 Chukong Technologies Inc. 4 | 5 | http://www.cocos2d-x.org 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. 24 | ****************************************************************************/ 25 | 26 | /** 27 | * The Relative box for Cocos UI layout. Its layout type is ccui.Layout.RELATIVE. 28 | * @class 29 | * @extends ccui.Layout 30 | */ 31 | ccui.RelativeBox = ccui.Layout.extend(/** @lends ccui.RelativeBox# */{ 32 | /** 33 | * The constructor of ccui.RelativeBox 34 | * @function 35 | * @param {cc.Size} [size] 36 | */ 37 | ctor: function(size){ 38 | ccui.Layout.prototype.ctor.call(this); 39 | this.setLayoutType(ccui.Layout.RELATIVE); 40 | 41 | if(size) { 42 | this.setContentSize(size); 43 | } 44 | } 45 | }); 46 | 47 | /** 48 | * Creates a relative box 49 | * @deprecated since v3.0, please use new ccui.RelativeBox(size) instead. 50 | * @param {cc.Size} size 51 | * @returns {ccui.RelativeBox} 52 | */ 53 | ccui.RelativeBox.create = function(size){ 54 | return new ccui.RelativeBox(size); 55 | }; -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/extensions/ccui/system/CocosGUI.js: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2011-2012 cocos2d-x.org 3 | Copyright (c) 2013-2014 Chukong Technologies Inc. 4 | 5 | http://www.cocos2d-x.org 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. 24 | ****************************************************************************/ 25 | 26 | /** 27 | * The namespace of Cocos UI 28 | * @namespace 29 | * @name ccui 30 | */ 31 | var ccui = ccui || {}; 32 | 33 | //These classes defines are use for jsDoc 34 | /** 35 | * The same as cc.Class 36 | * @class 37 | */ 38 | ccui.Class = ccui.Class || cc.Class; 39 | ccui.Class.extend = ccui.Class.extend || cc.Class.extend; 40 | 41 | /** 42 | * that same as cc.Node 43 | * @class 44 | * @extends ccui.Class 45 | */ 46 | ccui.Node = ccui.Node || cc.Node; 47 | ccui.Node.extend = ccui.Node.extend || cc.Node.extend; 48 | 49 | 50 | /** 51 | * that same as cc.Node 52 | * @class 53 | * @extends ccui.Node 54 | */ 55 | ccui.ProtectedNode = ccui.ProtectedNode || cc.ProtectedNode; 56 | ccui.ProtectedNode.extend = ccui.ProtectedNode.extend || cc.ProtectedNode.extend; 57 | 58 | /** 59 | * Cocos UI version 60 | * @type {String} 61 | */ 62 | ccui.cocosGUIVersion = "CocosGUI v1.0.0.0"; -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/extensions/ccui/uiwidgets/scroll-widget/UIScrollViewCanvasRenderCmd.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | if(!ccui.ProtectedNode.CanvasRenderCmd) 3 | return; 4 | ccui.ScrollView.CanvasRenderCmd = function(renderable){ 5 | ccui.Layout.CanvasRenderCmd.call(this, renderable); 6 | this._needDraw = true; 7 | this._dirty = false; 8 | }; 9 | 10 | var proto = ccui.ScrollView.CanvasRenderCmd.prototype = Object.create(ccui.Layout.CanvasRenderCmd.prototype); 11 | proto.constructor = ccui.ScrollView.CanvasRenderCmd; 12 | 13 | proto.visit = function(parentCmd) { 14 | var node = this._node; 15 | if (!node._visible) 16 | return; 17 | var currentID = node.__instanceId; 18 | 19 | cc.renderer.pushRenderCommand(this); 20 | cc.renderer._turnToCacheMode(currentID); 21 | 22 | this.layoutVisit(parentCmd); 23 | 24 | this._dirtyFlag = 0; 25 | cc.renderer._turnToNormalMode(); 26 | }; 27 | 28 | proto.rendering = function (ctx) { 29 | var currentID = this._node.__instanceId; 30 | var locCmds = cc.renderer._cacheToCanvasCmds[currentID], i, len, 31 | scaleX = cc.view.getScaleX(), 32 | scaleY = cc.view.getScaleY(); 33 | var context = ctx || cc._renderContext; 34 | context.computeRealOffsetY(); 35 | 36 | this._node.updateChildren(); 37 | 38 | for (i = 0, len = locCmds.length; i < len; i++) { 39 | var checkNode = locCmds[i]._node; 40 | if(checkNode instanceof ccui.ScrollView) 41 | continue; 42 | if(checkNode && checkNode._parent && checkNode._parent._inViewRect === false) 43 | continue; 44 | locCmds[i].rendering(context, scaleX, scaleY); 45 | } 46 | }; 47 | })(); 48 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/extensions/ccui/uiwidgets/scroll-widget/UIScrollViewWebGLRenderCmd.js: -------------------------------------------------------------------------------- 1 | 2 | (function(){ 3 | if(!ccui.ProtectedNode.WebGLRenderCmd) 4 | return; 5 | ccui.ScrollView.WebGLRenderCmd = function(renderable){ 6 | ccui.Layout.WebGLRenderCmd.call(this, renderable); 7 | this._needDraw = true; 8 | this._dirty = false; 9 | }; 10 | 11 | var proto = ccui.ScrollView.WebGLRenderCmd.prototype = Object.create(ccui.Layout.WebGLRenderCmd.prototype); 12 | proto.constructor = ccui.ScrollView.WebGLRenderCmd; 13 | 14 | proto.visit = function(parentCmd) { 15 | var node = this._node; 16 | if (!node._visible) 17 | return; 18 | var currentID = this._node.__instanceId; 19 | 20 | cc.renderer.pushRenderCommand(this); 21 | cc.renderer._turnToCacheMode(currentID); 22 | 23 | this.layoutVisit(parentCmd); 24 | // Need to update children after do layout 25 | node.updateChildren(); 26 | 27 | this._dirtyFlag = 0; 28 | cc.renderer._turnToNormalMode(); 29 | }; 30 | 31 | proto.rendering = function(ctx){ 32 | var currentID = this._node.__instanceId, 33 | locCmds = cc.renderer._cacheToBufferCmds[currentID], 34 | i, len, checkNode, cmd, 35 | context = ctx || cc._renderContext; 36 | if (!locCmds) { 37 | return; 38 | } 39 | 40 | this._node.updateChildren(); 41 | 42 | // Reset buffer for rendering 43 | context.bindBuffer(gl.ARRAY_BUFFER, null); 44 | 45 | for (i = 0, len = locCmds.length; i < len; i++) { 46 | cmd = locCmds[i]; 47 | checkNode = cmd._node; 48 | if(checkNode instanceof ccui.ScrollView) 49 | continue; 50 | if(checkNode && checkNode._parent && checkNode._parent._inViewRect === false) 51 | continue; 52 | 53 | if (cmd.uploadData) { 54 | cc.renderer._uploadBufferData(cmd); 55 | } 56 | else { 57 | if (cmd._batchingSize > 0) { 58 | cc.renderer._batchRendering(); 59 | } 60 | cmd.rendering(context); 61 | } 62 | cc.renderer._batchRendering(); 63 | } 64 | }; 65 | })(); 66 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/extensions/cocostudio/armature/utils/CCArmatureDefine.js: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2011-2012 cocos2d-x.org 3 | Copyright (c) 2013-2014 Chukong Technologies Inc. 4 | 5 | http://www.cocos2d-x.org 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. 24 | ****************************************************************************/ 25 | /** 26 | * @ignore 27 | */ 28 | ccs.VERSION_COMBINED = 0.30; 29 | ccs.VERSION_CHANGE_ROTATION_RANGE = 1.0; 30 | ccs.VERSION_COLOR_READING = 1.1; 31 | ccs.MAX_VERTEXZ_VALUE = 5000000.0; 32 | ccs.ARMATURE_MAX_CHILD = 50.0; 33 | ccs.ARMATURE_MAX_ZORDER = 100; 34 | ccs.ARMATURE_MAX_COUNT = ((ccs.MAX_VERTEXZ_VALUE) / (ccs.ARMATURE_MAX_CHILD) / ccs.ARMATURE_MAX_ZORDER); 35 | ccs.AUTO_ADD_SPRITE_FRAME_NAME_PREFIX = false; 36 | ccs.ENABLE_PHYSICS_CHIPMUNK_DETECT = false; 37 | ccs.ENABLE_PHYSICS_SAVE_CALCULATED_VERTEX = false; 38 | 39 | /** 40 | * Returns the version of Armature. 41 | * @returns {string} 42 | */ 43 | ccs.armatureVersion = function(){ 44 | return "v1.1.0.0"; 45 | }; 46 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/extensions/cocostudio/timeline/CCSkinNode.js: -------------------------------------------------------------------------------- 1 | ccs.SkinNode = (function(){ 2 | 3 | var Node = cc.Node; 4 | 5 | var proto = { 6 | }; 7 | 8 | var SkinNode = Node.extend(proto); 9 | 10 | SkinNode.create = function(){}; 11 | 12 | return SkinNode; 13 | 14 | })(); -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/extensions/cocostudio/trigger/TriggerBase.js: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2011-2012 cocos2d-x.org 3 | Copyright (c) 2013-2014 Chukong Technologies Inc. 4 | 5 | http://www.cocos2d-x.org 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. 24 | ****************************************************************************/ 25 | 26 | /** 27 | * Sends event by trigger manager. 28 | * @function 29 | * @param {Number} event 30 | */ 31 | ccs.sendEvent = function (event) { 32 | var triggerObjArr = ccs.triggerManager.get(event); 33 | if (triggerObjArr == null) 34 | return; 35 | for (var i = 0; i < triggerObjArr.length; i++) { 36 | var triObj = triggerObjArr[i]; 37 | if (triObj != null && triObj.detect()) 38 | triObj.done(); 39 | } 40 | }; 41 | 42 | /** 43 | * Registers a trigger class to objectFactory type map. 44 | * @param {String} className 45 | * @param {function} func 46 | */ 47 | ccs.registerTriggerClass = function (className, func) { 48 | new ccs.TInfo(className, func); 49 | }; -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/external/gaf/GAFBoot.js: -------------------------------------------------------------------------------- 1 | var gaf = gaf || {}; 2 | gaf._tmp = gaf._tmp || {}; 3 | gaf._initialized = false; 4 | 5 | gaf.CCGAFLoader = function() 6 | { 7 | this.load = function(realUrl, url, item, cb) 8 | { 9 | if(!gaf._initialized) 10 | { 11 | gaf._setup(); 12 | } 13 | var loader = new gaf.Loader(); 14 | loader.LoadFile(realUrl, function(data){cb(null, data)}); 15 | }; 16 | }; 17 | 18 | gaf._setup = function() 19 | { 20 | gaf._setupShaders(); 21 | gaf._initialized = true; 22 | }; 23 | 24 | cc.loader.register('.gaf', new gaf.CCGAFLoader()); 25 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/external/gaf/GAFMacros.js: -------------------------------------------------------------------------------- 1 | var gaf = gaf || {}; 2 | 3 | gaf.COMPRESSION_NONE = 0x00474146; 4 | gaf.COMPRESSION_ZIP = 0x00474143; 5 | 6 | gaf.IDNONE = 0xffffffff; 7 | gaf.FIRST_FRAME_INDEX = 0; 8 | 9 | gaf.EFFECT_DROP_SHADOW = 0; 10 | gaf.EFFECT_BLUR = 1; 11 | gaf.EFFECT_GLOW = 2; 12 | gaf.EFFECT_COLOR_MATRIX = 6; 13 | 14 | gaf.ACTION_STOP = 0; 15 | gaf.ACTION_PLAY = 1; 16 | gaf.ACTION_GO_TO_AND_STOP = 2; 17 | gaf.ACTION_GO_TO_AND_PLAY = 3; 18 | gaf.ACTION_DISPATCH_EVENT = 4; 19 | 20 | gaf.PI_FRAME = 0; 21 | gaf.PI_EVENT_TYPE = 0; 22 | 23 | gaf.TYPE_TEXTURE = 0; 24 | gaf.TYPE_TEXT_FIELD = 1; 25 | gaf.TYPE_TIME_LINE = 2; 26 | 27 | gaf.UNIFORM_BLUR_TEXEL_OFFSET = "u_step"; 28 | gaf.UNIFORM_GLOW_TEXEL_OFFSET = "u_step"; 29 | gaf.UNIFORM_GLOW_COLOR = "u_glowColor"; 30 | gaf.UNIFORM_ALPHA_TINT_MULT = "colorTransformMult"; 31 | gaf.UNIFORM_ALPHA_TINT_OFFSET = "colorTransformOffsets"; 32 | gaf.UNIFORM_ALPHA_COLOR_MATRIX_BODY = "colorMatrix"; 33 | gaf.UNIFORM_ALPHA_COLOR_MATRIX_APPENDIX = "colorMatrix2"; 34 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/external/gaf/Library/GAFAtlasLoader.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by admiral on 19.02.2015. 3 | */ 4 | 5 | gaf._AtlasLoader = {}; 6 | gaf._AtlasLoader.execute = function(condition, success, fail) 7 | { 8 | condition() ? success() : fail(); 9 | }; 10 | 11 | gaf._AtlasLoader.checkAtlas = function(atlas) // curried function 12 | { 13 | return function(){return atlas && typeof atlas !== "string" && atlas.isLoaded()}; 14 | }; 15 | 16 | gaf._AtlasLoader.load = function(path, success, fail) 17 | { 18 | cc.textureCache.addImage(path, function(atlas){ 19 | gaf._AtlasLoader.execute( 20 | gaf._AtlasLoader.checkAtlas(atlas), 21 | function(){success(atlas)}, 22 | fail 23 | ); 24 | }); 25 | }; 26 | 27 | gaf._AtlasLoader.loadFront = function(arr, success, fail) 28 | { 29 | // Call recursively this function for each element starting from the first 30 | // stops on first success, or fails after last element 31 | return function() 32 | { 33 | if (arr.length > 0){ 34 | gaf._AtlasLoader.load( 35 | arr[0], 36 | success, 37 | gaf._AtlasLoader.loadFront( 38 | arr.slice(1), 39 | success, 40 | fail 41 | ));} 42 | else 43 | fail(); 44 | } 45 | }; 46 | 47 | gaf._AtlasLoader.loadArray = function(array, success, fail) 48 | { 49 | gaf._AtlasLoader.loadFront(array, success, fail)(); 50 | }; 51 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/external/gaf/Library/GAFMask.js: -------------------------------------------------------------------------------- 1 | 2 | gaf.Mask = gaf.Object.extend 3 | ({ 4 | _className: "GAFMask", 5 | _clippingNode: null, 6 | 7 | ctor : function(gafSpriteProto) 8 | { 9 | this._super(); 10 | cc.assert(gafSpriteProto, "Error! Missing mandatory parameter."); 11 | this._gafproto = gafSpriteProto; 12 | }, 13 | 14 | _init : function() 15 | { 16 | var maskNodeProto = this._gafproto.getMaskNodeProto(); 17 | cc.assert(maskNodeProto, "Error. Mask node for id ref " + this._gafproto.getIdRef() + " not found."); 18 | this._maskNode = maskNodeProto._gafConstruct(); 19 | this._clippingNode = cc.ClippingNode.create(this._maskNode); 20 | this._clippingNode.setAlphaThreshold(0.5); 21 | this.addChild(this._clippingNode); 22 | }, 23 | 24 | setExternalTransform : function(affineTransform) 25 | { 26 | if(!cc.affineTransformEqualToTransform(this._maskNode._additionalTransform, affineTransform)) 27 | { 28 | this._maskNode.setAdditionalTransform(affineTransform); 29 | } 30 | }, 31 | 32 | _getNode : function() 33 | { 34 | return this._clippingNode; 35 | } 36 | }); -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/external/gaf/Library/GAFMaskProto.js: -------------------------------------------------------------------------------- 1 | 2 | gaf._MaskProto = function(asset, mask, idRef) 3 | { 4 | this.getIdRef = function(){return idRef}; 5 | this.getMaskNodeProto = function() {return mask}; 6 | 7 | /* 8 | * Will construct GAFMask 9 | */ 10 | this._gafConstruct = function() 11 | { 12 | var ret = new gaf.Mask(this); 13 | ret._init(); 14 | return ret; 15 | }; 16 | }; 17 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/external/gaf/Library/GAFSpriteProto.js: -------------------------------------------------------------------------------- 1 | 2 | gaf._SpriteProto = function(asset, atlasFrames, elementAtlasIdRef) 3 | { 4 | //this._anchor = atlasFrame._gafAnchor; 5 | //delete atlasFrame._gafAnchor; 6 | 7 | this.getFrames = function(){return atlasFrames}; 8 | this.getIdRef = function(){return elementAtlasIdRef}; 9 | //this.getAnchor = function() {return this._anchor}; 10 | this.getAsset = function() {return asset}; 11 | 12 | /* 13 | * Will construct GAFSprite 14 | */ 15 | this._gafConstruct = function() 16 | { 17 | var usedScale = this.getAsset()._usedAtlasScale; 18 | var ret = new gaf.Sprite(this, usedScale); 19 | ret._init(); 20 | return ret; 21 | }; 22 | }; 23 | 24 | gaf._SpriteProto.prototype.getFrame = function() 25 | { 26 | var usedScale = this.getAsset()._usedAtlasScale; 27 | cc.assert(usedScale, "Error. Atlas scale zero."); 28 | var frames = this.getFrames()[usedScale]; 29 | cc.assert(frames, "Error. No frames found for used scale `"+usedScale+"`"); 30 | return frames[this.getIdRef()]; 31 | }; 32 | 33 | gaf._SpriteProto.prototype.getAnchor = function() 34 | { 35 | return this.getFrame()._gafAnchor; 36 | }; 37 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/external/gaf/Library/GAFTextField.js: -------------------------------------------------------------------------------- 1 | 2 | gaf.TextField = gaf.Object.extend 3 | ({ 4 | _className: "GAFTextField" 5 | 6 | }); -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/external/gaf/Library/GAFTimeLineProto.js: -------------------------------------------------------------------------------- 1 | 2 | gaf._TimeLineProto = function(asset, animationFrameCount, boundingBox, pivotPoint, id, linkageName) 3 | { 4 | id = typeof id != 'undefined' ? id : 0; 5 | linkageName = linkageName || ""; 6 | 7 | this._objects = []; 8 | 9 | this.getTotalFrames = function(){return animationFrameCount}; 10 | this.getBoundingBox = function() {return boundingBox}; 11 | this.getId = function() {return id}; 12 | this.getLinkageName = function() {return linkageName}; 13 | this.getPivot = function(){return pivotPoint}; 14 | this.getRect = function(){return boundingBox}; 15 | this.getNamedParts = function() {return {}}; // Map name -> id 16 | this.getSequences = function() {return {}}; // Map name -> {start, end} 17 | this.getFrames = function(){return []}; // Array {states, actions} 18 | this.getFps = function(){return 60}; 19 | this.getObjects = function(){return this._objects}; 20 | this.getAsset = function(){return asset}; 21 | 22 | /* 23 | * Will construct GAFTimeLine 24 | */ 25 | this._gafConstruct = function() 26 | { 27 | var usedScale = this.getAsset()._usedAtlasScale; 28 | var ret = new gaf.TimeLine(this, usedScale); 29 | ret._init(); 30 | return ret; 31 | }; 32 | }; 33 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/external/gaf/gaf_viewer.css: -------------------------------------------------------------------------------- 1 | #drop_zone { 2 | border: 2px dashed #bbb; 3 | -moz-border-radius: 5px; 4 | -webkit-border-radius: 5px; 5 | border-radius: 5px; 6 | padding: 25px; 7 | text-align: center; 8 | font: 20pt bold 'Vollkorn'; 9 | color: #bbb; 10 | 11 | } 12 | .renderjson a { 13 | text-decoration: none; 14 | } 15 | .renderjson .disclosure { 16 | color: crimson; 17 | font-size: 150%; 18 | } 19 | .renderjson .syntax { 20 | color: grey; 21 | } 22 | .renderjson .string { 23 | color: darkred; 24 | } 25 | .renderjson .number { 26 | color: darkcyan; 27 | } 28 | .renderjson .boolean { 29 | color: blueviolet; 30 | } 31 | .renderjson .key { 32 | color: darkblue; 33 | } 34 | .renderjson .keyword { 35 | color: blue; 36 | } 37 | .renderjson .object.syntax { 38 | color: lightseagreen; 39 | } 40 | .renderjson .array.syntax { 41 | color: orange; 42 | } 43 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/external/gaf/gaf_viewer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Drop GAF here
16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/external/socketio/socket.io.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/frameworks/cocos2d-html5/external/socketio/socket.io.js -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/licenses/LICENSE_cocos2d-html5.txt: -------------------------------------------------------------------------------- 1 | cocos2d-html5 http://www.cocos2d-x.org 2 | 3 | Copyright (c) 2010-2011 - cocos2d-x community 4 | (see each file to see the different copyright owners) 5 | 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/licenses/LICENSE_cocos2d-x.txt: -------------------------------------------------------------------------------- 1 | cocos2d-x http://www.cocos2d-x.org 2 | 3 | Copyright (c) 2010-2011 - cocos2d-x community 4 | (see each file to see the different copyright owners) 5 | 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/licenses/LICENSE_zlib.js.txt: -------------------------------------------------------------------------------- 1 | /** 2 | * @license 3 | * zlib.js 4 | * JavaScript Zlib Library 5 | * https://github.com/imaya/zlib.js 6 | * 7 | * The MIT License 8 | * 9 | * Copyright (c) 2012 imaya 10 | * 11 | * Permission is hereby granted, free of charge, to any person obtaining a copy 12 | * of this software and associated documentation files (the "Software"), to deal 13 | * in the Software without restriction, including without limitation the rights 14 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 15 | * copies of the Software, and to permit persons to whom the Software is 16 | * furnished to do so, subject to the following conditions: 17 | * 18 | * The above copyright notice and this permission notice shall be included in 19 | * all copies or substantial portions of the Software. 20 | * 21 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 22 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 23 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 24 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 25 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 26 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 27 | * THE SOFTWARE. 28 | */ 29 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/template/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Cocos2d-html5 Hello World test 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/template/main.js: -------------------------------------------------------------------------------- 1 | cc.game.onStart = function(){ 2 | if(!cc.sys.isNative && document.getElementById("cocosLoading")) //If referenced loading.js, please remove it 3 | document.body.removeChild(document.getElementById("cocosLoading")); 4 | 5 | var designSize = cc.size(480, 800); 6 | var screenSize = cc.view.getFrameSize(); 7 | 8 | if(!cc.sys.isNative && screenSize.height < 800){ 9 | designSize = cc.size(320, 480); 10 | cc.loader.resPath = "res/Normal"; 11 | }else{ 12 | cc.loader.resPath = "res/HD"; 13 | } 14 | cc.view.setDesignResolutionSize(designSize.width, designSize.height, cc.ResolutionPolicy.SHOW_ALL); 15 | 16 | //load resources 17 | cc.LoaderScene.preload(g_resources, function () { 18 | cc.director.runScene(new MyScene()); 19 | }, this); 20 | }; 21 | cc.game.run(); -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/template/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "debugMode" : 1, 3 | "noCache": false, 4 | "showFPS" : true, 5 | "frameRate" : 60, 6 | "id" : "gameCanvas", 7 | "renderMode" : 0, 8 | "engineDir":"../", 9 | 10 | "modules" : ["cocos2d"], 11 | 12 | "jsList" : [ 13 | "src/resource.js", 14 | "src/myApp.js" 15 | ] 16 | } -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/template/res/HD/CloseNormal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/frameworks/cocos2d-html5/template/res/HD/CloseNormal.png -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/template/res/HD/CloseSelected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/frameworks/cocos2d-html5/template/res/HD/CloseSelected.png -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/template/res/HD/HelloWorld.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/frameworks/cocos2d-html5/template/res/HD/HelloWorld.jpg -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/template/res/Normal/CloseNormal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/frameworks/cocos2d-html5/template/res/Normal/CloseNormal.png -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/template/res/Normal/CloseSelected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/frameworks/cocos2d-html5/template/res/Normal/CloseSelected.png -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/template/res/Normal/HelloWorld.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/frameworks/cocos2d-html5/template/res/Normal/HelloWorld.jpg -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/template/res/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/frameworks/cocos2d-html5/template/res/favicon.ico -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/template/src/myApp.js: -------------------------------------------------------------------------------- 1 | var MyLayer = cc.Layer.extend({ 2 | helloLabel:null, 3 | sprite:null, 4 | 5 | init:function () { 6 | 7 | ////////////////////////////// 8 | // 1. super init first 9 | this._super(); 10 | 11 | ///////////////////////////// 12 | // 2. add a menu item with "X" image, which is clicked to quit the program 13 | // you may modify it. 14 | // ask director the window size 15 | var size = cc.director.getWinSize(); 16 | 17 | // add a "close" icon to exit the progress. it's an autorelease object 18 | var closeItem = new cc.MenuItemImage( 19 | s_CloseNormal, 20 | s_CloseSelected, 21 | function () { 22 | cc.log("close"); 23 | },this); 24 | closeItem.setAnchorPoint(0.5, 0.5); 25 | 26 | var menu = new cc.Menu(closeItem); 27 | menu.setPosition(0, 0); 28 | this.addChild(menu, 1); 29 | closeItem.setPosition(size.width - 20, 20); 30 | 31 | ///////////////////////////// 32 | // 3. add your codes below... 33 | // add a label shows "Hello World" 34 | // create and initialize a label 35 | this.helloLabel = new cc.LabelTTF("Hello World", "Impact", 38); 36 | // position the label on the center of the screen 37 | this.helloLabel.setPosition(size.width / 2, size.height - 40); 38 | // add the label as a child to this layer 39 | this.addChild(this.helloLabel, 5); 40 | 41 | // add "Helloworld" splash screen" 42 | this.sprite = new cc.Sprite(s_HelloWorld); 43 | this.sprite.setAnchorPoint(0.5, 0.5); 44 | this.sprite.setPosition(size.width / 2, size.height / 2); 45 | this.sprite.setScale(size.height / this.sprite.getContentSize().height); 46 | this.addChild(this.sprite, 0); 47 | } 48 | }); 49 | 50 | var MyScene = cc.Scene.extend({ 51 | onEnter:function () { 52 | this._super(); 53 | var layer = new MyLayer(); 54 | this.addChild(layer); 55 | layer.init(); 56 | } 57 | }); 58 | -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/template/src/resource.js: -------------------------------------------------------------------------------- 1 | var s_HelloWorld = "HelloWorld.jpg"; 2 | var s_CloseNormal = "CloseNormal.png"; 3 | var s_CloseSelected = "CloseSelected.png"; 4 | 5 | var g_resources = [ 6 | //image 7 | s_HelloWorld, 8 | s_CloseNormal, 9 | s_CloseSelected 10 | 11 | //plist 12 | 13 | //fnt 14 | 15 | //tmx 16 | 17 | //bgm 18 | 19 | //effect 20 | ]; -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/tools/compiler/compiler.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/frameworks/cocos2d-html5/tools/compiler/compiler.jar -------------------------------------------------------------------------------- /frameworks/cocos2d-html5/tools/readme for tools.txt: -------------------------------------------------------------------------------- 1 | Compiler: 2 | 3 | Default compiler is Google closure compiler. Please install Ant and Jre to build. 4 | The shell files and Closure Compiler which Ant needs are provided in tools folder and cocos2d folder. 5 | 6 | Reference wiki: http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Closure_Compiler 7 | For more on Google closure: https://developers.google.com/closure/compiler 8 | 9 | -------------------------------------------------------------------------------- /manifest.webapp: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "name": "ace", 4 | "description": "ace", 5 | "launch_path": "/index.html", 6 | "icons": { 7 | "128": "/res/icon.png" 8 | }, 9 | "developer": { 10 | "name": "Cocos2d-html5", 11 | "url": "http://cocos2d-x.org/" 12 | }, 13 | "default_locale": "en", 14 | "installs_allowed_from": [ 15 | "*" 16 | ], 17 | "orientation": "portrait-primary", 18 | "fullscreen": "true" 19 | } -------------------------------------------------------------------------------- /pandaCard功能表.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/pandaCard功能表.png -------------------------------------------------------------------------------- /res/Default/Button_Normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/Default/Button_Normal.png -------------------------------------------------------------------------------- /res/Default/Button_Press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/Default/Button_Press.png -------------------------------------------------------------------------------- /res/Default/Sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/Default/Sprite.png -------------------------------------------------------------------------------- /res/Default/TextAtlas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/Default/TextAtlas.png -------------------------------------------------------------------------------- /res/FightScene.json: -------------------------------------------------------------------------------- 1 | { 2 | "ID": "f92fb50b-37e6-46ed-8656-47b5ffb2f7c9", 3 | "Version": "3.10.0.0", 4 | "Name": "FightScene", 5 | "Content": { 6 | "Content": { 7 | "Animation": { 8 | "Duration": 0, 9 | "Speed": 1.0, 10 | "Timelines": [], 11 | "ctype": "TimelineActionData" 12 | }, 13 | "AnimationList": [], 14 | "ObjectData": { 15 | "Tag": 3, 16 | "Size": { 17 | "X": 640.0, 18 | "Y": 1136.0 19 | }, 20 | "Name": "Scene", 21 | "ctype": "SingleNodeObjectData" 22 | }, 23 | "UsedResources": [], 24 | "ctype": "GameFileData" 25 | } 26 | }, 27 | "Type": "Scene" 28 | } -------------------------------------------------------------------------------- /res/bg/bg_stage001.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/bg/bg_stage001.jpg -------------------------------------------------------------------------------- /res/bg/bg_stage001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/bg/bg_stage001.png -------------------------------------------------------------------------------- /res/bg/bg_stage002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/bg/bg_stage002.png -------------------------------------------------------------------------------- /res/bg/bg_stage003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/bg/bg_stage003.png -------------------------------------------------------------------------------- /res/bg/sandbags.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/bg/sandbags.png -------------------------------------------------------------------------------- /res/bg/stone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/bg/stone.png -------------------------------------------------------------------------------- /res/city/city_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/city/city_bg.png -------------------------------------------------------------------------------- /res/common/a/box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/a/box.png -------------------------------------------------------------------------------- /res/common/a1/commonA1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/a1/commonA1.png -------------------------------------------------------------------------------- /res/common/a2/a2_hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/a2/a2_hd.png -------------------------------------------------------------------------------- /res/common/b/bar.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | frames 6 | 7 | common/b/b_001_1.png 8 | 9 | frame 10 | {{221,1},{221,29}} 11 | offset 12 | {0,0} 13 | rotated 14 | 15 | sourceSize 16 | {221,29} 17 | 18 | common/b/b_001_2.png 19 | 20 | frame 21 | {{444,1},{221,29}} 22 | offset 23 | {0,0} 24 | rotated 25 | 26 | sourceSize 27 | {221,29} 28 | 29 | common/b/b_001_3.png 30 | 31 | frame 32 | {{875,1},{216,15}} 33 | offset 34 | {0,0} 35 | rotated 36 | 37 | sourceSize 38 | {216,15} 39 | 40 | common/b/b_002_1.png 41 | 42 | frame 43 | {{1,1},{218,34}} 44 | offset 45 | {0,0} 46 | rotated 47 | 48 | sourceSize 49 | {218,34} 50 | 51 | common/b/b_002_2.png 52 | 53 | frame 54 | {{667,1},{206,22}} 55 | offset 56 | {0,0} 57 | rotated 58 | 59 | sourceSize 60 | {206,22} 61 | 62 | 63 | metadata 64 | 65 | format 66 | 2 67 | textureFileName 68 | bar.png 69 | realTextureFileName 70 | bar.png 71 | size 72 | {891,218} 73 | 74 | texture 75 | 76 | width 77 | 891 78 | height 79 | 218 80 | 81 | 82 | -------------------------------------------------------------------------------- /res/common/b/bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/b/bar.png -------------------------------------------------------------------------------- /res/common/break/break.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/break/break.png -------------------------------------------------------------------------------- /res/common/c/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/c/button.png -------------------------------------------------------------------------------- /res/common/c1/c1_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/c1/c1_btn.png -------------------------------------------------------------------------------- /res/common/d/artFont.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/d/artFont.png -------------------------------------------------------------------------------- /res/common/explore/ecplore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/explore/ecplore.png -------------------------------------------------------------------------------- /res/common/i/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/i/icon.png -------------------------------------------------------------------------------- /res/common/j/skill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/j/skill.png -------------------------------------------------------------------------------- /res/common/jiaren/jiaren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/jiaren/jiaren.png -------------------------------------------------------------------------------- /res/common/n_login.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/n_login.jpg -------------------------------------------------------------------------------- /res/common/n_login1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/n_login1.jpg -------------------------------------------------------------------------------- /res/common/new/new_guide.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | frames 6 | 7 | common/new/new_quan.png 8 | 9 | frame 10 | {{319,0},{198,199}} 11 | offset 12 | {0,0} 13 | rotated 14 | 15 | sourceSize 16 | {198,199} 17 | 18 | common/new/new_ren.png 19 | 20 | frame 21 | {{0,0},{319,273}} 22 | offset 23 | {0,0} 24 | rotated 25 | 26 | sourceSize 27 | {319,273} 28 | 29 | common/new/new_shou.png 30 | 31 | frame 32 | {{518,0},{93,109}} 33 | offset 34 | {0,0} 35 | rotated 36 | 37 | sourceSize 38 | {93,109} 39 | 40 | 41 | metadata 42 | 43 | format 44 | 2 45 | textureFileName 46 | new_guide.png 47 | realTextureFileName 48 | new_guide.png 49 | size 50 | {1024,512} 51 | 52 | texture 53 | 54 | width 55 | 1024 56 | height 57 | 512 58 | 59 | 60 | -------------------------------------------------------------------------------- /res/common/new/new_guide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/new/new_guide.png -------------------------------------------------------------------------------- /res/common/t/avatar.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | frames 6 | 7 | common/t/t_001.png 8 | 9 | frame 10 | {{1,1},{209,248}} 11 | offset 12 | {0,0} 13 | rotated 14 | 15 | sourceSize 16 | {209,248} 17 | 18 | 19 | metadata 20 | 21 | format 22 | 2 23 | textureFileName 24 | avatar.png 25 | realTextureFileName 26 | avatar.png 27 | size 28 | {211,250} 29 | 30 | texture 31 | 32 | width 33 | 211 34 | height 35 | 250 36 | 37 | 38 | -------------------------------------------------------------------------------- /res/common/t/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/t/avatar.png -------------------------------------------------------------------------------- /res/common/w/result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/w/result.png -------------------------------------------------------------------------------- /res/common/war/war_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/war/war_img.png -------------------------------------------------------------------------------- /res/common/xuetiaobg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/xuetiaobg.png -------------------------------------------------------------------------------- /res/common/xuetiaofront.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/xuetiaofront.png -------------------------------------------------------------------------------- /res/common/xuetiaofront2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/common/xuetiaofront2.png -------------------------------------------------------------------------------- /res/effect/Amainbtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/Amainbtn.png -------------------------------------------------------------------------------- /res/effect/appear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/appear.png -------------------------------------------------------------------------------- /res/effect/atkboss.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | frames 6 | 7 | effect/atkboss/atkboss01.png 8 | 9 | frame 10 | {{0,0},{640,140}} 11 | offset 12 | {0,0} 13 | rotated 14 | 15 | sourceSize 16 | {640,140} 17 | 18 | effect/atkboss/atkboss02.png 19 | 20 | frame 21 | {{640,0},{499,150}} 22 | offset 23 | {0,0} 24 | rotated 25 | 26 | sourceSize 27 | {499,150} 28 | 29 | effect/atkboss/atkboss03.png 30 | 31 | frame 32 | {{790,0},{632,40}} 33 | offset 34 | {0,0} 35 | rotated 36 | 37 | sourceSize 38 | {632,40} 39 | 40 | effect/atkboss/atkboss04.png 41 | 42 | frame 43 | {{830,0},{251,66}} 44 | offset 45 | {0,0} 46 | rotated 47 | 48 | sourceSize 49 | {251,66} 50 | 51 | 52 | metadata 53 | 54 | format 55 | 2 56 | textureFileName 57 | atkboss.png 58 | realTextureFileName 59 | atkboss.png 60 | size 61 | {1024,1024} 62 | 63 | texture 64 | 65 | width 66 | 1024 67 | height 68 | 1024 69 | 70 | 71 | -------------------------------------------------------------------------------- /res/effect/atkboss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/atkboss.png -------------------------------------------------------------------------------- /res/effect/atkbuff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/atkbuff.png -------------------------------------------------------------------------------- /res/effect/defbuff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/defbuff.png -------------------------------------------------------------------------------- /res/effect/effHp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/effHp.png -------------------------------------------------------------------------------- /res/effect/eff_line1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/eff_line1.png -------------------------------------------------------------------------------- /res/effect/effbbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/effbbox.png -------------------------------------------------------------------------------- /res/effect/efflogin/efflogin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/efflogin/efflogin.png -------------------------------------------------------------------------------- /res/effect/effnvshenck5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/effnvshenck5.png -------------------------------------------------------------------------------- /res/effect/effnvshenck6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/effnvshenck6.png -------------------------------------------------------------------------------- /res/effect/effvs/effvs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/effvs/effvs.png -------------------------------------------------------------------------------- /res/effect/shellaim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/shellaim.png -------------------------------------------------------------------------------- /res/effect/shellexplode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/shellexplode.png -------------------------------------------------------------------------------- /res/effect/shellwarhead.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/shellwarhead.png -------------------------------------------------------------------------------- /res/effect/speedbuff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/speedbuff.png -------------------------------------------------------------------------------- /res/effect/zymrwulizi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/effect/zymrwulizi.png -------------------------------------------------------------------------------- /res/fightTop.json: -------------------------------------------------------------------------------- 1 | { 2 | "ID": "474ecc79-0e71-4c53-bfec-548a331bdd13", 3 | "Version": "3.10.0.0", 4 | "Name": "fightTop", 5 | "Content": { 6 | "Content": { 7 | "Animation": { 8 | "Duration": 0, 9 | "Speed": 1.0, 10 | "Timelines": [], 11 | "ctype": "TimelineActionData" 12 | }, 13 | "AnimationList": [], 14 | "ObjectData": { 15 | "Tag": 17, 16 | "Size": { 17 | "X": 640.0, 18 | "Y": 300.0 19 | }, 20 | "Name": "Layer", 21 | "ctype": "LayerObjectData" 22 | }, 23 | "UsedResources": [], 24 | "ctype": "GameFileData" 25 | } 26 | }, 27 | "Type": "Layer" 28 | } -------------------------------------------------------------------------------- /res/font/arenaFnt.fnt: -------------------------------------------------------------------------------- 1 | info face="Arial" size=32 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 outline=0 2 | common lineHeight=32 base=26 scaleW=512 scaleH=88 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 3 | page id=0 file="arenaFnt.png" 4 | chars count=15 5 | char id=43 x=400 y=0 width=14 height=12 xoffset=1 yoffset=10 xadvance=16 page=0 chnl=15 6 | char id=44 x=415 y=0 width=4 height=6 xoffset=2 yoffset=24 xadvance=8 page=0 chnl=15 7 | char id=45 x=420 y=0 width=9 height=2 xoffset=0 yoffset=18 xadvance=9 page=0 chnl=15 8 | char id=48 x=0 y=0 width=36 height=47 xoffset=0 yoffset=0 xadvance=36 page=0 chnl=15 9 | char id=49 x=37 y=0 width=36 height=47 xoffset=0 yoffset=0 xadvance=36 page=0 chnl=15 10 | char id=50 x=74 y=0 width=36 height=47 xoffset=0 yoffset=0 xadvance=36 page=0 chnl=15 11 | char id=51 x=111 y=0 width=36 height=47 xoffset=0 yoffset=0 xadvance=36 page=0 chnl=15 12 | char id=52 x=148 y=0 width=36 height=47 xoffset=0 yoffset=0 xadvance=36 page=0 chnl=15 13 | char id=53 x=185 y=0 width=36 height=47 xoffset=0 yoffset=0 xadvance=36 page=0 chnl=15 14 | char id=54 x=222 y=0 width=36 height=47 xoffset=0 yoffset=0 xadvance=36 page=0 chnl=15 15 | char id=55 x=259 y=0 width=36 height=47 xoffset=0 yoffset=0 xadvance=36 page=0 chnl=15 16 | char id=56 x=296 y=0 width=36 height=47 xoffset=0 yoffset=0 xadvance=36 page=0 chnl=15 17 | char id=57 x=333 y=0 width=36 height=47 xoffset=0 yoffset=0 xadvance=36 page=0 chnl=15 18 | char id=58 x=370 y=0 width=24 height=43 xoffset=0 yoffset=0 xadvance=24 page=0 chnl=15 19 | char id=105 x=395 y=0 width=4 height=20 xoffset=1 yoffset=6 xadvance=6 page=0 chnl=15 20 | -------------------------------------------------------------------------------- /res/font/arenaFnt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/font/arenaFnt.png -------------------------------------------------------------------------------- /res/font/dgblue.fnt: -------------------------------------------------------------------------------- 1 | info face="Arial" size=32 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 outline=0 2 | common lineHeight=32 base=26 scaleW=256 scaleH=50 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 3 | page id=0 file="dgblue.png" 4 | chars count=15 5 | char id=33 x=0 y=0 width=75 height=28 xoffset=0 yoffset=0 xadvance=75 page=0 chnl=15 6 | char id=43 x=102 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 7 | char id=44 x=246 y=0 width=7 height=9 xoffset=0 yoffset=0 xadvance=7 page=0 chnl=15 8 | char id=45 x=129 y=25 width=13 height=6 xoffset=0 yoffset=0 xadvance=13 page=0 chnl=15 9 | char id=48 x=120 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 10 | char id=49 x=138 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 11 | char id=50 x=156 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 12 | char id=51 x=174 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 13 | char id=52 x=192 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 14 | char id=53 x=210 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 15 | char id=54 x=228 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 16 | char id=55 x=76 y=25 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 17 | char id=56 x=112 y=25 width=16 height=24 xoffset=0 yoffset=0 xadvance=16 page=0 chnl=15 18 | char id=57 x=94 y=25 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 19 | char id=105 x=76 y=0 width=25 height=24 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 20 | -------------------------------------------------------------------------------- /res/font/dgblue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/font/dgblue.png -------------------------------------------------------------------------------- /res/font/dggreen.fnt: -------------------------------------------------------------------------------- 1 | info face="Arial" size=32 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 outline=0 2 | common lineHeight=32 base=26 scaleW=256 scaleH=50 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 3 | page id=0 file="dggreen.png" 4 | chars count=15 5 | char id=33 x=60 y=0 width=30 height=24 xoffset=0 yoffset=0 xadvance=30 page=0 chnl=15 6 | char id=43 x=77 y=25 width=13 height=24 xoffset=0 yoffset=0 xadvance=13 page=0 chnl=15 7 | char id=44 x=91 y=25 width=7 height=8 xoffset=0 yoffset=0 xadvance=7 page=0 chnl=15 8 | char id=45 x=99 y=25 width=13 height=6 xoffset=0 yoffset=0 xadvance=13 page=0 chnl=15 9 | char id=48 x=91 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 10 | char id=49 x=109 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 11 | char id=50 x=127 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 12 | char id=51 x=145 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 13 | char id=52 x=163 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 14 | char id=53 x=181 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 15 | char id=54 x=199 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 16 | char id=55 x=217 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 17 | char id=56 x=60 y=25 width=16 height=24 xoffset=0 yoffset=0 xadvance=16 page=0 chnl=15 18 | char id=57 x=235 y=0 width=17 height=24 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 19 | char id=105 x=0 y=0 width=59 height=40 xoffset=0 yoffset=0 xadvance=59 page=0 chnl=15 20 | -------------------------------------------------------------------------------- /res/font/dggreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/font/dggreen.png -------------------------------------------------------------------------------- /res/font/dgred.fnt: -------------------------------------------------------------------------------- 1 | info face="Arial" size=32 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 outline=0 2 | common lineHeight=32 base=26 scaleW=512 scaleH=88 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 3 | page id=0 file="dgred.png" 4 | chars count=14 5 | char id=43 x=339 y=0 width=13 height=40 xoffset=0 yoffset=0 xadvance=13 page=0 chnl=15 6 | char id=44 x=367 y=0 width=7 height=8 xoffset=0 yoffset=0 xadvance=7 page=0 chnl=15 7 | char id=45 x=353 y=0 width=13 height=40 xoffset=0 yoffset=0 xadvance=13 page=0 chnl=15 8 | char id=48 x=87 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 9 | char id=49 x=321 y=0 width=17 height=87 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 10 | char id=50 x=113 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 11 | char id=51 x=139 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 12 | char id=52 x=165 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 13 | char id=53 x=191 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 14 | char id=54 x=217 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 15 | char id=55 x=243 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 16 | char id=56 x=269 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 17 | char id=57 x=295 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 18 | char id=105 x=0 y=0 width=86 height=87 xoffset=0 yoffset=0 xadvance=86 page=0 chnl=15 19 | -------------------------------------------------------------------------------- /res/font/dgred.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/font/dgred.png -------------------------------------------------------------------------------- /res/font/dgyellow.fnt: -------------------------------------------------------------------------------- 1 | info face="Arial" size=32 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 outline=0 2 | common lineHeight=32 base=26 scaleW=512 scaleH=88 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 3 | page id=0 file="dgyellow.png" 4 | chars count=14 5 | char id=43 x=339 y=0 width=13 height=40 xoffset=0 yoffset=0 xadvance=13 page=0 chnl=15 6 | char id=44 x=367 y=0 width=7 height=9 xoffset=0 yoffset=0 xadvance=7 page=0 chnl=15 7 | char id=45 x=353 y=0 width=13 height=40 xoffset=0 yoffset=0 xadvance=13 page=0 chnl=15 8 | char id=48 x=87 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 9 | char id=49 x=321 y=0 width=17 height=87 xoffset=0 yoffset=0 xadvance=17 page=0 chnl=15 10 | char id=50 x=113 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 11 | char id=51 x=139 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 12 | char id=52 x=165 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 13 | char id=53 x=191 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 14 | char id=54 x=217 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 15 | char id=55 x=243 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 16 | char id=56 x=269 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 17 | char id=57 x=295 y=0 width=25 height=87 xoffset=0 yoffset=0 xadvance=25 page=0 chnl=15 18 | char id=105 x=0 y=0 width=86 height=87 xoffset=0 yoffset=0 xadvance=86 page=0 chnl=15 19 | -------------------------------------------------------------------------------- /res/font/dgyellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/font/dgyellow.png -------------------------------------------------------------------------------- /res/font/fnt_jijin.fnt: -------------------------------------------------------------------------------- 1 | info face="Arial" size=32 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 outline=0 2 | common lineHeight=32 base=26 scaleW=600 scaleH=64 pages=1 packed=0 alphaChnl=3 redChnl=3 greenChnl=3 blueChnl=3 3 | page id=0 file="fnt_jijin.png" 4 | chars count=11 5 | char id=48 x=0 y=0 width=54 height=58 xoffset=0 yoffset=0 xadvance=54 page=0 chnl=15 6 | char id=49 x=55 y=0 width=54 height=58 xoffset=0 yoffset=0 xadvance=54 page=0 chnl=15 7 | char id=50 x=110 y=0 width=54 height=58 xoffset=0 yoffset=0 xadvance=54 page=0 chnl=15 8 | char id=51 x=165 y=0 width=54 height=58 xoffset=0 yoffset=0 xadvance=54 page=0 chnl=15 9 | char id=52 x=220 y=0 width=54 height=58 xoffset=0 yoffset=0 xadvance=54 page=0 chnl=15 10 | char id=53 x=275 y=0 width=54 height=58 xoffset=0 yoffset=0 xadvance=54 page=0 chnl=15 11 | char id=54 x=330 y=0 width=54 height=58 xoffset=0 yoffset=0 xadvance=54 page=0 chnl=15 12 | char id=55 x=385 y=0 width=54 height=58 xoffset=0 yoffset=0 xadvance=54 page=0 chnl=15 13 | char id=56 x=440 y=0 width=54 height=58 xoffset=0 yoffset=0 xadvance=54 page=0 chnl=15 14 | char id=57 x=495 y=0 width=54 height=58 xoffset=0 yoffset=0 xadvance=54 page=0 chnl=15 15 | char id=58 x=596 y=26 width=2 height=15 xoffset=3 yoffset=11 xadvance=8 page=0 chnl=15 -------------------------------------------------------------------------------- /res/font/fnt_jijin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/font/fnt_jijin.png -------------------------------------------------------------------------------- /res/font/fnt_text.TTF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/font/fnt_text.TTF -------------------------------------------------------------------------------- /res/font/number.fnt: -------------------------------------------------------------------------------- 1 | info face="Arial" size=32 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 outline=0 2 | common lineHeight=32 base=26 scaleW=256 scaleH=256 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 3 | page id=0 file="number.png" 4 | chars count=11 5 | char id=45 x=0 y=0 width=23 height=30 xoffset=0 yoffset=0 xadvance=23 page=0 chnl=15 6 | char id=48 x=24 y=0 width=23 height=30 xoffset=0 yoffset=0 xadvance=23 page=0 chnl=15 7 | char id=49 x=48 y=0 width=23 height=30 xoffset=0 yoffset=0 xadvance=23 page=0 chnl=15 8 | char id=50 x=72 y=0 width=23 height=30 xoffset=0 yoffset=0 xadvance=23 page=0 chnl=15 9 | char id=51 x=96 y=0 width=23 height=30 xoffset=0 yoffset=0 xadvance=23 page=0 chnl=15 10 | char id=52 x=120 y=0 width=23 height=30 xoffset=0 yoffset=0 xadvance=23 page=0 chnl=15 11 | char id=53 x=144 y=0 width=23 height=30 xoffset=0 yoffset=0 xadvance=23 page=0 chnl=15 12 | char id=54 x=168 y=0 width=23 height=30 xoffset=0 yoffset=0 xadvance=23 page=0 chnl=15 13 | char id=55 x=192 y=0 width=23 height=30 xoffset=0 yoffset=0 xadvance=23 page=0 chnl=15 14 | char id=56 x=216 y=0 width=23 height=30 xoffset=0 yoffset=0 xadvance=23 page=0 chnl=15 15 | char id=57 x=0 y=31 width=23 height=30 xoffset=0 yoffset=0 xadvance=23 page=0 chnl=15 16 | -------------------------------------------------------------------------------- /res/font/number.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/font/number.png -------------------------------------------------------------------------------- /res/font/numgray.fnt: -------------------------------------------------------------------------------- 1 | info face="Arial" size=32 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 outline=0 2 | common lineHeight=32 base=26 scaleW=240 scaleH=30 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 3 | page id=0 file="numgray.png" 4 | chars count=11 5 | char id=37 x=0 y=0 width=27 height=25 xoffset=0 yoffset=0 xadvance=27 page=0 chnl=15 6 | char id=48 x=28 y=0 width=18 height=25 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15 7 | char id=49 x=47 y=0 width=18 height=25 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15 8 | char id=50 x=66 y=0 width=18 height=25 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15 9 | char id=51 x=85 y=0 width=18 height=25 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15 10 | char id=52 x=104 y=0 width=18 height=25 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15 11 | char id=53 x=123 y=0 width=18 height=25 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15 12 | char id=54 x=142 y=0 width=18 height=25 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15 13 | char id=55 x=161 y=0 width=18 height=25 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15 14 | char id=56 x=180 y=0 width=18 height=25 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15 15 | char id=57 x=199 y=0 width=18 height=25 xoffset=0 yoffset=0 xadvance=18 page=0 chnl=15 16 | -------------------------------------------------------------------------------- /res/font/numgray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/font/numgray.png -------------------------------------------------------------------------------- /res/font/numyellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/font/numyellow.png -------------------------------------------------------------------------------- /res/great/great.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/great/great.png -------------------------------------------------------------------------------- /res/hero/ame_car001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car001.png -------------------------------------------------------------------------------- /res/hero/ame_car002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car002.png -------------------------------------------------------------------------------- /res/hero/ame_car003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car003.png -------------------------------------------------------------------------------- /res/hero/ame_car004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car004.png -------------------------------------------------------------------------------- /res/hero/ame_car005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car005.png -------------------------------------------------------------------------------- /res/hero/ame_car006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car006.png -------------------------------------------------------------------------------- /res/hero/ame_car007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car007.png -------------------------------------------------------------------------------- /res/hero/ame_car008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car008.png -------------------------------------------------------------------------------- /res/hero/ame_car009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car009.png -------------------------------------------------------------------------------- /res/hero/ame_car010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car010.png -------------------------------------------------------------------------------- /res/hero/ame_car011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car011.png -------------------------------------------------------------------------------- /res/hero/ame_car012.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car012.png -------------------------------------------------------------------------------- /res/hero/ame_car013.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car013.png -------------------------------------------------------------------------------- /res/hero/ame_car014.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car014.png -------------------------------------------------------------------------------- /res/hero/ame_car015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car015.png -------------------------------------------------------------------------------- /res/hero/ame_car018.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car018.png -------------------------------------------------------------------------------- /res/hero/ame_car019.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car019.png -------------------------------------------------------------------------------- /res/hero/ame_car020.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car020.png -------------------------------------------------------------------------------- /res/hero/ame_car021.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car021.png -------------------------------------------------------------------------------- /res/hero/ame_car022.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car022.png -------------------------------------------------------------------------------- /res/hero/ame_car024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_car024.png -------------------------------------------------------------------------------- /res/hero/ame_npc001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_npc001.png -------------------------------------------------------------------------------- /res/hero/ame_npc002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_npc002.png -------------------------------------------------------------------------------- /res/hero/ame_npc003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_npc003.png -------------------------------------------------------------------------------- /res/hero/ame_npc004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_npc004.png -------------------------------------------------------------------------------- /res/hero/ame_npc005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_npc005.png -------------------------------------------------------------------------------- /res/hero/ame_npc006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_npc006.png -------------------------------------------------------------------------------- /res/hero/ame_npc007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ame_npc007.png -------------------------------------------------------------------------------- /res/hero/com_arc001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/com_arc001.png -------------------------------------------------------------------------------- /res/hero/com_npc001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/com_npc001.png -------------------------------------------------------------------------------- /res/hero/com_npc002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/com_npc002.png -------------------------------------------------------------------------------- /res/hero/com_npc003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/com_npc003.png -------------------------------------------------------------------------------- /res/hero/gbr_car006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_car006.png -------------------------------------------------------------------------------- /res/hero/gbr_car007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_car007.png -------------------------------------------------------------------------------- /res/hero/gbr_car008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_car008.png -------------------------------------------------------------------------------- /res/hero/gbr_car009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_car009.png -------------------------------------------------------------------------------- /res/hero/gbr_car010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_car010.png -------------------------------------------------------------------------------- /res/hero/gbr_car011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_car011.png -------------------------------------------------------------------------------- /res/hero/gbr_car012.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_car012.png -------------------------------------------------------------------------------- /res/hero/gbr_car013.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_car013.png -------------------------------------------------------------------------------- /res/hero/gbr_car014.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_car014.png -------------------------------------------------------------------------------- /res/hero/gbr_car015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_car015.png -------------------------------------------------------------------------------- /res/hero/gbr_npc001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_npc001.png -------------------------------------------------------------------------------- /res/hero/gbr_npc002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_npc002.png -------------------------------------------------------------------------------- /res/hero/gbr_npc003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_npc003.png -------------------------------------------------------------------------------- /res/hero/gbr_npc004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_npc004.png -------------------------------------------------------------------------------- /res/hero/gbr_npc005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_npc005.png -------------------------------------------------------------------------------- /res/hero/gbr_npc006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/gbr_npc006.png -------------------------------------------------------------------------------- /res/hero/ger_arc001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_arc001.png -------------------------------------------------------------------------------- /res/hero/ger_arc002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_arc002.png -------------------------------------------------------------------------------- /res/hero/ger_car001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_car001.png -------------------------------------------------------------------------------- /res/hero/ger_car002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_car002.png -------------------------------------------------------------------------------- /res/hero/ger_car003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_car003.png -------------------------------------------------------------------------------- /res/hero/ger_car004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_car004.png -------------------------------------------------------------------------------- /res/hero/ger_car005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_car005.png -------------------------------------------------------------------------------- /res/hero/ger_car006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_car006.png -------------------------------------------------------------------------------- /res/hero/ger_car007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_car007.png -------------------------------------------------------------------------------- /res/hero/ger_car015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_car015.png -------------------------------------------------------------------------------- /res/hero/ger_car017.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_car017.png -------------------------------------------------------------------------------- /res/hero/ger_car019.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_car019.png -------------------------------------------------------------------------------- /res/hero/ger_npc001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_npc001.png -------------------------------------------------------------------------------- /res/hero/ger_npc002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_npc002.png -------------------------------------------------------------------------------- /res/hero/ger_npc003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_npc003.png -------------------------------------------------------------------------------- /res/hero/ger_npc004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_npc004.png -------------------------------------------------------------------------------- /res/hero/ger_npc005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_npc005.png -------------------------------------------------------------------------------- /res/hero/ger_npc006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_npc006.png -------------------------------------------------------------------------------- /res/hero/ger_npc007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/ger_npc007.png -------------------------------------------------------------------------------- /res/hero/heroicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/heroicon.png -------------------------------------------------------------------------------- /res/hero/jiqiang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/jiqiang.png -------------------------------------------------------------------------------- /res/hero/jpn_car008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/jpn_car008.png -------------------------------------------------------------------------------- /res/hero/jpn_car009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/jpn_car009.png -------------------------------------------------------------------------------- /res/hero/jpn_npc001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/jpn_npc001.png -------------------------------------------------------------------------------- /res/hero/jpn_npc002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/jpn_npc002.png -------------------------------------------------------------------------------- /res/hero/jpn_npc003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/jpn_npc003.png -------------------------------------------------------------------------------- /res/hero/jpn_npc004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/jpn_npc004.png -------------------------------------------------------------------------------- /res/hero/jpn_npc005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/jpn_npc005.png -------------------------------------------------------------------------------- /res/hero/jpn_npc006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/jpn_npc006.png -------------------------------------------------------------------------------- /res/hero/lta_npc001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/lta_npc001.png -------------------------------------------------------------------------------- /res/hero/lta_npc002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/lta_npc002.png -------------------------------------------------------------------------------- /res/hero/lta_npc003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/lta_npc003.png -------------------------------------------------------------------------------- /res/hero/lta_npc004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/lta_npc004.png -------------------------------------------------------------------------------- /res/hero/lta_npc005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/lta_npc005.png -------------------------------------------------------------------------------- /res/hero/lta_npc006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/lta_npc006.png -------------------------------------------------------------------------------- /res/hero/uss_car001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_car001.png -------------------------------------------------------------------------------- /res/hero/uss_car002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_car002.png -------------------------------------------------------------------------------- /res/hero/uss_car004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_car004.png -------------------------------------------------------------------------------- /res/hero/uss_car007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_car007.png -------------------------------------------------------------------------------- /res/hero/uss_car010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_car010.png -------------------------------------------------------------------------------- /res/hero/uss_car011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_car011.png -------------------------------------------------------------------------------- /res/hero/uss_car014.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_car014.png -------------------------------------------------------------------------------- /res/hero/uss_car016.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_car016.png -------------------------------------------------------------------------------- /res/hero/uss_car019.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_car019.png -------------------------------------------------------------------------------- /res/hero/uss_car020.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_car020.png -------------------------------------------------------------------------------- /res/hero/uss_car021.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_car021.png -------------------------------------------------------------------------------- /res/hero/uss_car024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_car024.png -------------------------------------------------------------------------------- /res/hero/uss_npc001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_npc001.png -------------------------------------------------------------------------------- /res/hero/uss_npc002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_npc002.png -------------------------------------------------------------------------------- /res/hero/uss_npc003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_npc003.png -------------------------------------------------------------------------------- /res/hero/uss_npc004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_npc004.png -------------------------------------------------------------------------------- /res/hero/uss_npc005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_npc005.png -------------------------------------------------------------------------------- /res/hero/uss_npc006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/uss_npc006.png -------------------------------------------------------------------------------- /res/hero/zeronpc.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | frames 6 | 7 | zeronpc.png 8 | 9 | frame 10 | {{2,2},{1,1}} 11 | offset 12 | {-9.5,9.5} 13 | rotated 14 | 15 | sourceColorRect 16 | {{0,0},{1,1}} 17 | sourceSize 18 | {20,20} 19 | 20 | 21 | metadata 22 | 23 | format 24 | 2 25 | realTextureFileName 26 | zeronpc.png 27 | size 28 | {5,5} 29 | smartupdate 30 | $TexturePacker:SmartUpdate:0d138bd78f0c15294100bb6efddd40e4:1/1$ 31 | textureFileName 32 | zeronpc.png 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /res/hero/zeronpc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/hero/zeronpc.png -------------------------------------------------------------------------------- /res/icon/ico_acy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/icon/ico_acy.png -------------------------------------------------------------------------------- /res/icon/ico_equ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/icon/ico_equ.png -------------------------------------------------------------------------------- /res/icon/ico_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/icon/ico_item.png -------------------------------------------------------------------------------- /res/login/login_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/login/login_bg.png -------------------------------------------------------------------------------- /res/skill/amm_art_bic01.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | frames 6 | 7 | amm_art_bic01_0.png 8 | 9 | frame 10 | {{2,2},{40,24}} 11 | offset 12 | {0,0} 13 | rotated 14 | 15 | sourceColorRect 16 | {{0,0},{40,24}} 17 | sourceSize 18 | {40,24} 19 | 20 | 21 | metadata 22 | 23 | format 24 | 2 25 | realTextureFileName 26 | amm_art_bic01.png 27 | size 28 | {44,28} 29 | smartupdate 30 | $TexturePacker:SmartUpdate:8c2b757a4a932bc3658d39f69be6666e:1/1$ 31 | textureFileName 32 | amm_art_bic01.png 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /res/skill/amm_art_bic01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_art_bic01.png -------------------------------------------------------------------------------- /res/skill/amm_art_ski01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_art_ski01.png -------------------------------------------------------------------------------- /res/skill/amm_art_ski02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_art_ski02.png -------------------------------------------------------------------------------- /res/skill/amm_bom_ski01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_bom_ski01.png -------------------------------------------------------------------------------- /res/skill/amm_bom_ski02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_bom_ski02.png -------------------------------------------------------------------------------- /res/skill/amm_cru_bic01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_cru_bic01.png -------------------------------------------------------------------------------- /res/skill/amm_cru_ski01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_cru_ski01.png -------------------------------------------------------------------------------- /res/skill/amm_fire_bic01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_fire_bic01.png -------------------------------------------------------------------------------- /res/skill/amm_fire_ski01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_fire_ski01.png -------------------------------------------------------------------------------- /res/skill/amm_mis-pli01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_mis-pli01.png -------------------------------------------------------------------------------- /res/skill/amm_mis_bic01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_mis_bic01.png -------------------------------------------------------------------------------- /res/skill/amm_mis_bic02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_mis_bic02.png -------------------------------------------------------------------------------- /res/skill/amm_mis_bic03.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | frames 6 | 7 | amm_mis_bic03_0.png 8 | 9 | frame 10 | {{2,2},{156,26}} 11 | offset 12 | {1,1} 13 | rotated 14 | 15 | sourceColorRect 16 | {{2,1},{156,26}} 17 | sourceSize 18 | {158,30} 19 | 20 | 21 | metadata 22 | 23 | format 24 | 2 25 | realTextureFileName 26 | amm_mis_bic03.png 27 | size 28 | {160,30} 29 | smartupdate 30 | $TexturePacker:SmartUpdate:528ef5d38ef9582c07a5f97706662c89:1/1$ 31 | textureFileName 32 | amm_mis_bic03.png 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /res/skill/amm_mis_bic03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_mis_bic03.png -------------------------------------------------------------------------------- /res/skill/amm_mis_pli01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_mis_pli01.png -------------------------------------------------------------------------------- /res/skill/amm_mis_ski01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_mis_ski01.png -------------------------------------------------------------------------------- /res/skill/amm_mis_ski02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_mis_ski02.png -------------------------------------------------------------------------------- /res/skill/amm_rif_bic01.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | frames 6 | 7 | amm_rif_bic01_0.png 8 | 9 | frame 10 | {{2,2},{61,16}} 11 | offset 12 | {-1,0} 13 | rotated 14 | 15 | sourceColorRect 16 | {{0,0},{61,16}} 17 | sourceSize 18 | {63,16} 19 | 20 | 21 | metadata 22 | 23 | format 24 | 2 25 | realTextureFileName 26 | amm_rif_bic01.png 27 | size 28 | {65,20} 29 | smartupdate 30 | $TexturePacker:SmartUpdate:019521b0a7fe469804cac3d6199af8d0:1/1$ 31 | textureFileName 32 | amm_rif_bic01.png 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /res/skill/amm_rif_bic01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_rif_bic01.png -------------------------------------------------------------------------------- /res/skill/amm_rif_bic02.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | frames 6 | 7 | amm_rif_bic02_0.png 8 | 9 | frame 10 | {{2,2},{165,45}} 11 | offset 12 | {0,-2} 13 | rotated 14 | 15 | sourceColorRect 16 | {{0,5},{165,45}} 17 | sourceSize 18 | {165,51} 19 | 20 | 21 | metadata 22 | 23 | format 24 | 2 25 | realTextureFileName 26 | amm_rif_bic02.png 27 | size 28 | {169,49} 29 | smartupdate 30 | $TexturePacker:SmartUpdate:f29a38330d43899c7accafd484fc27b0:1/1$ 31 | textureFileName 32 | amm_rif_bic02.png 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /res/skill/amm_rif_bic02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_rif_bic02.png -------------------------------------------------------------------------------- /res/skill/amm_rif_ski01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_rif_ski01.png -------------------------------------------------------------------------------- /res/skill/amm_rif_ski02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_rif_ski02.png -------------------------------------------------------------------------------- /res/skill/amm_rpg_bic01.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | frames 6 | 7 | amm_rpg_bic01_0.png 8 | 9 | frame 10 | {{2,2},{115,22}} 11 | offset 12 | {-5,0} 13 | rotated 14 | 15 | sourceColorRect 16 | {{4,9},{115,22}} 17 | sourceSize 18 | {133,40} 19 | 20 | amm_rpg_bic01_1.png 21 | 22 | frame 23 | {{119,2},{123,18}} 24 | offset 25 | {0,0} 26 | rotated 27 | 28 | sourceColorRect 29 | {{5,11},{123,18}} 30 | sourceSize 31 | {133,40} 32 | 33 | 34 | metadata 35 | 36 | format 37 | 2 38 | realTextureFileName 39 | amm_rpg_bic01.png 40 | size 41 | {244,26} 42 | smartupdate 43 | $TexturePacker:SmartUpdate:8f13a75fb858de334e653dd280e239da:1/1$ 44 | textureFileName 45 | amm_rpg_bic01.png 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /res/skill/amm_rpg_bic01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_rpg_bic01.png -------------------------------------------------------------------------------- /res/skill/amm_rpg_bic02.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | frames 6 | 7 | amm_rpg_bic02_0.png 8 | 9 | frame 10 | {{192,2},{166,61}} 11 | offset 12 | {9,0} 13 | rotated 14 | 15 | sourceColorRect 16 | {{44,12},{166,61}} 17 | sourceSize 18 | {236,85} 19 | 20 | amm_rpg_bic02_1.png 21 | 22 | frame 23 | {{2,2},{188,65}} 24 | offset 25 | {20,-1} 26 | rotated 27 | 28 | sourceColorRect 29 | {{44,11},{188,65}} 30 | sourceSize 31 | {236,85} 32 | 33 | 34 | metadata 35 | 36 | format 37 | 2 38 | realTextureFileName 39 | amm_rpg_bic02.png 40 | size 41 | {360,69} 42 | smartupdate 43 | $TexturePacker:SmartUpdate:c72fad0a709037ec4cdfced5269ae4e7:1/1$ 44 | textureFileName 45 | amm_rpg_bic02.png 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /res/skill/amm_rpg_bic02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_rpg_bic02.png -------------------------------------------------------------------------------- /res/skill/amm_rpg_bic03.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | frames 6 | 7 | amm_rpg_bic03_0.png 8 | 9 | frame 10 | {{2,2},{55,15}} 11 | offset 12 | {0,0} 13 | rotated 14 | 15 | sourceColorRect 16 | {{0,0},{55,15}} 17 | sourceSize 18 | {55,15} 19 | 20 | 21 | metadata 22 | 23 | format 24 | 2 25 | realTextureFileName 26 | amm_rpg_bic03.png 27 | size 28 | {59,19} 29 | smartupdate 30 | $TexturePacker:SmartUpdate:2e257db479b241ed2deee4380a847beb:1/1$ 31 | textureFileName 32 | amm_rpg_bic03.png 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /res/skill/amm_rpg_bic03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_rpg_bic03.png -------------------------------------------------------------------------------- /res/skill/amm_rpg_ski01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_rpg_ski01.png -------------------------------------------------------------------------------- /res/skill/amm_rpg_ski02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_rpg_ski02.png -------------------------------------------------------------------------------- /res/skill/amm_sni_ski01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/amm_sni_ski01.png -------------------------------------------------------------------------------- /res/skill/buff_cri01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/buff_cri01.png -------------------------------------------------------------------------------- /res/skill/buff_def01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/buff_def01.png -------------------------------------------------------------------------------- /res/skill/buff_def02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/buff_def02.png -------------------------------------------------------------------------------- /res/skill/buff_def03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/buff_def03.png -------------------------------------------------------------------------------- /res/skill/buff_ice01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/buff_ice01.png -------------------------------------------------------------------------------- /res/skill/buff_rep01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/buff_rep01.png -------------------------------------------------------------------------------- /res/skill/buff_sil01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/buff_sil01.png -------------------------------------------------------------------------------- /res/skill/buff_spe01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/buff_spe01.png -------------------------------------------------------------------------------- /res/skill/buff_ver01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/buff_ver01.png -------------------------------------------------------------------------------- /res/skill/com_rif_bic01.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | frames 6 | 7 | com_rif_bic01_0.png 8 | 9 | frame 10 | {{2,2},{22,14}} 11 | offset 12 | {0,0} 13 | rotated 14 | 15 | sourceColorRect 16 | {{0,4},{22,14}} 17 | sourceSize 18 | {22,22} 19 | 20 | 21 | metadata 22 | 23 | format 24 | 2 25 | realTextureFileName 26 | com_rif_bic01.png 27 | size 28 | {18,26} 29 | smartupdate 30 | $TexturePacker:SmartUpdate:36fdad82897c5ef0f3f50b7402bea150:1/1$ 31 | textureFileName 32 | com_rif_bic01.png 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /res/skill/com_rif_bic01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/com_rif_bic01.png -------------------------------------------------------------------------------- /res/skill/com_start01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/com_start01.png -------------------------------------------------------------------------------- /res/skill/eff_die01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/eff_die01.png -------------------------------------------------------------------------------- /res/skill/eff_sing01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/eff_sing01.png -------------------------------------------------------------------------------- /res/skill/eff_sing02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/eff_sing02.png -------------------------------------------------------------------------------- /res/skill/jiqiang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/jiqiang.png -------------------------------------------------------------------------------- /res/skill/skillBar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/res/skill/skillBar.png -------------------------------------------------------------------------------- /src/common/Constant.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | /** 10 | */ 11 | 12 | var GLOBALDATA = null; 13 | var USERSERVERURL = 'http://127.0.0.1:8089/login'; 14 | var GAMESERVERURL = "ws://127.0.0.1:8082/game"; 15 | 16 | var MAXLVARMYMLEVEL = 160; //士兵最大的等级 17 | var MAXEQULEVEL = 320; //装备最大强化等级` 18 | var MAXEQUREFINE = 50; //装备最大精炼等级 19 | var MAXEQUFPRGE = 10; //装备最大锻造等级 20 | var MAXACCLEVEL = 160; //配饰最大强化等级 21 | var MAXACCREFINE = 20; //配饰最大精炼等级 22 | 23 | //弹幕设置相关KEY 24 | var OPENBARRAGE = "openbarrage"; 25 | var SIMPLEBARRAGE = "simplebarrage"; 26 | var GOLDBARRAGE = "goldbarrage"; 27 | var PINKBARRAGE = "pinkbarrage"; 28 | 29 | // 30 | // var AES_KEY = "Rh%5%e@AP@L2@SIc"; 31 | var AES_KEY = "testnidongde1234"; 32 | var AES_IV = "1234567890123456"; 33 | 34 | -------------------------------------------------------------------------------- /src/common/baseScene.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | /** 10 | */ 11 | var baseScene = cc.Scene.extend({ 12 | onEnter:function () { 13 | this._super(); 14 | 15 | }, 16 | onExit:function () { 17 | this._super(); 18 | // cc.log('baseScene onExit'); 19 | } 20 | }); -------------------------------------------------------------------------------- /src/common/cmLayer.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | /** 10 | * for 统一加载资源 11 | */ 12 | var cmLayer = cc.Layer.extend({ 13 | onEnter:function () { 14 | this._super(); 15 | var self = this; 16 | // cc.log('cmLayer-onEnter-'+this.LayerName); 17 | //加载资源 18 | if(this.LayerName){ 19 | cc.loader.load(g_resources[this.LayerName],function (result, count, loadedCount) { 20 | 21 | }, function () { 22 | // cc.log('loadRes compelete'); 23 | // cc.textureCache.dumpCachedTextureInfo(); 24 | 25 | self.initUI(); 26 | self.IsLoadComplete = true; 27 | }); 28 | }else{ 29 | cc.log('请添加Layer名'); 30 | } 31 | 32 | //处理dataupdate 33 | this.dataUpdateEvent = cc.EventListener.create({ 34 | event:cc.EventListener.CUSTOM, 35 | eventName:"data.update", 36 | callback:function (event) { 37 | var resData = event.getUserData(); 38 | if(resData.status == 0){ 39 | if(self.dealRedPoint && typeof(self.dealRedPoint)=="function" && self.IsLoadComplete == true) { 40 | self.dealRedPoint(resData.data); 41 | } 42 | } 43 | } 44 | }); 45 | cc.eventManager.addListener(this.dataUpdateEvent,this); 46 | 47 | }, 48 | ctor:function () { 49 | ////////////////////////////// 50 | // 1. super init first 51 | this._super(); 52 | // cc.log('cmLayer-ctor-'+this.LayerName); 53 | return true; 54 | }, 55 | onExit:function () { 56 | if(this.LayerName){ 57 | gcRes(g_resources[this.LayerName]); 58 | // cc.textureCache.dumpCachedTextureInfo(); 59 | } 60 | this.IsLoadComplete = false; 61 | cc.eventManager.removeListener(this.dataUpdateEvent); 62 | // cc.log('cmLayer-onExit-'+this.LayerName); 63 | this._super(); 64 | } 65 | }); -------------------------------------------------------------------------------- /src/common/detailRedPoint/arenaRedPoint.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | //xiongrui 01 18 10 | var arenaRedPoint = { 11 | mainArenaRedPoint:function (data) { 12 | var result = 3; 13 | var isRed = null; 14 | var limit_lv = INTERFACECFG[1].level; 15 | if(GLOBALDATA.base.lev>=limit_lv){ 16 | if(data==null){ 17 | isRed = this.mainPanleJudgeArena(); 18 | if(isRed){ 19 | result = 1; 20 | }else{ 21 | result = 2; 22 | } 23 | }else{ 24 | var keyArr = data.key.split('.'); 25 | if((keyArr[0] == "arena"&&data.data.hasOwnProperty("num"))){ 26 | isRed = this.mainPanleJudgeArena(); 27 | } 28 | if(isRed == null){ 29 | result = 3; 30 | }else if(isRed == true){ 31 | result = 1; 32 | }else if(isRed == false){ 33 | result = 2; 34 | } 35 | } 36 | } 37 | return result; 38 | }, 39 | 40 | mainPanleJudgeArena:function () { 41 | var isRed = false; 42 | if(GLOBALDATA.arena.num>0){ 43 | isRed = true 44 | } 45 | return isRed; 46 | }, 47 | 48 | ArenaPanleRedPoint:function (data) { 49 | 50 | }, 51 | } -------------------------------------------------------------------------------- /src/common/detailRedPoint/emailRedPoint.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | //xiongrui 01 18 10 | var emailRedPoint = { 11 | mainEmailRedPoint:function (data) { 12 | var result = 3; 13 | var isRed = null; 14 | if(data==null){ 15 | isRed = this.mainPanleJudgeEmail(); 16 | if(isRed){ 17 | result = 1; 18 | }else{ 19 | result = 2; 20 | } 21 | }else{ 22 | var keyArr = data.key.split('.'); 23 | if((keyArr[0] == "mailbox")){ 24 | isRed = this.mainPanleJudgeEmail(); 25 | } 26 | if(isRed == null){ 27 | result = 3; 28 | }else if(isRed == true){ 29 | result = 1; 30 | }else if(isRed == false){ 31 | result = 2; 32 | } 33 | } 34 | return result; 35 | }, 36 | //判断主界面邮件红点 37 | mainPanleJudgeEmail:function () { 38 | var isRed = false; 39 | for(var key in GLOBALDATA.mailbox){ 40 | isRed = true; 41 | break; 42 | } 43 | return isRed; 44 | }, 45 | 46 | emailPanleRedPoint:function (data) { 47 | //邮箱界面红点的显示方法 48 | }, 49 | } -------------------------------------------------------------------------------- /src/config/ACCRELATIONCFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var ACCRELATIONCFG = { 10 | "1":{ 11 | "id":1, 12 | "accid":10002, 13 | "hero":[1001,1002,1058], 14 | "level":5, 15 | "attr":[[2,2,6000]], 16 | "des1":"攻击加成+60%" 17 | }, 18 | "2":{ 19 | "id":2, 20 | "accid":10002, 21 | "hero":[1001,1002,1058], 22 | "level":10, 23 | "attr":[[1,2,12000]], 24 | "des1":"生命加成+120%" 25 | }, 26 | "3":{ 27 | "id":3, 28 | "accid":10002, 29 | "hero":[1001,1002,1058], 30 | "level":15, 31 | "attr":[[2,2,15000],[1,2,30000]], 32 | "des1":"攻击加成+150%", 33 | "des2":"生命加成+300%" 34 | } 35 | } -------------------------------------------------------------------------------- /src/config/ARENACFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var ARENACFG = { 10 | "1":{ 11 | "id":1, 12 | "pm":[1,1], 13 | "rewards":[[2,300],[7,4000]] 14 | }, 15 | "2":{ 16 | "id":2, 17 | "pm":[2,2], 18 | "rewards":[[2,200],[7,3000]] 19 | }, 20 | "3":{ 21 | "id":3, 22 | "pm":[3,3], 23 | "rewards":[[2,150],[7,2000]] 24 | }, 25 | "4":{ 26 | "id":4, 27 | "pm":[4,4], 28 | "rewards":[[2,125],[7,1750]] 29 | }, 30 | "5":{ 31 | "id":5, 32 | "pm":[5,10], 33 | "rewards":[[2,100],[7,1500]] 34 | }, 35 | "6":{ 36 | "id":6, 37 | "pm":[11,20], 38 | "rewards":[[2,90],[7,1250]] 39 | }, 40 | "7":{ 41 | "id":7, 42 | "pm":[21,100], 43 | "rewards":[[2,80],[7,1000]] 44 | }, 45 | "8":{ 46 | "id":8, 47 | "pm":[101,200], 48 | "rewards":[[2,70],[7,900]] 49 | }, 50 | "9":{ 51 | "id":9, 52 | "pm":[201,300], 53 | "rewards":[[2,60],[7,800]] 54 | }, 55 | "10":{ 56 | "id":10, 57 | "pm":[301,500], 58 | "rewards":[[2,50],[7,700]] 59 | }, 60 | "11":{ 61 | "id":11, 62 | "pm":[501,1000], 63 | "rewards":[[2,40],[7,600]] 64 | }, 65 | "12":{ 66 | "id":12, 67 | "pm":[1001,20000], 68 | "rewards":[[2,30],[7,500]] 69 | } 70 | } -------------------------------------------------------------------------------- /src/config/ARMYBREAKCFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var ARMYBREAKCFG = { 10 | "1006":{ 11 | "id":1006, 12 | "armylvlimit":20, 13 | "cost":[[1,3000000],[22017,2000]] 14 | }, 15 | "1011":{ 16 | "id":1011, 17 | "armylvlimit":20, 18 | "cost":[[1,3000000],[22017,2000]] 19 | }, 20 | "1017":{ 21 | "id":1017, 22 | "armylvlimit":20, 23 | "cost":[[1,30000],[22016,1000]] 24 | }, 25 | "1029":{ 26 | "id":1029, 27 | "armylvlimit":20, 28 | "cost":[[1,30000],[22016,1000]] 29 | }, 30 | "1032":{ 31 | "id":1032, 32 | "armylvlimit":20, 33 | "cost":[[1,30000],[22016,1000]] 34 | }, 35 | "1035":{ 36 | "id":1035, 37 | "armylvlimit":20, 38 | "cost":[[1,30000],[22016,1000]] 39 | }, 40 | "1045":{ 41 | "id":1045, 42 | "armylvlimit":20, 43 | "cost":[[1,3000000],[22017,2000]] 44 | }, 45 | "1051":{ 46 | "id":1051, 47 | "armylvlimit":20, 48 | "cost":[[1,3000000],[22017,2000]] 49 | }, 50 | "1055":{ 51 | "id":1055, 52 | "armylvlimit":20, 53 | "cost":[[1,30000],[22016,1000]] 54 | }, 55 | "1057":{ 56 | "id":1057, 57 | "armylvlimit":20, 58 | "cost":[[1,3000000],[22017,2000]] 59 | }, 60 | "1062":{ 61 | "id":1062, 62 | "armylvlimit":20, 63 | "cost":[[1,3000000],[22017,2000]] 64 | }, 65 | "1079":{ 66 | "id":1079, 67 | "armylvlimit":20, 68 | "cost":[[1,3000000],[22017,2000]] 69 | } 70 | } -------------------------------------------------------------------------------- /src/config/BOSSRANKLISTCFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var BOSSRANKLISTCFG = { 10 | "1":{ 11 | "id":1, 12 | "rank":[1,1], 13 | "item":[12,3000] 14 | }, 15 | "2":{ 16 | "id":2, 17 | "rank":[2,2], 18 | "item":[12,2750] 19 | }, 20 | "3":{ 21 | "id":3, 22 | "rank":[3,3], 23 | "item":[12,2500] 24 | }, 25 | "4":{ 26 | "id":4, 27 | "rank":[4,5], 28 | "item":[12,2000] 29 | }, 30 | "5":{ 31 | "id":5, 32 | "rank":[6,10], 33 | "item":[12,1500] 34 | }, 35 | "6":{ 36 | "id":6, 37 | "rank":[11,30], 38 | "item":[12,1250] 39 | }, 40 | "7":{ 41 | "id":7, 42 | "rank":[31,50], 43 | "item":[12,1000] 44 | }, 45 | "8":{ 46 | "id":8, 47 | "rank":[51,100], 48 | "item":[12,750] 49 | }, 50 | "9":{ 51 | "id":9, 52 | "rank":[101,200], 53 | "item":[12,500] 54 | }, 55 | "10":{ 56 | "id":10, 57 | "rank":[201,500], 58 | "item":[12,200] 59 | } 60 | } -------------------------------------------------------------------------------- /src/config/CARDCFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var CARDCFG = { 10 | "1":{ 11 | "id":1, 12 | "name":"普通研发", 13 | "goods":[4,1], 14 | "gem":-1, 15 | "probability":[[8000,[1007,1020,1031,1036,1059]],[1000,[1028,1054]],[800,[1017,1029,1032,1035,1055]],[200,[1019,1023,1027,1037,1043,1053]]], 16 | "ghero":[[10000,[1028,1029]]], 17 | "first":1051 18 | }, 19 | "2":{ 20 | "id":2, 21 | "name":"钻石研发", 22 | "goods":[5,1], 23 | "gem":288, 24 | "probability":[[7000,[1028,1054]],[2500,[1017,1029,1032,1035,1055]],[400,[1019,1023,1027,1037,1043,1053]],[100,[1014,1015,1021,1034,1044,1046,1056,1065,1069]]], 25 | "ghero":[[10000,[1014,1015,1021,1034,1044,1046,1056,1065,1069]]], 26 | "first":1079 27 | }, 28 | "3":{ 29 | "id":3, 30 | "name":"钻石十连", 31 | "goods":-1, 32 | "gem":2580, 33 | "probability":[[7000,[1028,1054]],[2500,[1017,1029,1032,1035,1055]],[400,[1019,1023,1027,1037,1043,1053]],[100,[1014,1015,1021,1034,1044,1046,1056,1065,1069]]], 34 | "ghero":[[10000,[1014,1015,1021,1034,1044,1046,1056,1065,1069]]] 35 | } 36 | } -------------------------------------------------------------------------------- /src/config/COMCARCOMBINATIONCFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var COMCARCOMBINATIONCFG = { 10 | "1":{ 11 | "id":1, 12 | "name\t":"陆地之王", 13 | "carid":[101,102,103], 14 | "carnum":3, 15 | "combination":[[2,1,34400],[3,1,13760],[1,2,1000]] 16 | }, 17 | "2":{ 18 | "id":2, 19 | "name\t":"深海霸主", 20 | "carid":[104,105], 21 | "carnum":2, 22 | "combination":[[1,1,1050000],[2,1,105000],[19,2,1000],[20,2,1000]] 23 | }, 24 | "3":{ 25 | "id":3, 26 | "name\t":"空中皇者", 27 | "carid":[106,107], 28 | "carnum":2, 29 | "combination":[[1,1,1425000],[2,1,142500],[24,2,1500],[25,2,1500]] 30 | } 31 | } -------------------------------------------------------------------------------- /src/config/COMMANDERCFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var COMMANDERCFG = { 10 | "ZHG001":{ 11 | "commanderid":"ZHG001", 12 | "commandername":"查理", 13 | "commandermodel":"com_npc002", 14 | "basehp":0.5, 15 | "addhp":0.1, 16 | "baseatk":0.4, 17 | "addatk":0.1, 18 | "basedef":0.3, 19 | "adddef":0.1, 20 | "vehicleid":["vehicle1"], 21 | "asicskill":[101], 22 | "activeskill":[109,110,111,112], 23 | "passiveskill":[102,103,104,105,106,107], 24 | "effski":"eff_sing01", 25 | "modelsize":1, 26 | "modelpos":[0,0] 27 | }, 28 | "ZHG002":{ 29 | "commanderid":"ZHG002", 30 | "commandername":"露西", 31 | "commandermodel":"com_npc001", 32 | "basehp":0.5, 33 | "addhp":0.1, 34 | "baseatk":0.4, 35 | "addatk":0.1, 36 | "basedef":0.3, 37 | "adddef":0.1, 38 | "vehicleid":["vehicle1"], 39 | "asicskill":[101], 40 | "activeskill":[109,110,111,112], 41 | "passiveskill":[102,103,104,105,106,107], 42 | "effski":"eff_sing01", 43 | "modelsize":1, 44 | "modelpos":[0,0] 45 | }, 46 | "ZHG003":{ 47 | "commanderid":"ZHG003", 48 | "commandername":"玛丽", 49 | "commandermodel":"com_npc003", 50 | "basehp":0.5, 51 | "addhp":0.1, 52 | "baseatk":0.4, 53 | "addatk":0.1, 54 | "basedef":0.3, 55 | "adddef":0.1, 56 | "vehicleid":["vehicle1"], 57 | "asicskill":[101], 58 | "activeskill":[109,110,111,112], 59 | "passiveskill":[102,103,104,105,106,107], 60 | "effski":"eff_sing01", 61 | "modelsize":1, 62 | "modelpos":[0,0] 63 | } 64 | } -------------------------------------------------------------------------------- /src/config/DUIZHANJUNTUANCFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var DUIZHANJUNTUANCFG = { 10 | "1":{ 11 | "id":1, 12 | "rank":[1,1], 13 | "reward":[[22013,20],[22014,10]] 14 | }, 15 | "2":{ 16 | "id":2, 17 | "rank":[2,2], 18 | "reward":[[22013,15],[22014,8]] 19 | }, 20 | "3":{ 21 | "id":3, 22 | "rank":[3,3], 23 | "reward":[[22013,10],[22014,6]] 24 | }, 25 | "4":{ 26 | "id":4, 27 | "rank":[4,5], 28 | "reward":[[22013,8],[22014,5]] 29 | }, 30 | "5":{ 31 | "id":5, 32 | "rank":[6,10], 33 | "reward":[[22013,5],[22014,2]] 34 | } 35 | } -------------------------------------------------------------------------------- /src/config/DUIZHANRANKCFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var DUIZHANRANKCFG = { 10 | "1":{ 11 | "id":1, 12 | "rank":[1,1], 13 | "reward":[[15,1000],[22014,20]] 14 | }, 15 | "2":{ 16 | "id":2, 17 | "rank":[2,2], 18 | "reward":[[15,900],[22014,15]] 19 | }, 20 | "3":{ 21 | "id":3, 22 | "rank":[3,3], 23 | "reward":[[15,800],[22014,10]] 24 | }, 25 | "4":{ 26 | "id":4, 27 | "rank":[4,4], 28 | "reward":[[15,700],[22014,9]] 29 | }, 30 | "5":{ 31 | "id":5, 32 | "rank":[5,5], 33 | "reward":[[15,650],[22014,8]] 34 | }, 35 | "6":{ 36 | "id":6, 37 | "rank":[6,6], 38 | "reward":[[15,600],[22014,7]] 39 | }, 40 | "7":{ 41 | "id":7, 42 | "rank":[7,7], 43 | "reward":[[15,550],[22014,6]] 44 | }, 45 | "8":{ 46 | "id":8, 47 | "rank":[8,8], 48 | "reward":[[15,500],[22014,5]] 49 | }, 50 | "9":{ 51 | "id":9, 52 | "rank":[9,9], 53 | "reward":[[15,450],[22014,4]] 54 | }, 55 | "10":{ 56 | "id":10, 57 | "rank":[10,10], 58 | "reward":[[15,400],[22014,3]] 59 | }, 60 | "11":{ 61 | "id":11, 62 | "rank":[11,20000], 63 | "reward":[[15,300],[22014,2]] 64 | } 65 | } -------------------------------------------------------------------------------- /src/config/DUIZHANREWARDCFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var DUIZHANREWARDCFG = { 10 | "1":{ 11 | "id":1, 12 | "level":[45,49], 13 | "reward":[[1,15000000],[3,6000]] 14 | }, 15 | "2":{ 16 | "id":2, 17 | "level":[50,54], 18 | "reward":[[1,20000000],[3,12000]] 19 | }, 20 | "3":{ 21 | "id":3, 22 | "level":[55,64], 23 | "reward":[[1,25000000],[3,24000]] 24 | }, 25 | "4":{ 26 | "id":4, 27 | "level":[65,74], 28 | "reward":[[1,30000000],[3,32000]] 29 | }, 30 | "5":{ 31 | "id":5, 32 | "level":[75,84], 33 | "reward":[[1,36000000],[3,40000]] 34 | }, 35 | "6":{ 36 | "id":6, 37 | "level":[85,94], 38 | "reward":[[1,40000000],[3,45000]] 39 | }, 40 | "7":{ 41 | "id":7, 42 | "level":[95,100], 43 | "reward":[[1,45000000],[3,55000]] 44 | } 45 | } -------------------------------------------------------------------------------- /src/config/EXPLORECHESTCFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var EXPLORECHESTCFG = { 10 | "1":{ 11 | "id":1, 12 | "name":"中级宝箱", 13 | "goods":[22108,1], 14 | "gem":20, 15 | "item":[[22069,1,2000],[22070,10,1500],[22070,15,2000],[22070,20,1500],[10005,1,1000],[10006,1,1000],[10003,1,500],[10004,1,500]], 16 | "gtreasure":[[11001,1,5000],[11002,1,5000]] 17 | }, 18 | "2":{ 19 | "id":2, 20 | "name":"中级宝箱10连", 21 | "goods":-1, 22 | "gem":200, 23 | "item":[[22069,1,2000],[22070,10,1500],[22070,15,2000],[22070,20,1500],[10005,1,1000],[10006,1,1000],[10003,1,500],[10004,1,500]], 24 | "gtreasure":[[11001,1,5000],[11002,1,5000]] 25 | }, 26 | "3":{ 27 | "id":3, 28 | "name":"高级宝箱", 29 | "goods":[22109,1], 30 | "gem":75, 31 | "item":[[22069,2,1000],[22069,3,1000],[22070,65,1000],[22070,70,1500],[22070,75,1500],[22070,80,1000],[10003,1,1000],[10004,1,1000],[11001,1,500],[11002,1,500]], 32 | "gtreasure":[[10001,1,5000],[10002,1,5000]] 33 | }, 34 | "4":{ 35 | "id":4, 36 | "name":"高级宝箱10连", 37 | "goods":-1, 38 | "gem":750, 39 | "item":[[22069,2,400],[22069,3,400],[22069,5,200],[22070,65,1000],[22070,70,1500],[22070,75,1500],[22070,80,1000],[10003,1,1000],[10004,1,1000],[11001,1,500],[11002,1,500]], 40 | "gtreasure":[[10001,1,5000],[10002,1,5000]] 41 | } 42 | } -------------------------------------------------------------------------------- /src/config/JUMPINFOCFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var JUMPINFOCFG = { 10 | "1":{ 11 | "id":1, 12 | "name":"觉醒商店" 13 | }, 14 | "2":{ 15 | "id":2, 16 | "name":"精英军事活动$1", 17 | "des":"通关军事活动可获取" 18 | }, 19 | "3":{ 20 | "id":3, 21 | "name":"士兵商店", 22 | "des":"可使用军魂兑换商店中的物资" 23 | }, 24 | "4":{ 25 | "id":4, 26 | "name":"装备商店", 27 | "des":"可使用军备值兑换商店中的物资" 28 | }, 29 | "5":{ 30 | "id":5, 31 | "name":"声望商店", 32 | "des":"可使用声望兑换商店中的物资" 33 | }, 34 | "6":{ 35 | "id":6, 36 | "name":"商店", 37 | "des":"可在商店中购买自己需要的物资" 38 | }, 39 | "7":{ 40 | "id":7, 41 | "name":"兵营", 42 | "des":"通过研发获取" 43 | }, 44 | "8":{ 45 | "id":8, 46 | "name":"资源掠夺", 47 | "des":"参加掠夺可获得" 48 | }, 49 | "9":{ 50 | "id":9, 51 | "name":"探险", 52 | "des":"参加探险可获得" 53 | }, 54 | "10":{ 55 | "id":10, 56 | "name":"回收", 57 | "des":"通过回收可获得" 58 | }, 59 | "11":{ 60 | "id":11, 61 | "name":"兵工厂", 62 | "des":"通过兵工厂可获得" 63 | } 64 | } -------------------------------------------------------------------------------- /src/config/MISSIONVITACFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var MISSIONVITACFG = { 10 | "1101":{ 11 | "id":1101, 12 | "name":"活跃值达到35", 13 | "type":3, 14 | "chain":26, 15 | "trigger":26, 16 | "qz":0, 17 | "hz":1102, 18 | "cf":[[2,1]], 19 | "mb":[[1,35]], 20 | "reward":[[2,20],[10,1]], 21 | "des":"活跃值达到35", 22 | "st":1, 23 | "et":86400 24 | }, 25 | "1102":{ 26 | "id":1102, 27 | "name":"活跃值达到80", 28 | "type":3, 29 | "chain":26, 30 | "trigger":26, 31 | "qz":1101, 32 | "hz":1103, 33 | "cf":[[2,1]], 34 | "mb":[[1,80]], 35 | "reward":[[2,20],[10,2],[9,3]], 36 | "des":"活跃值达到80", 37 | "st":1, 38 | "et":86400 39 | }, 40 | "1103":{ 41 | "id":1103, 42 | "name":"活跃值达到110", 43 | "type":3, 44 | "chain":26, 45 | "trigger":26, 46 | "qz":1102, 47 | "hz":1104, 48 | "cf":[[2,1]], 49 | "mb":[[1,110]], 50 | "reward":[[2,50],[10,3],[9,5]], 51 | "des":"活跃值达到110", 52 | "st":1, 53 | "et":86400 54 | }, 55 | "1104":{ 56 | "id":1104, 57 | "name":"活跃值达到135", 58 | "type":3, 59 | "chain":26, 60 | "trigger":26, 61 | "qz":1103, 62 | "hz":0, 63 | "cf":[[2,1]], 64 | "mb":[[1,135]], 65 | "reward":[[2,100],[17,300],[18,1],[9,5]], 66 | "des":"活跃值达到135", 67 | "st":1, 68 | "et":86400 69 | } 70 | } -------------------------------------------------------------------------------- /src/config/NOTICECFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var NOTICECFG = { 10 | "1":{ 11 | "id":1, 12 | "desc":"#R新服预告#G测试" 13 | }, 14 | "2":{ 15 | "id":2, 16 | "desc":"#K2月20日 11:00开服 2区" 17 | }, 18 | "3":{ 19 | "id":3, 20 | "desc":"#R开服活动" 21 | }, 22 | "4":{ 23 | "id":4, 24 | "desc":"#K一、首冲大礼包" 25 | }, 26 | "5":{ 27 | "id":5, 28 | "desc":"#K首冲任意金额3倍钻石返还,还可领取最强群攻卡“苏联突击队”!" 29 | }, 30 | "6":{ 31 | "id":6, 32 | "desc":"#K注:充值月卡和终身卡可以领取首冲礼包,但是无法享受到3倍钻石返还" 33 | } 34 | } -------------------------------------------------------------------------------- /src/config/PAYCFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var PAYCFG = { 10 | "1":{ 11 | "id":1, 12 | "itemid":10001, 13 | "type":1, 14 | "tp":1, 15 | "item":"60钻石", 16 | "rmb":6, 17 | "mz":60, 18 | "emz":0, 19 | "double":1, 20 | "showid":8 21 | }, 22 | "2":{ 23 | "id":2, 24 | "itemid":10002, 25 | "type":1, 26 | "tp":1, 27 | "item":"300钻石", 28 | "rmb":30, 29 | "mz":300, 30 | "emz":[5,1], 31 | "double":1, 32 | "showid":7 33 | }, 34 | "3":{ 35 | "id":3, 36 | "itemid":10003, 37 | "type":1, 38 | "tp":1, 39 | "item":"600钻石", 40 | "rmb":60, 41 | "mz":600, 42 | "emz":[5,3], 43 | "double":1, 44 | "showid":6 45 | }, 46 | "4":{ 47 | "id":4, 48 | "itemid":10004, 49 | "type":1, 50 | "tp":1, 51 | "item":"1980钻石", 52 | "rmb":198, 53 | "mz":1980, 54 | "emz":[5,6], 55 | "double":1, 56 | "showid":5 57 | }, 58 | "5":{ 59 | "id":5, 60 | "itemid":10005, 61 | "type":1, 62 | "tp":1, 63 | "item":"3280钻石", 64 | "rmb":328, 65 | "mz":3280, 66 | "emz":[5,10], 67 | "double":1, 68 | "showid":4 69 | }, 70 | "6":{ 71 | "id":6, 72 | "itemid":10006, 73 | "type":1, 74 | "tp":1, 75 | "item":"6480钻石", 76 | "rmb":648, 77 | "mz":6480, 78 | "emz":[5,20], 79 | "double":1, 80 | "showid":3 81 | }, 82 | "7":{ 83 | "id":7, 84 | "itemid":10007, 85 | "type":1, 86 | "tp":2, 87 | "item":"月卡(250钻石)", 88 | "rmb":25, 89 | "mz":250, 90 | "emz":0, 91 | "double":0, 92 | "showid":2 93 | }, 94 | "8":{ 95 | "id":8, 96 | "itemid":10008, 97 | "type":1, 98 | "tp":3, 99 | "item":"终身(800钻石)", 100 | "rmb":80, 101 | "mz":800, 102 | "emz":0, 103 | "double":0, 104 | "showid":1 105 | } 106 | } -------------------------------------------------------------------------------- /src/config/RECORDRANKCFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var RECORDRANKCFG = { 10 | "1":{ 11 | "id":1, 12 | "rank":[1,1], 13 | "item":[2,50] 14 | }, 15 | "2":{ 16 | "id":2, 17 | "rank":[2,2], 18 | "item":[2,40] 19 | }, 20 | "3":{ 21 | "id":3, 22 | "rank":[3,3], 23 | "item":[2,30] 24 | }, 25 | "4":{ 26 | "id":4, 27 | "rank":[4,4], 28 | "item":[2,20] 29 | }, 30 | "5":{ 31 | "id":5, 32 | "rank":[6,10], 33 | "item":[2,10] 34 | } 35 | } -------------------------------------------------------------------------------- /src/config/VEHICLECFG.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var VEHICLECFG = { 10 | "vehicle1":{ 11 | "vehicleid":"vehicle1", 12 | "vehiclepic":"ger_car003.png", 13 | "vehiclename":"机枪", 14 | "commanderskillid":108, 15 | "activationcondition":[1,1] 16 | } 17 | } -------------------------------------------------------------------------------- /src/module/arena/model/arenaModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var arenaModel = { 10 | //刷新 11 | refreshArena:function () { 12 | Network.getInstance().send({ 13 | task:"arena.refresh" 14 | }); 15 | }, 16 | //排行 17 | getArenaRank:function (id,start,end) { 18 | Network.getInstance().send({ 19 | task:"rank.getinfo", 20 | id:id, 21 | b:start, 22 | e:end 23 | }); 24 | }, 25 | //购买次数 26 | buyCount:function () { 27 | Network.getInstance().send({ 28 | task:"arena.buycount" 29 | }); 30 | }, 31 | //战斗开始 32 | startFight:function (pos) { 33 | Network.getInstance().send({ 34 | task:"arena.stagebegin", 35 | pos:pos 36 | }); 37 | }, 38 | //战斗结束 39 | endFight:function (pos,num,typ,win) { 40 | Network.getInstance().send({ 41 | task:"arena.stage", 42 | pos:pos, 43 | num:num, 44 | typ:typ, 45 | win:win 46 | }); 47 | }, 48 | //获取玩家数据 49 | getPlayerInfo:function (id) { 50 | Network.getInstance().send({ 51 | task:"getinfo.battle", 52 | id:id 53 | }); 54 | } 55 | } -------------------------------------------------------------------------------- /src/module/army/scene/ArmyScene.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | /** 10 | */ 11 | var ArmyScene = baseScene.extend({ 12 | onEnter:function () { 13 | this._super(); 14 | var layer = new armyLayer(); 15 | // cc.log(layer) 16 | this.addChild(layer); 17 | } 18 | }); -------------------------------------------------------------------------------- /src/module/bag/model/bagModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | /** 10 | */ 11 | var bagModel = { 12 | //兑换金币 13 | sendBuyGold:function (num,type) { 14 | Network.getInstance().send({ 15 | task:"exchange.change", 16 | num:num, 17 | typ:type 18 | }); 19 | }, 20 | //合成 21 | sendCompose:function (id,num) { 22 | Network.getInstance().send({ 23 | task:"knapsack.compose", 24 | id:id, 25 | num:num 26 | }); 27 | }, 28 | //使用 29 | useThing:function (id,num,pos) { 30 | Network.getInstance().send({ 31 | task:"knapsack.use", 32 | id:id, 33 | num:num, 34 | pos:pos 35 | }); 36 | } 37 | }; -------------------------------------------------------------------------------- /src/module/bothfight/model/bothFightModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var bothFightModel = { 10 | //获取排行榜的数据 11 | getRank:function (id,start,end) { 12 | Network.getInstance().send({ 13 | task:"rank.getinfo", 14 | id:id, 15 | b:start, 16 | e:end 17 | }); 18 | }, 19 | //获取战斗记录的数据 20 | getRecord:function () { 21 | Network.getInstance().send({ 22 | task:"both.stagelist" 23 | }); 24 | }, 25 | //发送开始战斗的数据 后期去掉win 26 | stagebegin:function (id) { 27 | Network.getInstance().send({ 28 | task:"both.stagebegin", 29 | id:id 30 | }); 31 | }, 32 | //获取对方的对战信息 33 | getBattleInfo:function(id) { 34 | Network.getInstance().send({ 35 | task:"getinfo.battle", 36 | id:id 37 | }); 38 | }, 39 | //发送战斗结束的数据 40 | sendBattle:function(id,result){ 41 | Network.getInstance().send({ 42 | task:"both.stage", 43 | id:id, 44 | win:result //1是胜利 0是失败 45 | }); 46 | }, 47 | //购买对战次数 48 | buyBothCount:function () { 49 | Network.getInstance().send({ 50 | task:"both.buycount" 51 | }); 52 | }, 53 | //刷新对战的列表 54 | sendBothRefresh:function () { 55 | Network.getInstance().send({ 56 | task:"both.refresh" 57 | }); 58 | }, 59 | }; -------------------------------------------------------------------------------- /src/module/chat/model/chatModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var chatModel = { 10 | worldChatData:new Array(), 11 | //存入世界聊天内容 12 | saveWorldChat:function (chatdata) { 13 | if(this.worldChatData.length>=30){ 14 | this.worldChatData.shift(); 15 | } 16 | this.worldChatData.push(chatdata); 17 | }, 18 | getWorldChatData:function () { 19 | return this.worldChatData; 20 | }, 21 | //发送聊天消息 22 | sendChatMessage:function (content,channel) { 23 | Network.getInstance().send({ 24 | task:"chat", 25 | content:content, 26 | channel:channel 27 | }); 28 | } 29 | } -------------------------------------------------------------------------------- /src/module/combat/scene/CombatScene.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var CombatScene = baseScene.extend({ 10 | onEnter:function () { 11 | this._super(); 12 | var layer = new ManagerLayer(); 13 | // cc.log(layer) 14 | this.addChild(layer); 15 | } 16 | }); -------------------------------------------------------------------------------- /src/module/daywork/model/dayWorkModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var dayWorkModel = { 10 | //获取排行榜的数据 11 | getReward:function (id) { 12 | Network.getInstance().send({ 13 | task:"task.finish", 14 | id:id 15 | }); 16 | }, 17 | //发送刷新任务的消息 18 | sendRefresh:function (id) { 19 | Network.getInstance().send({ 20 | task:"task.refresh" 21 | }); 22 | }, 23 | }; -------------------------------------------------------------------------------- /src/module/email/model/emailModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | /* 10 | by xiongrui 2016.1107 11 | * */ 12 | 13 | var emailModel = { 14 | //阅读邮件 15 | readEmail:function (mailid) { 16 | Network.getInstance().send({ 17 | task:"mail.read", 18 | id:mailid 19 | }); 20 | }, 21 | //领取邮件附件 22 | getThingByEmail:function (mailid) { 23 | Network.getInstance().send({ 24 | task:"mail.receive", 25 | id:mailid 26 | }); 27 | }, 28 | //删除邮件 29 | deleteEmail:function (mailid) { 30 | Network.getInstance().send({ 31 | task:"mail.remove", 32 | id:mailid 33 | }); 34 | }, 35 | //测试 发送邮件 36 | sendEmail:function (recid,title,content,profit) { 37 | Network.getInstance().send({ 38 | task:"mail.send", 39 | recid:recid, 40 | title:title, 41 | content:content, 42 | profit:profit 43 | }); 44 | } 45 | } -------------------------------------------------------------------------------- /src/module/email/scene/emailScene.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | 10 | var emailScene = cc.Scene.extend({ 11 | onEnter:function () { 12 | this._super(); 13 | var layer = new emailLayer(); 14 | this.addChild(layer); 15 | } 16 | }); -------------------------------------------------------------------------------- /src/module/friend/model/friendModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var friendModel = { 10 | //添加好友 11 | addFriend:function (idorname) { 12 | Network.getInstance().send({ 13 | task:"friend.append", 14 | id:idorname 15 | }); 16 | }, 17 | 18 | //删除好友 19 | deleteFriend:function (id) { 20 | Network.getInstance().send({ 21 | task:"friend.remove", 22 | id:id 23 | }); 24 | }, 25 | 26 | //赠送砖石 27 | giveDiamond:function (id,type) { 28 | Network.getInstance().send({ 29 | task:"friend.give", 30 | id:id, 31 | typ:type //1 单个 2 全部可赠送项 32 | }); 33 | }, 34 | 35 | //领取砖石 36 | getDiamond:function (id,type) { 37 | Network.getInstance().send({ 38 | task:"friend.receive", 39 | id:id, 40 | typ:type //1 单个 2 全部可领取项 41 | }); 42 | }, 43 | 44 | //申请好友 45 | applyFriend:function (id,type,opt) { 46 | Network.getInstance().send({ 47 | task:"friend.apply", 48 | id:id, 49 | typ:type, //1 单个 2 全部 50 | opt:opt //1同意 2拒绝 51 | }); 52 | }, 53 | 54 | //黑名单 55 | blackListAbout:function (id,type,opt) { 56 | Network.getInstance().send({ 57 | task:"friend.blacklist", 58 | id:id, 59 | typ:type, //1 单个 2 全部 60 | opt:opt //1加入 2移除 61 | }); 62 | }, 63 | //推荐好友 64 | getVisitFriend:function () { 65 | Network.getInstance().send({ 66 | task:"friend.serch" 67 | }); 68 | } 69 | } -------------------------------------------------------------------------------- /src/module/fuli/model/fuLiModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var fuLiModel = { 10 | //领取奖励 11 | getActivityFinish:function (id) { 12 | Network.getInstance().send({ 13 | task:"activity.finish", 14 | id:id 15 | }); 16 | }, 17 | }; -------------------------------------------------------------------------------- /src/module/login/model/loginModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var loginModel = { 10 | register:function () { 11 | 12 | }, 13 | login:function (acc) { 14 | $.ajax({ 15 | type: 'GET', 16 | url:USERSERVERURL, 17 | data: { type: 'self',acc:acc,pw:'123456'}, 18 | // data: { type: 'self',acc:'test2',pw:'test2'}, 19 | dataType: 'json', 20 | success: function(data){ 21 | cc.log(data); 22 | if(data.status==0){ 23 | Network.getInstance().send({ 24 | task:'login', 25 | uid:data.uid, 26 | verify:MD5(data.uid+data.verifycode) 27 | }); 28 | } 29 | }, 30 | error: function(xhr, type){ 31 | cc.log('error') 32 | } 33 | }); 34 | } 35 | } -------------------------------------------------------------------------------- /src/module/login/scene/loginScene.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | /** 10 | */ 11 | var loginScene = cc.Scene.extend({ 12 | ctor:function () { 13 | this._super(); 14 | var layer1 = new ServerLayer(); 15 | this.addChild(layer1, 1); 16 | } 17 | }); -------------------------------------------------------------------------------- /src/module/login/view/loginLayer.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var loginLayer = cmLayer.extend({ 10 | sprite:null, 11 | LayerName:"loginLayer", 12 | ctor:function () { 13 | this._super(); 14 | return true; 15 | }, 16 | 17 | initUI:function () { 18 | this.ccsLogin = ccsTool.load(res.login_json,['btnLogin','userName','errorTip','loadProgress']); 19 | this.addChild(this.ccsLogin.node); 20 | this.ccsLogin.wgt.btnLogin.addTouchEventListener(this.login, this); 21 | }, 22 | 23 | login:function(sender, type){ 24 | if(ccui.Widget.TOUCH_ENDED==type){ 25 | var account = this.ccsLogin.wgt.userName.getString(); 26 | if(account == ''){ 27 | ShowTipsTool.TipsFromText("输入账号", cc.color.RED, 30); 28 | }else { 29 | var self = this; 30 | var url = USERSERVERURL + "?type=self&acc=" + account + "&pw=123456"; 31 | Network.getInstance().httpGet(url, function(data){ 32 | if (data.status == 0) 33 | { 34 | var event = new cc.EventCustom("gate.login"); 35 | event.setUserData(data); 36 | cc.eventManager.dispatchEvent(event); 37 | 38 | self.removeFromParent(true); 39 | } 40 | else 41 | { 42 | ShowTipsTool.TipsFromText("登录失败", cc.color.RED, 30); 43 | } 44 | }); 45 | } 46 | } 47 | }, 48 | onExit:function () { 49 | this._super(); 50 | } 51 | }); -------------------------------------------------------------------------------- /src/module/newguide/model/newGuideModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | /** 10 | */ 11 | var newGuideModel = { 12 | ver:1, //新手指引版本号 13 | //是否正在进行新手指引 返回值 为true的时候表示正在进行新手指引 14 | isRunNewGuide:function(){ 15 | // if(this.ver == 1 && this.getGuideId() != 54){ 16 | // return true; 17 | // } 18 | //版本号等于服务器的版本号 引导的id不为最终的引导id 等级小于10 19 | if(this.ver == GLOBALDATA.guid.v && this.getGuideId() != 64 20 | && GLOBALDATA.base.lev < 10){ 21 | return true; 22 | } 23 | return false; 24 | }, 25 | //添加新手引导界面 parentNode父节点 pnum层数 data传递的参数 26 | addNewGuideLayer:function(parentNode,pnum,data){ 27 | var addEvent = function () { 28 | var evn = new cc.EventCustom('show.newguide'); 29 | evn.setUserData(data); 30 | cc.eventManager.dispatchEvent(evn); 31 | }; 32 | var _newGuideLayer = new newGuideLayer(addEvent); 33 | parentNode.addChild(_newGuideLayer,pnum); 34 | }, 35 | //获取新手引导保存的数据 36 | getGuideId:function () { 37 | return GLOBALDATA.guid.nid || 1; 38 | // return cc.sys.localStorage.getItem("guideid"+GLOBALDATA.id) || 1; 39 | }, 40 | //保存新手引导的引导数据 41 | setGuideId:function(id){ 42 | GLOBALDATA.guid.nid = id; 43 | this.sendGuidId(id); 44 | // cc.sys.localStorage.setItem("guideid"+GLOBALDATA.id,id); 45 | }, 46 | //发送网络消息 47 | sendGuidId:function (id) { 48 | Network.getInstance().send({ 49 | task:"guid.new", 50 | nid:id 51 | }); 52 | }, 53 | //新手引导界面的状态 true表示正在运行 false 表示没有运行 54 | setRunState:function(isRun){ 55 | GLOBALDATA.guid.isRun = isRun; 56 | }, 57 | //获取新手引导界面的状态 58 | getRunState:function () { 59 | return (GLOBALDATA.guid.isRun == true)?true:false; 60 | }, 61 | }; -------------------------------------------------------------------------------- /src/module/quickfight/model/quickFightModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | /* 10 | * by xiongrui 2016 11 14 11 | * */ 12 | var quickFightModel = { 13 | //快速战斗 14 | startQuickFight:function () { 15 | Network.getInstance().send({ 16 | task:"battle.fast" 17 | }); 18 | } 19 | } -------------------------------------------------------------------------------- /src/module/quickfight/scene/quickFightScene.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | -------------------------------------------------------------------------------- /src/module/rankWarLayer/model/rankWarLayerModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var rankWarLayerModel = { 10 | getPaiHang:function (id,begain,end) { 11 | Network.getInstance().send({ 12 | task:"rank.getinfo", 13 | id:id, 14 | b:begain, 15 | e:end 16 | }); 17 | } 18 | } -------------------------------------------------------------------------------- /src/module/recover/model/recoverModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | recoverModel = { 10 | //分解 11 | breakFunction:function (id_array) { 12 | Network.getInstance().send({ 13 | task:"depot.reclaim", 14 | ids:id_array 15 | }); 16 | }, 17 | 18 | //重生 19 | restartFunction:function (id_array) { 20 | Network.getInstance().send({ 21 | task:"depot.reborn", 22 | ids:id_array 23 | }); 24 | }, 25 | //士兵分解 26 | soldierBreakFunction:function (array) { 27 | Network.getInstance().send({ 28 | task:"soldier.reclaim", 29 | ids:array 30 | }); 31 | }, 32 | //士兵重生 33 | soldierRestartFunction:function (id_array){ 34 | Network.getInstance().send({ 35 | task:"soldier.reborn", 36 | ids:id_array 37 | }); 38 | } 39 | 40 | } -------------------------------------------------------------------------------- /src/module/resourceFight/model/resourceFightModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var resourceFight = { 10 | //鼓舞 11 | startInspire:function () { 12 | Network.getInstance().send({ 13 | task:"resource.inspire" 14 | }); 15 | }, 16 | //开始战斗 17 | startFight:function (gata_id) { 18 | Network.getInstance().send({ 19 | task:"resource.stagebegin", 20 | id:gata_id 21 | }); 22 | }, 23 | //结束战斗 typ 1 一键扫荡 24 | stopFight:function (gata_id,win,typ) { 25 | Network.getInstance().send({ 26 | task:"resource.stage", 27 | id:gata_id, 28 | win:win, 29 | typ:typ 30 | }); 31 | }, 32 | //获取城镇占领数据 33 | getCityInfo:function () { 34 | Network.getInstance().send({ 35 | task:"resource.getinfo" 36 | }); 37 | }, 38 | //获取对方阵容信息 39 | getZhenrongInfo:function (playerid) { 40 | Network.getInstance().send({ 41 | task:"getinfo.battle", 42 | id:playerid 43 | }); 44 | } 45 | } -------------------------------------------------------------------------------- /src/module/starhero/model/starHeroModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | /** 10 | */ 11 | var starHeroModel = { 12 | //获取排行榜的数据 13 | getRank:function (id,start,end) { 14 | Network.getInstance().send({ 15 | task:"rank.getinfo", 16 | id:id, 17 | b:start, 18 | e:end 19 | }); 20 | }, 21 | //获取录入的数据 22 | getRecordInfo:function(id){ 23 | Network.getInstance().send({ 24 | task:"general.getinfo", 25 | soldier_id:id 26 | }); 27 | }, 28 | //录入士兵 29 | sendRecord:function(id){ 30 | Network.getInstance().send({ 31 | task:"general.record", 32 | soldier_id:id 33 | }); 34 | }, 35 | }; -------------------------------------------------------------------------------- /src/module/vip/model/vipModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | var vipModel = { 10 | //vip 相关方法 11 | 12 | //购买vip礼包 13 | buyVipGoods:function (viplev) { 14 | Network.getInstance().send({ 15 | task:"pay.vipitem", 16 | id:viplev, 17 | }); 18 | }, 19 | } -------------------------------------------------------------------------------- /src/module/vip/view/vipWelfareLayer.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | -------------------------------------------------------------------------------- /src/module/welfare/model/welfareModel.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | /** 10 | */ 11 | var welfareModel = { 12 | //刷新活动 13 | activityRefresh:function(){ 14 | Network.getInstance().send({ 15 | task:"activity.refresh" 16 | }); 17 | }, 18 | //购买活动操作 19 | activityOpt:function(id,type,pos,num){ 20 | if(pos == null && num == null){ 21 | Network.getInstance().send({task:"activity.opt",id:id,typ:type}); 22 | }else if(pos == null){ 23 | Network.getInstance().send({task:"activity.opt",id:id,typ:type,num:num}); 24 | }else if(num == null){ 25 | Network.getInstance().send({task:"activity.opt",id:id,typ:type,pos:pos}); 26 | }else{ 27 | Network.getInstance().send({task:"activity.opt",id:id,typ:type,pos:pos,num:num}); 28 | } 29 | }, 30 | //领取活动奖励 31 | activityFinish:function(id){ 32 | Network.getInstance().send({ 33 | task:"activity.finish", 34 | id:id 35 | }); 36 | }, 37 | //领取每日签到 38 | activityMonthreward:function(){ 39 | Network.getInstance().send({ 40 | task:"activity.monthreward" 41 | }); 42 | }, 43 | //购买基金 44 | activityBuyfund:function(){ 45 | Network.getInstance().send({ 46 | task:"activity.buyfund" 47 | }); 48 | }, 49 | //领取基金奖励 50 | activityFundreward:function(id){ 51 | Network.getInstance().send({ 52 | task:"activity.fundreward", 53 | id:id 54 | }); 55 | }, 56 | 57 | }; -------------------------------------------------------------------------------- /src/module/welfare/view/welfareYKLayer.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | /** 10 | * 月卡礼包层的创建 11 | */ 12 | var welfareYKLayer = ModalDialog.extend({ 13 | LayerName:"welfareYKLayer", 14 | ctor:function(){ 15 | this._super(); 16 | }, 17 | 18 | onEnter:function(){ 19 | this._super(); 20 | }, 21 | //初始化ui 22 | initUI:function(){ 23 | this.customWidget(); //自定义Widget 24 | this.initCustomEvent(); 25 | this.showPanel(); 26 | }, 27 | //自定义Widget 28 | customWidget:function () { 29 | var uiWelfareYK = ccsTool.load(res.uiWelfareYKLayer,["btnBack","B_buy"]); 30 | //控件的名字赋值给this变量 31 | for(var key in uiWelfareYK.wgt){ 32 | this[key] = uiWelfareYK.wgt[key]; 33 | } 34 | this.addChild(uiWelfareYK.node, 2); 35 | 36 | this.btnBack.addTouchEventListener(this.onTouchEvent, this); //返回按钮 37 | this.B_buy.addTouchEventListener(this.gotoRechargeEvent, this); //前往充值的按钮 38 | }, 39 | initCustomEvent:function(){ 40 | var self = this; 41 | }, 42 | //显示界面的信息 43 | showPanel:function(){ 44 | 45 | }, 46 | onTouchEvent:function(sender, type){ 47 | if(ccui.Widget.TOUCH_ENDED == type){ 48 | switch(sender.name) { 49 | case "btnBack": 50 | this.removeFromParent(true); 51 | break; 52 | } 53 | } 54 | }, 55 | //前往充值的按钮 56 | gotoRechargeEvent:function(sender, type){ 57 | if(ccui.Widget.TOUCH_ENDED == type){ 58 | //前往充值的功能 后期添加 59 | } 60 | }, 61 | onExit:function () { 62 | this._super(); 63 | } 64 | }); -------------------------------------------------------------------------------- /src/module/welfare/view/welfareZZKLayer.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | ** @Author:pandayu 4 | ** @Version:1.0 5 | ** @DateTime:2018-09-09 6 | ** @Project:pandaCard CardGame 7 | ** @Contact: QQ:815099602 8 | **/ 9 | /** 10 | * 终身卡礼包层的创建 11 | */ 12 | var welfareZZKLayer = ModalDialog.extend({ 13 | LayerName:"welfareZZKLayer", 14 | ctor:function(){ 15 | this._super(); 16 | }, 17 | 18 | onEnter:function(){ 19 | this._super(); 20 | }, 21 | //初始化ui 22 | initUI:function(){ 23 | this.customWidget(); //自定义Widget 24 | this.initCustomEvent(); 25 | this.showPanel(); 26 | }, 27 | //自定义Widget 28 | customWidget:function () { 29 | var uiWelfareZZK = ccsTool.load(res.uiWelfareZZKLayer,["btnBack","B_buy"]); 30 | //控件的名字赋值给this变量 31 | for(var key in uiWelfareZZK.wgt){ 32 | this[key] = uiWelfareZZK.wgt[key]; 33 | } 34 | this.addChild(uiWelfareZZK.node, 2); 35 | 36 | this.btnBack.addTouchEventListener(this.onTouchEvent, this); //返回按钮 37 | this.B_buy.addTouchEventListener(this.gotoRechargeEvent, this); //前往充值的按钮 38 | }, 39 | initCustomEvent:function(){ 40 | var self = this; 41 | }, 42 | //显示界面的信息 43 | showPanel:function(){ 44 | 45 | }, 46 | onTouchEvent:function(sender, type){ 47 | if(ccui.Widget.TOUCH_ENDED == type){ 48 | switch(sender.name) { 49 | case "btnBack": 50 | this.removeFromParent(true); 51 | break; 52 | } 53 | } 54 | }, 55 | //前往充值的按钮 56 | gotoRechargeEvent:function(sender, type){ 57 | if(ccui.Widget.TOUCH_ENDED == type){ 58 | //前往充值的功能 后期添加 59 | } 60 | }, 61 | onExit:function () { 62 | this._super(); 63 | } 64 | }); -------------------------------------------------------------------------------- /test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 43 | 44 | 45 |
46 | 49 | 52 | 53 | 54 |
55 |
    56 | 57 | -------------------------------------------------------------------------------- /主要功能@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/主要功能@2x.png -------------------------------------------------------------------------------- /微信二维码.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FJune/pandaCard/a969bc84266c2fb3dd181609d815c86ca4925944/微信二维码.png --------------------------------------------------------------------------------