├── .gitignore ├── Android └── MonoGame3D │ ├── Lidgren.Network.Android.dll │ └── MonoGame.Framework.Android.dll ├── ChangeLog ├── CocosDenshion ├── CocosDenshion.Android.csproj ├── CocosDenshion.csproj ├── CocosDenshion.iOS.csproj ├── EffectPlayer.cs ├── MusicPlayer.cs ├── Properties │ └── AssemblyInfo.cs └── SimpleAudioEngine.cs ├── HelloCocos2d ├── HelloCocos2d │ ├── Assets │ │ └── Content │ │ │ ├── CloseNormal.xnb │ │ │ ├── CloseSelected.xnb │ │ │ ├── HelloWorld.xnb │ │ │ └── fonts │ │ │ └── Arial.xnb │ ├── Background.png │ ├── Classes │ │ ├── AppDelegate.cs │ │ └── HelloWorldScene.cs │ ├── Game.ico │ ├── Game1.cs │ ├── HelloCocos2d.Android.csproj │ ├── HelloCocos2d.csproj │ ├── PhoneGameThumb.png │ ├── Program.cs │ ├── Properties │ │ ├── AndroidManifest.xml │ │ ├── AppManifest.xml │ │ ├── AssemblyInfo.cs │ │ └── WMAppManifest.xml │ └── Resources │ │ ├── AboutResources.txt │ │ ├── Resource.designer.cs │ │ ├── drawable │ │ ├── ic_launcher.png │ │ └── splash.png │ │ └── values │ │ ├── Styles.xml │ │ └── strings.xml └── HelloCocos2dContent │ ├── CloseNormal.png │ ├── CloseSelected.png │ ├── HelloCocos2dContent.contentproj │ ├── HelloWorld.png │ ├── SpriteFont1.spritefont │ ├── Thumbs.db │ └── fonts │ └── Arial.spritefont ├── XNA_Reading.txt ├── cocos2d-xna.Android.sln ├── cocos2d-xna.iOS.sln ├── cocos2d-xna.sln ├── cocos2d-xna ├── CCAcceleration.cs ├── CCCamera.cs ├── CCConfiguration.cs ├── CCDirector.cs ├── CCDisplayLinkDirector.cs ├── CCDrawingPrimitives.cs ├── CCScheduler.cs ├── Properties │ └── AssemblyInfo.cs ├── actions │ ├── CCActionManager.cs │ ├── action │ │ ├── CCAction.cs │ │ ├── CCFiniteTimeAction.cs │ │ ├── CCFollow.cs │ │ └── CCSpeed.cs │ ├── action_camera │ │ ├── CCActionCamera.cs │ │ └── CCOrbitCamera.cs │ ├── action_ease │ │ ├── CCActionEase.cs │ │ ├── CCEaseBackIn.cs │ │ ├── CCEaseBackInOut.cs │ │ ├── CCEaseBackOut.cs │ │ ├── CCEaseBounce.cs │ │ ├── CCEaseBounceIn.cs │ │ ├── CCEaseBounceInOut.cs │ │ ├── CCEaseBounceOut.cs │ │ ├── CCEaseElastic.cs │ │ ├── CCEaseElasticIn.cs │ │ ├── CCEaseElasticInOut.cs │ │ ├── CCEaseElasticOut.cs │ │ ├── CCEaseExponentialIn.cs │ │ ├── CCEaseExponentialInOut.cs │ │ ├── CCEaseExponentialOut.cs │ │ ├── CCEaseIn.cs │ │ ├── CCEaseInOut.cs │ │ ├── CCEaseOut.cs │ │ ├── CCEaseRateAction.cs │ │ ├── CCEaseSineIn.cs │ │ ├── CCEaseSineInOut.cs │ │ └── CCEaseSineOut.cs │ ├── action_grid │ │ ├── CCAccelAmplitude.cs │ │ ├── CCAccelDeccelAmplitude.cs │ │ ├── CCDeccelAmplitude.cs │ │ ├── CCGrid3DAction.cs │ │ ├── CCGridAction.cs │ │ └── CCTiledGrid3DAction.cs │ ├── action_grid3d │ │ ├── CCFlipX3D.cs │ │ ├── CCFlipY3D.cs │ │ ├── CCLens3D.cs │ │ ├── CCLiquid.cs │ │ ├── CCPageTurn3D.cs │ │ ├── CCRipple3D.cs │ │ ├── CCShaky3D.cs │ │ ├── CCTwirl.cs │ │ ├── CCWaves.cs │ │ └── CCWaves3D.cs │ ├── action_instants │ │ ├── CCActionInstant.cs │ │ ├── CCFlipX.cs │ │ ├── CCFlipY.cs │ │ ├── CCHide.cs │ │ ├── CCPlace.cs │ │ ├── CCReuseGrid.cs │ │ ├── CCShow.cs │ │ ├── CCStopGrid.cs │ │ ├── CCToggleVisibility.cs │ │ └── callfunc │ │ │ ├── CCCallFunc.cs │ │ │ ├── CCCallFuncN.cs │ │ │ ├── CCCallFuncND.cs │ │ │ └── CCCallFuncO.cs │ ├── action_intervals │ │ ├── CCActionInterval.cs │ │ ├── CCActionTween.cs │ │ ├── CCAnimate.cs │ │ ├── CCBezierBy.cs │ │ ├── CCBezierTo.cs │ │ ├── CCBlink.cs │ │ ├── CCCardinalSplineBy.cs │ │ ├── CCCardinalSplineTo.cs │ │ ├── CCCatmullRomBy.cs │ │ ├── CCCatmullRomTo.cs │ │ ├── CCDelayTime.cs │ │ ├── CCFadeIn.cs │ │ ├── CCFadeOut.cs │ │ ├── CCFadeTo.cs │ │ ├── CCJumpBy.cs │ │ ├── CCJumpTo.cs │ │ ├── CCMoveBy.cs │ │ ├── CCMoveTo.cs │ │ ├── CCRepeat.cs │ │ ├── CCRepeatForever.cs │ │ ├── CCReverseTime.cs │ │ ├── CCRotateBy.cs │ │ ├── CCRotateTo.cs │ │ ├── CCScaleBy.cs │ │ ├── CCScaleTo.cs │ │ ├── CCSequence.cs │ │ ├── CCSkewBy.cs │ │ ├── CCSkewTo.cs │ │ ├── CCSpawn.cs │ │ ├── CCTintBy.cs │ │ └── CCTintTo.cs │ ├── action_progress_timer │ │ ├── CCProgressFromTo.cs │ │ └── CCProgressTo.cs │ └── action_tiled_grid │ │ ├── CCFadeOutBLTiles.cs │ │ ├── CCFadeOutDownTiles.cs │ │ ├── CCFadeOutTRTiles.cs │ │ ├── CCFadeOutUpTiles.cs │ │ ├── CCJumpTiles3D.cs │ │ ├── CCShakyTiles3D.cs │ │ ├── CCShatteredTiles3D.cs │ │ ├── CCShuffleTiles.cs │ │ ├── CCSplitCols.cs │ │ ├── CCSplitRows.cs │ │ ├── CCTurnOffTiles.cs │ │ ├── CCWavesTiles3D.cs │ │ └── Tile.cs ├── base_nodes │ ├── CCAtlasNode.cs │ └── CCNode.cs ├── cocoa │ ├── CCAffineTransform.cs │ ├── CCData.cs │ ├── CCGeometry.cs │ ├── CCNS.cs │ ├── CCObject.cs │ └── CCZone.cs ├── cocos2d-xna.Android.csproj ├── cocos2d-xna.csproj ├── cocos2d-xna.iOS.csproj ├── effects │ ├── CCGrabber.cs │ ├── CCGrid3D.cs │ ├── CCGridBase.cs │ └── CCTiledGrid3D.cs ├── external lib │ ├── ICSharpCode.SharpZipLib.dll │ ├── zlib.net.dll │ └── zlib.net.pdb ├── label_nodes │ ├── CCBMFontConfiguration.cs │ ├── CCLabelAtlas.cs │ ├── CCLabelBMFont.cs │ ├── CCLabelTTF.cs │ ├── ccBMFontDef.cs │ ├── ccBMFontPadding.cs │ └── tKerningHashElement.cs ├── layers_scenes_transitions_nodes │ ├── CCLayer.cs │ ├── CCLayerColor.cs │ ├── CCLayerGradient.cs │ ├── CCLayerMultiplex.cs │ ├── CCScene.cs │ └── transition │ │ ├── CCTransitionCrossFade.cs │ │ ├── CCTransitionFade.cs │ │ ├── CCTransitionFadeBL.cs │ │ ├── CCTransitionFadeDown.cs │ │ ├── CCTransitionFadeTR.cs │ │ ├── CCTransitionFadeUp.cs │ │ ├── CCTransitionFlipAngular.cs │ │ ├── CCTransitionFlipX.cs │ │ ├── CCTransitionFlipY.cs │ │ ├── CCTransitionJumpZoom.cs │ │ ├── CCTransitionMoveInB.cs │ │ ├── CCTransitionMoveInL.cs │ │ ├── CCTransitionMoveInR.cs │ │ ├── CCTransitionMoveInT.cs │ │ ├── CCTransitionPageTurn.cs │ │ ├── CCTransitionRadialCCW.cs │ │ ├── CCTransitionRadialCW.cs │ │ ├── CCTransitionRotoZoom.cs │ │ ├── CCTransitionScene.cs │ │ ├── CCTransitionSceneOriented.cs │ │ ├── CCTransitionShrinkGrow.cs │ │ ├── CCTransitionSlideInB.cs │ │ ├── CCTransitionSlideInL.cs │ │ ├── CCTransitionSlideInR.cs │ │ ├── CCTransitionSlideInT.cs │ │ ├── CCTransitionSplitCols.cs │ │ ├── CCTransitionSplitRows.cs │ │ ├── CCTransitionTurnOffTiles.cs │ │ ├── CCTransitionZoomFlipAngular.cs │ │ ├── CCTransitionZoomFlipX.cs │ │ ├── CCTransitionZoomFlipY.cs │ │ └── ICCTransitionEaseScene.cs ├── menu_nodes │ ├── CCMenu.cs │ ├── CCMenuItem.cs │ ├── CCMenuItemAtlasFont.cs │ ├── CCMenuItemFont.cs │ ├── CCMenuItemImage.cs │ ├── CCMenuItemLabel.cs │ ├── CCMenuItemSprite.cs │ └── CCMenuItemToggle.cs ├── misc_nodes │ ├── CCMotionStreak.cs │ ├── CCProgressTimer.cs │ └── CCRenderTexture.cs ├── particle_nodes │ ├── CCParticleExamples.cs │ ├── CCParticleSystem.cs │ ├── CCParticleSystemPoint.cs │ └── CCParticleSystemQuad.cs ├── platform │ ├── CCApplication.cs │ ├── CCDictMaker.cs │ ├── CCFileData.cs │ ├── CCFileUtils.cs │ ├── CCLog.cs │ ├── CCSAXParser.cs │ ├── ICCSAXDelegator.cs │ └── OGLES.cs ├── predefine │ ├── CCPointArray.cs │ ├── CCPointExtension.cs │ ├── CCProtocols.cs │ ├── CCTouch.cs │ ├── ccConfig.cs │ ├── ccMacros.cs │ ├── ccTypes.cs │ └── selector_protocol.cs ├── script_support │ ├── CCScriptEngineManager.cs │ └── CCScriptEngineProtocol.cs ├── sprite_nodes │ ├── CCAnimation.cs │ ├── CCAnimationCache.cs │ ├── CCSprite.cs │ ├── CCSpriteBatchNode.cs │ ├── CCSpriteFrame.cs │ └── CCSpriteFrameCache.cs ├── support │ ├── CCUserDefault.cs │ ├── CCVertex.cs │ ├── Compression │ │ ├── Adler.cs │ │ ├── Crc32.cs │ │ ├── FlushType.cs │ │ ├── GZipStream.cs │ │ ├── InfTree.cs │ │ ├── InflateBlocks.cs │ │ ├── InflateCodes.cs │ │ ├── InflateManager.cs │ │ ├── SharedUtils.cs │ │ ├── ZlibBaseStream.cs │ │ ├── ZlibCodec.cs │ │ ├── ZlibException.cs │ │ └── ZlibStreamFlavor.cs │ ├── TransformUtils.cs │ ├── ccUtils.cs │ ├── data_support │ │ └── ccCArray.cs │ ├── image_support │ │ └── TGAlib.cs │ └── zip_support │ │ ├── CCZHeader.cs │ │ └── ZipUtils.cs ├── text_input_node │ ├── CCIMEKeyboardNotificationInfo.cs │ ├── CCTextFieldTTF .cs │ ├── ICCIMEDelegate.cs │ └── ICCTextFieldDelegate.cs ├── textures │ ├── CCTexture2D.cs │ ├── CCTextureAtlas.cs │ ├── CCTextureCache.cs │ └── CCTexturePVR.cs ├── tileMap_parallax_nodes │ ├── CCParallaxNode.cs │ ├── CCPointObject.cs │ ├── CCTMXLayer.cs │ ├── CCTMXLayerInfo.cs │ ├── CCTMXMapInfo.cs │ ├── CCTMXObjectGroup.cs │ ├── CCTMXTiledMap.cs │ ├── CCTMXTilesetInfo.cs │ ├── CCTMXXMLParser.cs │ └── CCTileMapAtlas.cs └── touch_dispatcher │ ├── CCStandardTouchHandler.cs │ ├── CCTargetedTouchHandler.cs │ ├── CCTouchDelegate.cs │ ├── CCTouchDispatcher.cs │ ├── CCTouchHandler.cs │ ├── ICCStandardTouchDelegate.cs │ ├── ICCTargetedTouchDelegate.cs │ ├── ICCTouchDelegate.cs │ └── IEGLTouchDelegate.cs ├── cocos2d.Content.Pipeline.Importers ├── Decompress.cs ├── Properties │ └── AssemblyInfo.cs ├── TMX │ ├── TMXImporter.cs │ └── TMXProcessor.cs ├── Text │ ├── TextImporter.cs │ └── TextProcessor.cs ├── cocos2d.Content.Pipeline.Importers.Android.csproj └── cocos2d.Content.Pipeline.Importers.csproj ├── cocos2d.Framework ├── CCContent.cs ├── Properties │ └── AssemblyInfo.cs ├── cocos2d.Framework.Android.csproj ├── cocos2d.Framework.csproj └── cocos2d.Framework.iOS.csproj ├── cocos2d.setup └── cocos2d.setup.vdproj ├── docs ├── Cocos2d-x C# Framework.website ├── Icon.ico ├── Icon.png ├── cocos2d-cocos2d-x-for-xna.website ├── installbanner.jpg ├── installbanner.png ├── powered.ico └── powered.png ├── external └── Box2D │ └── box2d │ ├── Collision │ ├── Shapes │ │ ├── b2ChainShape.cs │ │ ├── b2CircleShape.cs │ │ ├── b2EdgeShape.cs │ │ ├── b2PolygonShape.cs │ │ └── b2Shape.cs │ ├── b2AABB.cs │ ├── b2BroadPhase.cs │ ├── b2Collision.cs │ ├── b2ContactFeature.cs │ └── b2Manifold.cs │ ├── Common │ ├── b2Color.cs │ ├── b2Draw.cs │ ├── b2Mat22.cs │ ├── b2Mat33.cs │ ├── b2Math.cs │ ├── b2Rot.cs │ ├── b2Settings.cs │ ├── b2Sweep.cs │ ├── b2Transform.cs │ ├── bVec2.cs │ └── bVec3.cs │ ├── Dynamics │ ├── b2Body.cs │ ├── b2BodyDef.cs │ ├── b2ContactFilter.cs │ ├── b2ContactListener.cs │ ├── b2ContactManager.cs │ ├── b2DestructionListener.cs │ ├── b2Fixture.cs │ ├── b2FixtureDef.cs │ ├── b2QueryCallback.cs │ ├── b2RayCastCallback.cs │ ├── b2TimeStep.cs │ ├── b2World.cs │ ├── b2WorldQueryWrapper.cs │ └── b2WorldRayCastWrapper.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── Rope │ ├── b2Rope.cs │ └── b2RopeDef.cs │ └── box2d.csproj ├── install-template-mscs.msi ├── readme.mdown ├── template ├── Cocos2d-xna.VSIX │ ├── Cocos2d-xna.VSIX.csproj │ ├── ProjectTemplates │ │ └── cocos2d-xna.zip │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── __Template_large.png │ ├── __Template_small.png │ └── source.extension.vsixmanifest ├── Cocos2d-xna.Wizard │ ├── Cocos2d-xna.Wizard.csproj │ ├── Cocos2dWizard.cs │ ├── Cocos2dWizardChild.cs │ ├── OpenxliveComfirmForm.Designer.cs │ ├── OpenxliveComfirmForm.cs │ ├── OpenxliveComfirmForm.resx │ ├── Properties │ │ └── AssemblyInfo.cs │ └── cocos2d-xna key file.snk ├── install-template-mscs.sln ├── install-template-mscs │ └── install-template-mscs.vdproj └── vsix │ └── cocos2d-xna.zip └── tests ├── tests ├── Assets │ ├── AboutAssets.txt │ └── Content │ │ └── fonts │ │ ├── Arial.xnb │ │ └── fnt │ │ ├── images │ │ ├── verdana24_0.xnb │ │ └── verdana32_0.xnb │ │ ├── verdana24.xnb │ │ └── verdana32.xnb ├── Background.png ├── Game.ico ├── Game1.cs ├── GameThumbnail.png ├── PhoneGameThumb.png ├── Program.cs ├── Properties │ ├── AndroidManifest.xml │ ├── AppManifest.xml │ ├── AssemblyInfo.cs │ └── WMAppManifest.xml ├── Resources │ ├── AboutResources.txt │ ├── Resource.designer.cs │ ├── drawable │ │ ├── ic_launcher.png │ │ └── splash.png │ └── values │ │ ├── Styles.xml │ │ └── strings.xml ├── classes │ ├── AppDelegate.cs │ ├── controller.cs │ ├── test.cs │ ├── testBasic.cs │ ├── testResource.cs │ └── tests │ │ ├── ActionManagerTest │ │ ├── ActionManagerTest.cs │ │ ├── ActionManagerTestScene.cs │ │ ├── CrashTest.cs │ │ ├── LogicTest.cs │ │ ├── PauseTest.cs │ │ ├── RemoveTest.cs │ │ └── ResumeTest.cs │ │ ├── ActionsTest │ │ └── ActionsTest.cs │ │ ├── BugsTest │ │ ├── Bug-458 │ │ │ ├── Bug-458.cs │ │ │ └── QuestionContainerSprite.cs │ │ ├── Bug1159Layer.cs │ │ ├── Bug1174Layer.cs │ │ ├── Bug350Layer.cs │ │ ├── Bug422Layer.cs │ │ ├── Bug624Layer.cs │ │ ├── Bug886Layer.cs │ │ ├── Bug899Layer.cs │ │ ├── Bug914Layer.cs │ │ ├── BugsTestBaseLayer.cs │ │ ├── BugsTestMainLayer.cs │ │ ├── BugsTestScene.cs │ │ └── CCDefaultCodeBug.cs │ │ ├── ClickAndMoveTest │ │ └── ClickAndMoveTest.cs │ │ ├── CocosDenshionTest │ │ └── CocosDenshionTest.cs │ │ ├── CocosNodeTest │ │ ├── CameraCenterTest.cs │ │ ├── CameraOrbitTest.cs │ │ ├── CameraZoomTest.cs │ │ ├── CocosNodeTest.cs │ │ ├── CocosNodeTestScene.cs │ │ ├── CocosNodeTestStaticLibrary.cs │ │ ├── ConvertToNode.cs │ │ ├── NodeToWorld.cs │ │ ├── SchedulerTest1.cs │ │ ├── StressTest1.cs │ │ ├── StressTest2.cs │ │ ├── Test2.cs │ │ ├── Test4.cs │ │ ├── Test5.cs │ │ ├── Test6.cs │ │ └── TestCocosNodeDemo.cs │ │ ├── DirectorTest │ │ └── DirectorTest.cs │ │ ├── DrawPrimitivesTest │ │ ├── DrawPrimitivesTest.cs │ │ └── DrawPrimitivesTestScene.cs │ │ ├── EaseActionTest │ │ └── EaseActionsTest.cs │ │ ├── EffectsAdvancedTest │ │ ├── Effect1.cs │ │ ├── Effect2.cs │ │ ├── Effect3.cs │ │ ├── Effect4.cs │ │ ├── Effect5.cs │ │ ├── EffectAdvanceScene.cs │ │ ├── EffectAdvanceTextLayer.cs │ │ └── Issue631.cs │ │ ├── EffectsTest │ │ ├── EffectTestScene.cs │ │ ├── FadeOutBLTilesDemo.cs │ │ ├── FadeOutDownTilesDemo.cs │ │ ├── FadeOutTRTilesDemo.cs │ │ ├── FadeOutUpTilesDemo.cs │ │ ├── FlipX3DDemo.cs │ │ ├── FlipY3DDemo.cs │ │ ├── JumpTiles3DDemo.cs │ │ ├── Lens3DDemo.cs │ │ ├── LiquidDemo.cs │ │ ├── PageTurn3DDemo.cs │ │ ├── Ripple3DDemo.cs │ │ ├── Shaky3DDemo.cs │ │ ├── ShakyTiles3DDemo.cs │ │ ├── ShatteredTiles3DDemo.cs │ │ ├── ShuffleTilesDemo.cs │ │ ├── SplitColsDemo.cs │ │ ├── SplitRowsDemo.cs │ │ ├── TextLayer.cs │ │ ├── TurnOffTilesDemo.cs │ │ ├── TwirlDemo.cs │ │ ├── Waves3DDemo.cs │ │ ├── WavesDemo.cs │ │ └── WavesTiles3DDemo.cs │ │ ├── HiResTest │ │ ├── HiResDemo.cs │ │ ├── HiResTest1.cs │ │ ├── HiResTest2.cs │ │ └── HiResTestScene.cs │ │ ├── IntervalTest │ │ ├── IntervalLayer.cs │ │ └── IntervalTestScene.cs │ │ ├── LabelTest │ │ ├── Atlas1.cs │ │ ├── Atlas3.cs │ │ ├── Atlas4.cs │ │ ├── Atlas5.cs │ │ ├── Atlas6.cs │ │ ├── AtlasBitmapColor.cs │ │ ├── AtlasFastBitmap.cs │ │ ├── AtlasTestScene.cs │ │ ├── BitmapFontMultiLine.cs │ │ ├── LabelAtlasColorTest.cs │ │ ├── LabelAtlasHD.cs │ │ ├── LabelAtlasTest.cs │ │ ├── LabelBMFontHD.cs │ │ ├── LabelGlyphDesigner.cs │ │ ├── LabelTTFChinese.cs │ │ ├── LabelTTFMultiline.cs │ │ ├── LabelTTFTest.cs │ │ ├── LabelTest.cs │ │ └── LabelsEmpty.cs │ │ ├── LayerTest │ │ ├── LayerGradient.cs │ │ ├── LayerScaleTest.cs │ │ ├── LayerTest1.cs │ │ ├── LayerTest2.cs │ │ ├── LayerTestBlend.cs │ │ ├── LayerTestScene.cs │ │ └── Layertest.cs │ │ ├── MenuTest │ │ ├── MenuLayer1.cs │ │ ├── MenuLayer2.cs │ │ ├── MenuLayer3.cs │ │ ├── MenuLayer4.cs │ │ └── MenuTestScene.cs │ │ ├── MotionStreakTest │ │ ├── MotionStreakTest.cs │ │ ├── MotionStreakTest1.cs │ │ ├── MotionStreakTest2.cs │ │ └── MotionStreakTestScene.cs │ │ ├── ParallaxTest │ │ ├── Parallax1.cs │ │ ├── Parallax2.cs │ │ ├── ParallaxDemo.cs │ │ └── ParallaxTestScene.cs │ │ ├── ParticleTest │ │ └── ParticleTest.cs │ │ ├── PerformanceTest │ │ ├── PerformBasicLayer.cs │ │ ├── PerformanceMainLayer.cs │ │ ├── PerformanceNodeChildrenTest │ │ │ ├── AddRemoveSpriteSheet.cs │ │ │ ├── AddSpriteSheet.cs │ │ │ ├── IterateSpriteSheet.cs │ │ │ ├── IterateSpriteSheetCArray.cs │ │ │ ├── IterateSpriteSheetFastEnum.cs │ │ │ ├── NodeChildrenMainScene.cs │ │ │ ├── NodeChildrenMenuLayer.cs │ │ │ ├── PerformanceNodeChildrenTest..cs │ │ │ ├── RemoveSpriteSheet.cs │ │ │ └── ReorderSpriteSheet.cs │ │ ├── PerformanceParticleTest │ │ │ ├── ParticleMainScene.cs │ │ │ ├── ParticleMenuLayer.cs │ │ │ ├── ParticlePerformTest1.cs │ │ │ ├── ParticlePerformTest2.cs │ │ │ ├── ParticlePerformTest3.cs │ │ │ ├── ParticlePerformTest4.cs │ │ │ └── PerformanceParticleTest.cs │ │ ├── PerformanceSpriteTest │ │ │ ├── PerformanceSpriteTest.cs │ │ │ ├── SpriteMainScene.cs │ │ │ ├── SpriteMenuLayer.cs │ │ │ ├── SpritePerformTest1.cs │ │ │ ├── SpritePerformTest2.cs │ │ │ ├── SpritePerformTest3.cs │ │ │ ├── SpritePerformTest4.cs │ │ │ ├── SpritePerformTest5.cs │ │ │ ├── SpritePerformTest6.cs │ │ │ ├── SpritePerformTest7.cs │ │ │ └── SubTest.cs │ │ ├── PerformanceTestScene.cs │ │ ├── PerformanceTextureTest │ │ │ ├── PerformanceTextureTest.cs │ │ │ ├── TextureMenuLayer.cs │ │ │ └── TextureTest.cs │ │ └── PerformanceTouchesTest │ │ │ ├── PerformanceTouchesTest.cs │ │ │ ├── TouchesMainScene.cs │ │ │ ├── TouchesPerformTest1.cs │ │ │ └── TouchesPerformTest2.cs │ │ ├── ProgressActionsTest │ │ ├── ProgressActionsTestScene.cs │ │ ├── SpriteDemo.cs │ │ ├── SpriteProgressToHorizontal.cs │ │ ├── SpriteProgressToRadial.cs │ │ └── SpriteProgressToVertical.cs │ │ ├── RenderTextureTest │ │ ├── RenderTextureIssue937.cs │ │ ├── RenderTextureSave.cs │ │ ├── RenderTextureScene.cs │ │ ├── RenderTextureTest.cs │ │ ├── RenderTextureTestDemo.cs │ │ └── RenderTextureZbuffer.cs │ │ ├── RotateWorldTest │ │ ├── RotateWorldMainLayer.cs │ │ ├── RotateWorldTestScene.cs │ │ ├── SpriteLayer.cs │ │ └── TestLayer.cs │ │ ├── SceneTest │ │ ├── SceneTestLayer1.cs │ │ ├── SceneTestLayer2.cs │ │ ├── SceneTestLayer3.cs │ │ └── SceneTestScene.cs │ │ ├── SchedulerTest │ │ ├── RescheduleSelector.cs │ │ ├── SchedulerAutoremove.cs │ │ ├── SchedulerPauseResume.cs │ │ ├── SchedulerSchedulesAndRemove.cs │ │ ├── SchedulerTestLayer.cs │ │ ├── SchedulerTestScene.cs │ │ ├── SchedulerUnscheduleAll.cs │ │ ├── SchedulerUnscheduleAllHard.cs │ │ ├── SchedulerUpdate.cs │ │ ├── SchedulerUpdateAndCustom.cs │ │ ├── SchedulerUpdateFromCustom.cs │ │ └── TestNode.cs │ │ ├── SpriteTest │ │ ├── AnimationCache.cs │ │ ├── Sprite1.cs │ │ ├── Sprite6.cs │ │ ├── SpriteAliased.cs │ │ ├── SpriteAnchorPoint.cs │ │ ├── SpriteAnimationSplit.cs │ │ ├── SpriteBatchNode1.cs │ │ ├── SpriteBatchNodeAliased.cs │ │ ├── SpriteBatchNodeAnchorPoint.cs │ │ ├── SpriteBatchNodeChildren.cs │ │ ├── SpriteBatchNodeChildren2.cs │ │ ├── SpriteBatchNodeChildrenAnchorPoint.cs │ │ ├── SpriteBatchNodeChildrenChildren.cs │ │ ├── SpriteBatchNodeChildrenScale.cs │ │ ├── SpriteBatchNodeChildrenZ.cs │ │ ├── SpriteBatchNodeColorOpacity.cs │ │ ├── SpriteBatchNodeFlip.cs │ │ ├── SpriteBatchNodeNewTexture.cs │ │ ├── SpriteBatchNodeOffsetAnchorFlip.cs │ │ ├── SpriteBatchNodeOffsetAnchorRotation.cs │ │ ├── SpriteBatchNodeOffsetAnchorScale.cs │ │ ├── SpriteBatchNodeOffsetAnchorSkew.cs │ │ ├── SpriteBatchNodeOffsetAnchorSkewScale.cs │ │ ├── SpriteBatchNodeReorder.cs │ │ ├── SpriteBatchNodeReorderIssue744.cs │ │ ├── SpriteBatchNodeReorderIssue766.cs │ │ ├── SpriteBatchNodeReorderIssue767.cs │ │ ├── SpriteBatchNodeZOrder.cs │ │ ├── SpriteBatchNodeZVertex.cs │ │ ├── SpriteChildrenAnchorPoint.cs │ │ ├── SpriteChildrenChildren.cs │ │ ├── SpriteChildrenVisibility.cs │ │ ├── SpriteChildrenVisibilityIssue665.cs │ │ ├── SpriteColorOpacity.cs │ │ ├── SpriteFlip.cs │ │ ├── SpriteFrameAliasNameTest.cs │ │ ├── SpriteFrameTest.cs │ │ ├── SpriteHybrid.cs │ │ ├── SpriteNewTexture.cs │ │ ├── SpriteNilTexture.cs │ │ ├── SpriteOffsetAnchorFlip.cs │ │ ├── SpriteOffsetAnchorRotation.cs │ │ ├── SpriteOffsetAnchorScale.cs │ │ ├── SpriteOffsetAnchorSkew.cs │ │ ├── SpriteOffsetAnchorSkewScale.cs │ │ ├── SpriteSubclass.cs │ │ ├── SpriteTestDemo.cs │ │ ├── SpriteTestScene.cs │ │ ├── SpriteZOrder.cs │ │ └── SpriteZVertex.cs │ │ ├── TextInputTest │ │ ├── TextInputTest.cs │ │ └── TextInputTestScene.cs │ │ ├── Texture2dTest │ │ └── Texture2dTest.cs │ │ ├── TileMapTest │ │ ├── TMXBug787.cs │ │ ├── TMXBug987.cs │ │ ├── TMXGIDObjectsTest.cs │ │ ├── TMXHexTest.cs │ │ ├── TMXIsoMoveLayer.cs │ │ ├── TMXIsoObjectsTest.cs │ │ ├── TMXIsoTest.cs │ │ ├── TMXIsoTest1.cs │ │ ├── TMXIsoTest2.cs │ │ ├── TMXIsoVertexZ.cs │ │ ├── TMXIsoZorder.cs │ │ ├── TMXOrthoMoveLayer.cs │ │ ├── TMXOrthoObjectsTest.cs │ │ ├── TMXOrthoTest.cs │ │ ├── TMXOrthoTest2.cs │ │ ├── TMXOrthoTest3.cs │ │ ├── TMXOrthoTest4.cs │ │ ├── TMXOrthoVertexZ.cs │ │ ├── TMXOrthoZorder.cs │ │ ├── TMXReadWriteTest.cs │ │ ├── TMXResizeTest.cs │ │ ├── TMXTilesetTest.cs │ │ ├── TMXUncompressedTest.cs │ │ ├── TileDemo.cs │ │ ├── TileMapEditTest.cs │ │ ├── TileMapTest.cs │ │ └── TileMapTestScene.cs │ │ ├── TouchesTest │ │ ├── Ball.cs │ │ ├── DispatcherTest.cs │ │ ├── Paddle.cs │ │ ├── PongLayer.cs │ │ └── PongScene.cs │ │ ├── TransitionsTest │ │ ├── FadeWhiteTransition.cs │ │ ├── FlipAngularLeftOver.cs │ │ ├── FlipAngularRightOver.cs │ │ ├── FlipXLeftOver.cs │ │ ├── FlipXRightOver.cs │ │ ├── FlipYDownOver.cs │ │ ├── FlipYUpOver.cs │ │ ├── PageTransitionBackward.cs │ │ ├── PageTransitionForward.cs │ │ ├── TestLayer1.cs │ │ ├── TestLayer2.cs │ │ ├── TransitionsTestScene.cs │ │ ├── ZoomFlipAngularLeftOver.cs │ │ ├── ZoomFlipAngularRightOver.cs │ │ ├── ZoomFlipXLeftOver.cs │ │ ├── ZoomFlipXRightOver.cs │ │ ├── ZoomFlipYDownOver.cs │ │ └── ZoomFlipYUpOver.cs │ │ ├── UserDefaultTest │ │ ├── UserDefaultTest.cs │ │ └── UserDefaultTestScene.cs │ │ └── ZwoptexTest │ │ ├── ZwoptexGenericTest.cs │ │ ├── ZwoptexTest.cs │ │ └── ZwoptexTestScene.cs ├── tests.Android.csproj └── tests.csproj └── testsContent ├── Images ├── BoilingFoam.plist ├── BurstPipe.plist ├── Comet.png ├── CometPlist.plist ├── ExplodingRing.plist ├── FlowerPlist.plist ├── Fog.png ├── GalaxyPlist.plist ├── HelloWorld.png ├── Icon.png ├── LavaFlow.plist ├── Pea.png ├── Phoenix.plist ├── PlanetCute-1024x1024.png ├── SendScoreButton.png ├── SendScoreButtonPressed.png ├── SpinningPeas.png ├── SpinningPeasPlist.plist ├── Spiral.plist ├── SpookyPeas.png ├── SpookyPeasPlist.plist ├── Upsidedown.plist ├── atlastest.png ├── b1-hd.png ├── b1.png ├── b2-hd.png ├── b2.png ├── background.png ├── background1-hd.png ├── background1.png ├── background2-hd.png ├── background2.png ├── background3-hd.png ├── background3.png ├── ball-hd.png ├── ball.png ├── bitmapFontTest3.png ├── blocks-hd.png ├── blocks.png ├── btn-about-normal.png ├── btn-about-selected.png ├── btn-highscores-normal.png ├── btn-highscores-selected.png ├── btn-play-normal.png ├── btn-play-selected.png ├── close-hd.png ├── close.png ├── debian.plist ├── f1-hd.png ├── f1.png ├── f2-hd.png ├── f2.png ├── fire-grayscale.png ├── fire.png ├── fps_images.png ├── grossini-hd.png ├── grossini.png ├── grossini_dance_01.png ├── grossini_dance_02.png ├── grossini_dance_03.png ├── grossini_dance_04.png ├── grossini_dance_05.png ├── grossini_dance_06.png ├── grossini_dance_07.png ├── grossini_dance_08.png ├── grossini_dance_09.png ├── grossini_dance_10.png ├── grossini_dance_11.png ├── grossini_dance_12.png ├── grossini_dance_13.png ├── grossini_dance_14.png ├── grossini_dance_atlas-hd.png ├── grossini_dance_atlas-mono.png ├── grossini_dance_atlas.png ├── grossini_dance_atlas_nomipmap.png ├── grossinis_sister1-hd.png ├── grossinis_sister1-testalpha.png ├── grossinis_sister1.png ├── grossinis_sister2-hd.png ├── grossinis_sister2.png ├── landscape-1024x1024.png ├── menuitemsprite.png ├── paddle-hd.png ├── paddle.png ├── particles-hd.png ├── particles.png ├── pattern1.png ├── piece.png ├── powered.png ├── r1-hd.png ├── r1.png ├── r2-hd.png ├── r2.png ├── snow.png ├── spritesheet1.png ├── stars-grayscale.png ├── stars.png ├── stars2-grayscale.png ├── stars2.png ├── streak.png ├── test-rgba1.png ├── test_blend.png ├── test_image.png ├── texture1024x1024.png ├── texture2048x2048.png └── texture512x512.png ├── Sounds ├── background.mp3 └── effect1.wav ├── TileMaps ├── arial16.fnt ├── fixed-ortho-test2.png ├── hexa-test1.tmx ├── hexa-tiles.png ├── iso-test-bug787.tmx ├── iso-test-movelayer.tmx ├── iso-test-objectgroup.tmx ├── iso-test-vertexz.tmx ├── iso-test-zorder.tmx ├── iso-test.png ├── iso-test01.tmx ├── iso-test1.png ├── iso-test11.tmx ├── iso-test2-uncompressed.tmx ├── iso-test2.png ├── iso-test22.tmx ├── iso.png ├── levelmap.tga ├── ortho-objects.tmx ├── ortho-test1.png ├── ortho-test1_bw.png ├── ortho-test2.png ├── orthogonal-test-movelayer.tmx ├── orthogonal-test-vertexz.tmx ├── orthogonal-test-zorder.tmx ├── orthogonal-test1.tmx ├── orthogonal-test11.tsx ├── orthogonal-test2.tmx ├── orthogonal-test3.tmx ├── orthogonal-test4-hd.tmx ├── orthogonal-test4.tmx ├── orthogonal-test5.tmx ├── orthogonal-test6-hd.tmx ├── orthogonal-test6.tmx ├── test-object-layer.tmx ├── tiles-hd.png ├── tiles.png ├── tmw_desert_spacing-hd.png └── tmw_desert_spacing.png ├── animations ├── ghosts.plist ├── grossini-aliases.plist ├── grossini..ztp ├── grossini.plist ├── grossini.plist.xml ├── grossini_blue.plist ├── grossini_family.plist ├── grossini_gray.plist └── images │ ├── dragon_animation-hd.png │ ├── dragon_animation.png │ ├── ghosts.png │ ├── grossini-aliases.png │ ├── grossini.png │ ├── grossini_blue.png │ ├── grossini_family.png │ └── grossini_gray.png ├── fonts ├── Arial.spritefont └── fnt │ ├── arial16.fnt │ ├── bitmapFontTest.fnt │ ├── bitmapFontTest2.fnt │ ├── bitmapFontTest3.fnt │ ├── bitmapFontTest4.fnt │ ├── bitmapFontTest5.fnt │ ├── futura-48.fnt │ ├── images │ ├── arial16.png │ ├── bitmapFontTest.png │ ├── bitmapFontTest2.png │ ├── bitmapFontTest3.png │ ├── bitmapFontTest4.png │ ├── bitmapFontTest5.png │ ├── fps_images-hd.png │ ├── fps_images.png │ ├── futura-48.png │ ├── konqa32-hd.png │ ├── konqa32.png │ ├── larabie-16-hd.png │ ├── larabie-16.png │ ├── tuffy_bold_italic-charmap-hd.png │ └── tuffy_bold_italic-charmap.png │ ├── konqa32-hd.fnt │ └── konqa32.fnt ├── testsContent.contentproj └── zwoptex ├── grossini-generic.plist ├── grossini.plist └── images ├── grossini-generic.png └── grossini.png /Android/MonoGame3D/Lidgren.Network.Android.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/Android/MonoGame3D/Lidgren.Network.Android.dll -------------------------------------------------------------------------------- /Android/MonoGame3D/MonoGame.Framework.Android.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/Android/MonoGame3D/MonoGame.Framework.Android.dll -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/Assets/Content/CloseNormal.xnb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/HelloCocos2d/HelloCocos2d/Assets/Content/CloseNormal.xnb -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/Assets/Content/CloseSelected.xnb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/HelloCocos2d/HelloCocos2d/Assets/Content/CloseSelected.xnb -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/Assets/Content/HelloWorld.xnb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/HelloCocos2d/HelloCocos2d/Assets/Content/HelloWorld.xnb -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/Assets/Content/fonts/Arial.xnb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/HelloCocos2d/HelloCocos2d/Assets/Content/fonts/Arial.xnb -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/HelloCocos2d/HelloCocos2d/Background.png -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/Game.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/HelloCocos2d/HelloCocos2d/Game.ico -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/PhoneGameThumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/HelloCocos2d/HelloCocos2d/PhoneGameThumb.png -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/Properties/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/Properties/AppManifest.xml: -------------------------------------------------------------------------------- 1 |  4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/Properties/WMAppManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 0 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/Resources/drawable/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/HelloCocos2d/HelloCocos2d/Resources/drawable/ic_launcher.png -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/Resources/drawable/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/HelloCocos2d/HelloCocos2d/Resources/drawable/splash.png -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/Resources/values/Styles.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2d/Resources/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hello cocos2d 4 | -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2dContent/CloseNormal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/HelloCocos2d/HelloCocos2dContent/CloseNormal.png -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2dContent/CloseSelected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/HelloCocos2d/HelloCocos2dContent/CloseSelected.png -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2dContent/HelloWorld.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/HelloCocos2d/HelloCocos2dContent/HelloWorld.png -------------------------------------------------------------------------------- /HelloCocos2d/HelloCocos2dContent/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/HelloCocos2d/HelloCocos2dContent/Thumbs.db -------------------------------------------------------------------------------- /XNA_Reading.txt: -------------------------------------------------------------------------------- 1 | Shader Programs: 2 | 3 | http://digitalerr0r.wordpress.com/2011/12/12/xna-4-0-shader-programming-1intro-to-hlsl-ambient-light/ 4 | 5 | Game State Management: 6 | 7 | http://code.msdn.microsoft.com/wpapps/Game-State-Management-b7869983 8 | 9 | -------------------------------------------------------------------------------- /cocos2d-xna/actions/action_intervals/CCBezierBy.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/cocos2d-xna/actions/action_intervals/CCBezierBy.cs -------------------------------------------------------------------------------- /cocos2d-xna/cocoa/CCData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace cocos2d 7 | { 8 | public class CCData : CCObject 9 | { 10 | public CCData() { } 11 | 12 | public byte[] bytes() 13 | { 14 | return m_pData; 15 | } 16 | 17 | public static CCData dataWithBytes(byte[] pBytes, int size) 18 | { 19 | return null; 20 | } 21 | 22 | public static CCData dataWithContentsOfFile(string strPath) 23 | { 24 | CCFileData data = new CCFileData(strPath, "rb"); 25 | ulong nSize = data.Size; 26 | byte[] pBuffer = data.Buffer; 27 | 28 | if (pBuffer == null) 29 | { 30 | return null; 31 | } 32 | 33 | CCData pRet = new CCData(); 34 | pRet.m_pData = pBuffer; 35 | //memcpy(pRet->m_pData, pBuffer, nSize); 36 | 37 | return pRet; 38 | } 39 | 40 | private byte[] m_pData; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /cocos2d-xna/external lib/ICSharpCode.SharpZipLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/cocos2d-xna/external lib/ICSharpCode.SharpZipLib.dll -------------------------------------------------------------------------------- /cocos2d-xna/external lib/zlib.net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/cocos2d-xna/external lib/zlib.net.dll -------------------------------------------------------------------------------- /cocos2d-xna/external lib/zlib.net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/cocos2d-xna/external lib/zlib.net.pdb -------------------------------------------------------------------------------- /cocos2d-xna/support/Compression/FlushType.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // 2011 Richard Griffin and Ollie Riches 4 | // 5 | // 6 | // http://www.sharpgis.net/post/2011/08/28/GZIP-Compressed-Web-Requests-in-WP7-Take-2.aspx 7 | // 8 | // -------------------------------------------------------------------------------------------------------------------- 9 | 10 | namespace WP7Contrib.Communications.Compression 11 | { 12 | internal enum FlushType 13 | { 14 | None, 15 | Partial, 16 | Sync, 17 | Full, 18 | Finish, 19 | } 20 | } -------------------------------------------------------------------------------- /cocos2d-xna/support/Compression/ZlibException.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // 2011 Richard Griffin and Ollie Riches 4 | // 5 | // 6 | // http://www.sharpgis.net/post/2011/08/28/GZIP-Compressed-Web-Requests-in-WP7-Take-2.aspx 7 | // 8 | // -------------------------------------------------------------------------------------------------------------------- 9 | 10 | namespace WP7Contrib.Communications.Compression 11 | { 12 | using System; 13 | 14 | internal class ZlibException : Exception 15 | { 16 | public ZlibException() 17 | { 18 | } 19 | 20 | public ZlibException(string s) 21 | : base(s) 22 | { 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /cocos2d-xna/support/Compression/ZlibStreamFlavor.cs: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------------------------------------------------- 2 | // 3 | // 2011 Richard Griffin and Ollie Riches 4 | // 5 | // 6 | // http://www.sharpgis.net/post/2011/08/28/GZIP-Compressed-Web-Requests-in-WP7-Take-2.aspx 7 | // 8 | // -------------------------------------------------------------------------------------------------------------------- 9 | 10 | namespace WP7Contrib.Communications.Compression 11 | { 12 | internal enum ZlibStreamFlavor 13 | { 14 | ZLIB = 1950, 15 | DEFLATE = 1951, 16 | GZIP = 1952, 17 | } 18 | } -------------------------------------------------------------------------------- /cocos2d-xna/text_input_node/CCIMEKeyboardNotificationInfo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace cocos2d 7 | { 8 | public class CCIMEKeyboardNotificationInfo 9 | { 10 | public CCRect begin; // the soft keyboard rectangle when animatin begin 11 | public CCRect end; // the soft keyboard rectangle when animatin end 12 | public float duration; // the soft keyboard animation duration 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /cocos2d-xna/text_input_node/ICCTextFieldDelegate.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace cocos2d 7 | { 8 | public interface ICCTextFieldDelegate 9 | { 10 | /** 11 | @brief If the sender doesn't want to attach with IME, return true; 12 | */ 13 | bool onTextFieldAttachWithIME(CCTextFieldTTF sender); 14 | 15 | /** 16 | @brief If the sender doesn't want to detach with IME, return true; 17 | */ 18 | bool onTextFieldDetachWithIME(CCTextFieldTTF sender); 19 | 20 | /** 21 | @brief If the sender doesn't want to insert the text, return true; 22 | */ 23 | bool onTextFieldInsertText(CCTextFieldTTF sender, string text, int nLen); 24 | 25 | /** 26 | @brief If the sender doesn't want to delete the delText, return true; 27 | */ 28 | bool onTextFieldDeleteBackward(CCTextFieldTTF sender, string delText, int nLen); 29 | /** 30 | @brief If doesn't want draw sender as default, return true. 31 | */ 32 | bool onDraw(CCTextFieldTTF sender); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /cocos2d.Content.Pipeline.Importers/Decompress.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.IO; 6 | using System.IO.Compression; 7 | 8 | namespace cocos2d.Content.Pipeline.Importers 9 | { 10 | public class Decompress 11 | { 12 | public static byte[] GZipDecompress(Byte[] bytes) 13 | { 14 | using (MemoryStream tempMs = new MemoryStream()) 15 | { 16 | using (MemoryStream ms = new MemoryStream(bytes)) 17 | { 18 | GZipStream Decompress = new GZipStream(ms, CompressionMode.Decompress); 19 | Decompress.CopyTo(tempMs); 20 | Decompress.Close(); 21 | return tempMs.ToArray(); 22 | } 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /cocos2d.Content.Pipeline.Importers/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("cocos2d.Content.Pipeline.Importers")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("cocos2d.Content.Pipeline.Importers")] 13 | [assembly: AssemblyCopyright("Copyright © 2011")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("6403394c-bff6-40db-9dd2-f6730c69d1af")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | [assembly: AssemblyVersion("1.0.0.0")] 33 | [assembly: AssemblyFileVersion("1.0.0.0")] 34 | -------------------------------------------------------------------------------- /cocos2d.Content.Pipeline.Importers/TMX/TMXImporter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Microsoft.Xna.Framework; 5 | using Microsoft.Xna.Framework.Graphics; 6 | using Microsoft.Xna.Framework.Content.Pipeline; 7 | using Microsoft.Xna.Framework.Content.Pipeline.Graphics; 8 | 9 | using TImport = System.String; 10 | using System.IO; 11 | 12 | namespace cocos2d.Content.Pipeline.Importers.TMX 13 | { 14 | [ContentImporter(".TMX", DisplayName = "TMX Importer", DefaultProcessor = "TMX Processor")] 15 | public class TMXImporter : ContentImporter 16 | { 17 | public override TImport Import(string filename, ContentImporterContext context) 18 | { 19 | return File.ReadAllText(filename); 20 | throw new NotImplementedException(); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /cocos2d.Content.Pipeline.Importers/TMX/TMXProcessor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Microsoft.Xna.Framework; 5 | using Microsoft.Xna.Framework.Graphics; 6 | using Microsoft.Xna.Framework.Content.Pipeline; 7 | using Microsoft.Xna.Framework.Content.Pipeline.Graphics; 8 | using Microsoft.Xna.Framework.Content.Pipeline.Processors; 9 | using System.Xml.Linq; 10 | 11 | using TInput = System.String; 12 | using TOutput = cocos2d.Framework.CCContent; 13 | using System.Text; 14 | 15 | namespace cocos2d.Content.Pipeline.Importers.TMX 16 | { 17 | 18 | [ContentProcessor(DisplayName = "TMX Processor")] 19 | public class TMXProcessor : ContentProcessor 20 | { 21 | public override TOutput Process(TInput input, ContentProcessorContext context) 22 | { 23 | TOutput output = new TOutput(); 24 | output.Content = input; 25 | return output; 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /cocos2d.Content.Pipeline.Importers/Text/TextImporter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Microsoft.Xna.Framework; 5 | using Microsoft.Xna.Framework.Graphics; 6 | using Microsoft.Xna.Framework.Content.Pipeline; 7 | using Microsoft.Xna.Framework.Content.Pipeline.Graphics; 8 | 9 | using TImport = System.String; 10 | 11 | namespace cocos2d.Content.Pipeline.Importers 12 | { 13 | [ContentImporter(".*", DisplayName = "Text Importer", DefaultProcessor = "TextImporter")] 14 | public class TextImporter : ContentImporter 15 | { 16 | public override TImport Import(string filename, ContentImporterContext context) 17 | { 18 | return System.IO.File.ReadAllText(filename); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /cocos2d.Content.Pipeline.Importers/Text/TextProcessor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Microsoft.Xna.Framework; 5 | using Microsoft.Xna.Framework.Graphics; 6 | using Microsoft.Xna.Framework.Content.Pipeline; 7 | using Microsoft.Xna.Framework.Content.Pipeline.Graphics; 8 | using Microsoft.Xna.Framework.Content.Pipeline.Processors; 9 | 10 | using TInput = System.String; 11 | using TOutput = cocos2d.Framework.CCContent; 12 | 13 | namespace cocos2d.Content.Pipeline.Importers 14 | { 15 | [ContentProcessor(DisplayName = "TextProcessor")] 16 | public class TextProcessor : ContentProcessor 17 | { 18 | public override TOutput Process(TInput input, ContentProcessorContext context) 19 | { 20 | TOutput result = new TOutput(); 21 | result.Content = input; 22 | 23 | return result; 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /cocos2d.Framework/CCContent.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Microsoft.Xna.Framework; 5 | using Microsoft.Xna.Framework.Audio; 6 | using Microsoft.Xna.Framework.Content; 7 | using Microsoft.Xna.Framework.GamerServices; 8 | using Microsoft.Xna.Framework.Graphics; 9 | using Microsoft.Xna.Framework.Input; 10 | using Microsoft.Xna.Framework.Input.Touch; 11 | using Microsoft.Xna.Framework.Media; 12 | 13 | namespace cocos2d.Framework 14 | { 15 | public class CCContent 16 | { 17 | public string Content { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /docs/Cocos2d-x C# Framework.website: -------------------------------------------------------------------------------- 1 | [{000214A0-0000-0000-C000-000000000046}] 2 | Prop4=31,Cocos2d-x | C# Framework 3 | Prop3=19,2 4 | [{A7AF692E-098D-4C08-A225-D433CA835ED0}] 5 | Prop5=3,0 6 | Prop9=19,0 7 | [InternetShortcut] 8 | URL=http://www.cocos2d-x.org/projects/cocos2d-x/boards/17 9 | IDList= 10 | IconFile=http://files.cocos2d-x.org/favicon.ico?1325350351 11 | IconIndex=1 12 | [{9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}] 13 | Prop5=8,Microsoft.Website.83647D77.ABC28C7F 14 | -------------------------------------------------------------------------------- /docs/Icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/docs/Icon.ico -------------------------------------------------------------------------------- /docs/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/docs/Icon.png -------------------------------------------------------------------------------- /docs/cocos2d-cocos2d-x-for-xna.website: -------------------------------------------------------------------------------- 1 | [{000214A0-0000-0000-C000-000000000046}] 2 | Prop4=31,cocos2d/cocos2d-x-for-xna 3 | Prop3=19,11 4 | [{A7AF692E-098D-4C08-A225-D433CA835ED0}] 5 | Prop5=3,0 6 | Prop9=19,0 7 | [InternetShortcut] 8 | URL=https://github.com/cocos2d/cocos2d-x-for-xna 9 | IDList= 10 | IconFile=https://github.com/favicon.ico 11 | IconIndex=1 12 | [{9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}] 13 | Prop5=8,Microsoft.Website.D24C1686.CF178E30 14 | -------------------------------------------------------------------------------- /docs/installbanner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/docs/installbanner.jpg -------------------------------------------------------------------------------- /docs/installbanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/docs/installbanner.png -------------------------------------------------------------------------------- /docs/powered.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/docs/powered.ico -------------------------------------------------------------------------------- /docs/powered.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/docs/powered.png -------------------------------------------------------------------------------- /external/Box2D/box2d/Collision/b2ContactFeature.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Box2D.Collision 7 | { 8 | public enum b2ContactFeatureType 9 | { 10 | e_vertex = 0, 11 | e_face = 1 12 | } 13 | 14 | /// The features that intersect to form the contact point 15 | /// This must be 4 bytes or less. 16 | public struct b2ContactFeature 17 | { 18 | public byte indexA; ///< Feature index on shapeA 19 | public byte indexB; ///< Feature index on shapeB 20 | public b2ContactFeatureType typeA; ///< The feature type on shapeA 21 | public b2ContactFeatureType typeB; ///< The feature type on shapeB 22 | 23 | public b2ContactFeature(byte iA, byte iB, b2ContactFeatureType tA, b2ContactFeatureType tB) 24 | { 25 | indexA = iA; 26 | indexB = iB; 27 | typeA = tA; 28 | typeB = tB; 29 | } 30 | 31 | public override bool Equals(object o) 32 | { 33 | b2ContactFeature bcf = (b2ContactFeature)o; 34 | return (indexA == bcf.indexA && indexB == bcf.indexB && typeA == bcf.typeA && typeB == bcf.typeB); 35 | } 36 | 37 | 38 | public static b2ContactFeature Zero = new b2ContactFeature(0, 0, 0, 0); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /external/Box2D/box2d/Common/b2Color.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Box2D.Common 7 | { 8 | public struct b2Color 9 | { 10 | public float r { get { return (_r); } set { _r = value; } } 11 | public float g { get { return (_g); } set { _g = value; } } 12 | public float b { get { return (_b); } set { _b = value; } } 13 | 14 | /*public b2Color() { _r = 0f; _g = 0f; _b = 0f; }*/ 15 | public b2Color(float r, float g, float b) { _r = r; _g = g; _b = b; } 16 | public void Set(float ri, float gi, float bi) { _r = ri; _g = gi; _b = bi; } 17 | private float _r, _g, _b; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /external/Box2D/box2d/Common/b2Transform.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Box2D.Common 7 | { 8 | /// A transform contains translation and rotation. It is used to represent 9 | /// the position and orientation of rigid frames. 10 | public struct b2Transform 11 | { 12 | /// The default ructor does nothing. 13 | /*public b2Transform() 14 | { 15 | _p = new b2Vec2(); 16 | _q = new b2Rot(); 17 | }*/ 18 | 19 | /// Initialize using a position vector and a rotation. 20 | b2Transform(b2Vec2 position, b2Rot rotation) 21 | { 22 | _p = position; 23 | _q = rotation; 24 | } 25 | 26 | /// Set this to the identity transform. 27 | void SetIdentity() 28 | { 29 | _p.SetZero(); 30 | _q.SetIdentity(); 31 | } 32 | 33 | /// Set this based on the position and angle. 34 | void Set(b2Vec2 position, float angle) 35 | { 36 | _p = position; 37 | _q.Set(angle); 38 | } 39 | 40 | public b2Vec2 p { get { return (_p); } set { _p = value; } } 41 | public b2Rot q { get { return (_q); } set { _q = value; } } 42 | 43 | private b2Vec2 _p; 44 | private b2Rot _q; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /external/Box2D/box2d/Dynamics/b2ContactFilter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Box2D.Dynamics 7 | { 8 | /// 9 | /// Implement this class to provide collision filtering. In other words, you can implement 10 | /// this class if you want finer control over contact creation. 11 | /// 12 | public abstract class b2ContactFilter 13 | { 14 | /// Return true if contact calculations should be performed between these two shapes. 15 | /// @warning for performance reasons this is only called when the AABBs begin to overlap. 16 | public abstract bool ShouldCollide(b2Fixture fixtureA, b2Fixture fixtureB); 17 | 18 | public static b2ContactFilter b2_defaultFilter = null; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /external/Box2D/box2d/Dynamics/b2DestructionListener.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using Box2D.Common; 6 | 7 | namespace Box2D.Dynamics 8 | { 9 | /// 10 | /// Joints and fixtures are destroyed when their associated 11 | /// body is destroyed. Implement this listener so that you 12 | /// may nullify references to these joints and shapes. 13 | /// 14 | public abstract class b2DestructionListener 15 | { 16 | /// Called when any joint is about to be destroyed due 17 | /// to the destruction of one of its attached bodies. 18 | public abstract void SayGoodbye(b2Joint joint); 19 | 20 | /// Called when any fixture is about to be destroyed due 21 | /// to the destruction of its parent body. 22 | public abstract void SayGoodbye(b2Fixture fixture); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /external/Box2D/box2d/Dynamics/b2QueryCallback.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Box2D.Dynamics 7 | { 8 | /// 9 | /// Callback class for AABB queries. 10 | /// See b2World::Query 11 | /// 12 | public abstract class b2QueryCallback 13 | { 14 | /// 15 | /// Called for each fixture found in the query AABB. 16 | /// @return false to terminate the query. 17 | /// 18 | public abstract bool ReportFixture(b2Fixture fixture); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /external/Box2D/box2d/Dynamics/b2RayCastCallback.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using Box2D.Common; 6 | 7 | namespace Box2D.Dynamics 8 | { 9 | /// 10 | /// 11 | /// 12 | public abstract class b2RayCastCallback 13 | { 14 | /// 15 | /// Called for each fixture found in the query. You control how the ray cast 16 | /// proceeds by returning a float: 17 | /// return -1: ignore this fixture and continue 18 | /// return 0: terminate the ray cast 19 | /// return fraction: clip the ray to this point 20 | /// return 1: don't clip the ray and continue 21 | /// 22 | /// the fixture hit by the ray 23 | /// the point of initial intersection 24 | /// the normal vector at the point of intersection 25 | /// 26 | /// -1 to filter, 0 to terminate, fraction to clip the ray for 27 | /// closest hit, 1 to continue 28 | public abstract float ReportFixture(b2Fixture fixture, b2Vec2 point, 29 | b2Vec2 normal, float fraction); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /external/Box2D/box2d/Dynamics/b2WorldQueryWrapper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using Box2D.Common; 6 | using Box2D.Collision; 7 | 8 | namespace Box2D.Dynamics 9 | { 10 | public class b2WorldQueryWrapper 11 | { 12 | public bool QueryCallback(int proxyId) 13 | { 14 | b2FixtureProxy proxy = (b2FixtureProxy)broadPhase.GetUserData(proxyId); 15 | return callback.ReportFixture(proxy.fixture); 16 | } 17 | 18 | private b2BroadPhase broadPhase; 19 | public b2BroadPhase BroadPhase 20 | { 21 | get { return (broadPhase); } 22 | set { broadPhase = value; } 23 | } 24 | 25 | private b2QueryCallback callback; 26 | public b2QueryCallback Callback 27 | { 28 | get { return (callback); } 29 | set { callback = value; } 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /external/Box2D/box2d/Dynamics/b2WorldRayCastWrapper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using Box2D.Common; 6 | using Box2D.Collision; 7 | 8 | namespace Box2D.Dynamics 9 | { 10 | public class b2WorldRayCastWrapper 11 | { 12 | public float RayCastCallback(b2RayCastInput input, int proxyId) 13 | { 14 | b2FixtureProxy proxy = (b2FixtureProxy)broadPhase.GetUserData(proxyId); 15 | b2Fixture fixture = proxy.fixture; 16 | int index = proxy.childIndex; 17 | b2RayCastOutput output; 18 | bool hit = fixture.RayCast(out output, input, index); 19 | 20 | if (hit) 21 | { 22 | float fraction = output.fraction; 23 | b2Vec2 point = (1.0f - fraction) * input.p1 + fraction * input.p2; 24 | return callback.ReportFixture(fixture, point, output.normal, fraction); 25 | } 26 | 27 | return input.maxFraction; 28 | } 29 | 30 | private b2BroadPhase broadPhase; 31 | public b2BroadPhase BroadPhase 32 | { 33 | get { return (broadPhase); } 34 | set { broadPhase = value; } 35 | } 36 | 37 | private b2RayCastCallback callback; 38 | public b2RayCastCallback Callback 39 | { 40 | get { return (callback); } 41 | set { callback = value; } 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /external/Box2D/box2d/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("box2d")] 9 | [assembly: AssemblyProduct("box2d")] 10 | [assembly: AssemblyDescription("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyCopyright("Copyright © 2012")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // Setting ComVisible to false makes the types in this assembly not visible 17 | // to COM components. If you need to access a type in this assembly from 18 | // COM, set the ComVisible attribute to true on that type. Only Windows 19 | // assemblies support COM. 20 | [assembly: ComVisible(false)] 21 | 22 | // On Windows, the following GUID is for the ID of the typelib if this 23 | // project is exposed to COM. On other platforms, it unique identifies the 24 | // title storage container when deploying this assembly to the device. 25 | [assembly: Guid("1f6dec85-9c75-45cf-beca-bd3187a398b1")] 26 | 27 | // Version information for an assembly consists of the following four values: 28 | // 29 | // Major Version 30 | // Minor Version 31 | // Build Number 32 | // Revision 33 | // 34 | [assembly: AssemblyVersion("1.0.0.0")] -------------------------------------------------------------------------------- /external/Box2D/box2d/Rope/b2RopeDef.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using Box2D.Common; 6 | 7 | namespace Box2D.Rope 8 | { 9 | public struct b2RopeDef 10 | { 11 | public b2Vec2[] vertices; 12 | public int count; 13 | public float[] masses; 14 | public b2Vec2 gravity; 15 | public float damping; 16 | public float k2; 17 | /// Bending stiffness. Values above 0.5 can make the simulation blow up. 18 | public float k3; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /install-template-mscs.msi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/install-template-mscs.msi -------------------------------------------------------------------------------- /readme.mdown: -------------------------------------------------------------------------------- 1 | cocos2d-x for xna 2 | ================== 3 | 4 | This project has been replaced with [Cocos2D-XNA][4]. 5 | 6 | cocos2d-x for xna is a 2D game engine in C#, based on [cocos2d-x][1] and licensed under MIT. 7 | The engine is jointly developed by [cocos2d-x][1] and [OpenXLive][2]. 8 | 9 | Document 10 | ------------------ 11 | * Website: www.cocos2d-x.org 12 | www.openxlive.com 13 | * [Online API References][3] 14 | 15 | Contact us 16 | ------------------ 17 | * Forum: http://www.cocos2d-x.org/projects/cocos2d-x/boards/17 18 | 19 | Thanks to the core-developers 20 | ------------------ 21 | ronghong.huang(flyingpacer) 22 | xiaoming.zhang(minggo) 23 | chunlin.qin(elvis) 24 | yang.you(youyang) 25 | kaiwei.liu(lkw) 26 | Totally Evil Entertainment 27 | Gena Minchuk 28 | 29 | [1]: http://www.cocos2d-x.org "cocos2d-x" 30 | [2]: http://www.openxlive.com "OpenXLive" 31 | [3]: http://www.cocos2d-x.org/embedded/cocos2d-x/classes.html "API References" 32 | [4]: http://github.com/Cocos2DXNA/cocos2d-xna 33 | 34 | -------------------------------------------------------------------------------- /template/Cocos2d-xna.VSIX/ProjectTemplates/cocos2d-xna.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/template/Cocos2d-xna.VSIX/ProjectTemplates/cocos2d-xna.zip -------------------------------------------------------------------------------- /template/Cocos2d-xna.VSIX/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Cocos2d_xna.VSIX")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Cocos2d_xna.VSIX")] 13 | [assembly: AssemblyCopyright("")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // Version information for an assembly consists of the following four values: 23 | // 24 | // Major Version 25 | // Minor Version 26 | // Build Number 27 | // Revision 28 | // 29 | // You can specify all the values or you can default the Build and Revision Numbers 30 | // by using the '*' as shown below: 31 | // [assembly: AssemblyVersion("1.0.*")] 32 | [assembly: AssemblyVersion("1.0.0.0")] 33 | [assembly: AssemblyFileVersion("1.0.0.0")] 34 | -------------------------------------------------------------------------------- /template/Cocos2d-xna.VSIX/__Template_large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/template/Cocos2d-xna.VSIX/__Template_large.png -------------------------------------------------------------------------------- /template/Cocos2d-xna.VSIX/__Template_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/template/Cocos2d-xna.VSIX/__Template_small.png -------------------------------------------------------------------------------- /template/Cocos2d-xna.VSIX/source.extension.vsixmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Cocos2d_xna.VSIX 5 | 6 | 1.0 7 | Empty VSIX Project. 8 | 1033 9 | 10 | 11 | Pro 12 | 13 | 14 | 15 | 16 | 17 | 18 | |Cocos2d-xna.Wizard| 19 | ProjectTemplates 20 | 21 | 22 | -------------------------------------------------------------------------------- /template/Cocos2d-xna.Wizard/OpenxliveComfirmForm.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Windows.Forms; 9 | 10 | namespace Cocos2d_xna.Wizard 11 | { 12 | public partial class OpenxliveComfirmForm : Form 13 | { 14 | public bool CreateWithOpenxlive 15 | { 16 | get { return this.cboxOpenxlive.Checked; } 17 | } 18 | 19 | public OpenxliveComfirmForm() 20 | { 21 | InitializeComponent(); 22 | this.StartPosition = FormStartPosition.CenterScreen; 23 | } 24 | 25 | private void linkOpenxlive_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 26 | { 27 | System.Diagnostics.Process.Start("http://www.openxlive.com"); 28 | } 29 | 30 | private void btnOK_Click(object sender, EventArgs e) 31 | { 32 | this.DialogResult = System.Windows.Forms.DialogResult.OK; 33 | this.Close(); 34 | } 35 | 36 | private void btnCancel_Click(object sender, EventArgs e) 37 | { 38 | this.DialogResult = System.Windows.Forms.DialogResult.Cancel; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /template/Cocos2d-xna.Wizard/cocos2d-xna key file.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/template/Cocos2d-xna.Wizard/cocos2d-xna key file.snk -------------------------------------------------------------------------------- /template/vsix/cocos2d-xna.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/template/vsix/cocos2d-xna.zip -------------------------------------------------------------------------------- /tests/tests/Assets/AboutAssets.txt: -------------------------------------------------------------------------------- 1 | Any raw assets you want to be deployed with your application can be placed in 2 | this directory (and child directories) and given a Build Action of "AndroidAsset". 3 | 4 | These files will be deployed with you package and will be accessible using Android's 5 | AssetManager, like this: 6 | 7 | public class ReadAsset : Activity 8 | { 9 | protected override void OnCreate (Bundle bundle) 10 | { 11 | base.OnCreate (bundle); 12 | 13 | InputStream input = Assets.Open ("my_asset.txt"); 14 | } 15 | } 16 | 17 | Additionally, some Android functions will automatically load asset files: 18 | 19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf"); -------------------------------------------------------------------------------- /tests/tests/Assets/Content/fonts/Arial.xnb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/tests/Assets/Content/fonts/Arial.xnb -------------------------------------------------------------------------------- /tests/tests/Assets/Content/fonts/fnt/images/verdana24_0.xnb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/tests/Assets/Content/fonts/fnt/images/verdana24_0.xnb -------------------------------------------------------------------------------- /tests/tests/Assets/Content/fonts/fnt/images/verdana32_0.xnb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/tests/Assets/Content/fonts/fnt/images/verdana32_0.xnb -------------------------------------------------------------------------------- /tests/tests/Assets/Content/fonts/fnt/verdana24.xnb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/tests/Assets/Content/fonts/fnt/verdana24.xnb -------------------------------------------------------------------------------- /tests/tests/Assets/Content/fonts/fnt/verdana32.xnb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/tests/Assets/Content/fonts/fnt/verdana32.xnb -------------------------------------------------------------------------------- /tests/tests/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/tests/Background.png -------------------------------------------------------------------------------- /tests/tests/Game.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/tests/Game.ico -------------------------------------------------------------------------------- /tests/tests/GameThumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/tests/GameThumbnail.png -------------------------------------------------------------------------------- /tests/tests/PhoneGameThumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/tests/PhoneGameThumb.png -------------------------------------------------------------------------------- /tests/tests/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | #if ANDROID 3 | using Android.App; 4 | using Android.Content; 5 | using Android.Runtime; 6 | using Android.Views; 7 | using Android.Widget; 8 | using Android.OS; 9 | #endif 10 | using Microsoft.Xna.Framework; 11 | 12 | namespace tests 13 | { 14 | #if WINDOWS || XBOX 15 | static class Program 16 | { 17 | /// 18 | /// The main entry point for the application. 19 | /// 20 | static void Main(string[] args) 21 | { 22 | using (Game1 game = new Game1()) 23 | { 24 | game.Run(); 25 | } 26 | } 27 | } 28 | #endif 29 | #if ANDROID 30 | [Activity (Label = "cocos2d Tests", 31 | MainLauncher = true, 32 | Icon = "@drawable/ic_launcher", 33 | Theme = "@style/Theme.NoTitleBar", 34 | ScreenOrientation=Android.Content.PM.ScreenOrientation.Landscape, 35 | LaunchMode=Android.Content.PM.LaunchMode.SingleInstance, 36 | ConfigurationChanges = Android.Content.PM.ConfigChanges.KeyboardHidden)] 37 | public class TestsActivity : AndroidGameActivity 38 | { 39 | protected override void OnCreate (Bundle bundle) 40 | { 41 | base.OnCreate (bundle); 42 | 43 | // Create our OpenGL view, and display it 44 | Game1.Activity = this; 45 | var g = new Game1 (); 46 | SetContentView (g.Window); 47 | g.Run (); 48 | } 49 | 50 | } 51 | 52 | #endif 53 | } 54 | 55 | -------------------------------------------------------------------------------- /tests/tests/Properties/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/tests/Properties/AppManifest.xml: -------------------------------------------------------------------------------- 1 |  4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/tests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("tests")] 9 | [assembly: AssemblyProduct("tests")] 10 | [assembly: AssemblyDescription("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyCopyright("Copyright © 2011")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // Setting ComVisible to false makes the types in this assembly not visible 17 | // to COM components. If you need to access a type in this assembly from 18 | // COM, set the ComVisible attribute to true on that type. Only Windows 19 | // assemblies support COM. 20 | [assembly: ComVisible(false)] 21 | 22 | // On Windows, the following GUID is for the ID of the typelib if this 23 | // project is exposed to COM. On other platforms, it unique identifies the 24 | // title storage container when deploying this assembly to the device. 25 | [assembly: Guid("4ef34363-1190-4444-9f4b-7a262b397ee8")] 26 | 27 | // Version information for an assembly consists of the following four values: 28 | // 29 | // Major Version 30 | // Minor Version 31 | // Build Number 32 | // Revision 33 | // 34 | [assembly: AssemblyVersion("1.0.0.0")] 35 | -------------------------------------------------------------------------------- /tests/tests/Resources/drawable/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/tests/Resources/drawable/ic_launcher.png -------------------------------------------------------------------------------- /tests/tests/Resources/drawable/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/tests/Resources/drawable/splash.png -------------------------------------------------------------------------------- /tests/tests/Resources/values/Styles.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /tests/tests/Resources/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | cocos2d Tests 4 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/ActionManagerTest/ActionManagerTestScene.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class ActionManagerTestScene : TestScene 10 | { 11 | public override void runThisTest() 12 | { 13 | CCLayer pLayer = ActionManagerTest.nextActionManagerAction(); 14 | addChild(pLayer); 15 | 16 | CCDirector.sharedDirector().replaceScene(this); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/ActionManagerTest/LogicTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class LogicTest : ActionManagerTest 10 | { 11 | string s_pPathGrossini = "Images/grossini"; 12 | 13 | public override string title() 14 | { 15 | return "Logic test"; 16 | } 17 | 18 | public override void onEnter() 19 | { 20 | base.onEnter(); 21 | 22 | CCSprite grossini = CCSprite.spriteWithFile(s_pPathGrossini); 23 | addChild(grossini, 0, 2); 24 | grossini.position = (new CCPoint(200, 200)); 25 | 26 | grossini.runAction(CCSequence.actions( 27 | CCMoveBy.actionWithDuration(1, new CCPoint(150, 0)), 28 | CCCallFuncN.actionWithTarget(this, bugMe)) 29 | ); 30 | } 31 | 32 | public void bugMe(CCNode node) 33 | { 34 | node.stopAllActions(); //After this stop next action not working, if remove this stop everything is working 35 | node.runAction(CCScaleTo.actionWithDuration(2, 2)); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/BugsTest/Bug350Layer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class Bug350Layer : BugsTestBaseLayer 10 | { 11 | public virtual bool init() 12 | { 13 | if (base.init()) 14 | { 15 | CCSize size = CCDirector.sharedDirector().getWinSize(); 16 | CCSprite background = CCSprite.spriteWithFile("Hello"); 17 | background.position = new CCPoint(size.width / 2, size.height / 2); 18 | addChild(background); 19 | return true; 20 | } 21 | 22 | return false; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/BugsTest/Bug886Layer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class Bug886Layer : BugsTestBaseLayer 10 | { 11 | public override bool init() 12 | { 13 | if (base.init()) 14 | { 15 | // ask director the the window size 16 | // CGSize size = [[CCDirector sharedDirector] winSize]; 17 | 18 | CCSprite sprite = CCSprite.spriteWithFile("Images/bugs/bug886"); 19 | sprite.anchorPoint = new CCPoint(0, 0); 20 | sprite.position = new CCPoint(0, 0); 21 | sprite.scaleX = 0.6f; 22 | addChild(sprite); 23 | 24 | CCSprite sprite2 = CCSprite.spriteWithFile("Images/bugs/bug886"); 25 | sprite2.anchorPoint = new CCPoint(0, 0); 26 | sprite2.scaleX = 0.6f; 27 | sprite2.position = new CCPoint(sprite.contentSize.width * 0.6f + 10, 0); 28 | addChild(sprite2); 29 | 30 | return true; 31 | } 32 | 33 | return false; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/BugsTest/Bug899Layer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class Bug899Layer : BugsTestBaseLayer 10 | { 11 | public override bool init() 12 | { 13 | CCDirector.sharedDirector().enableRetinaDisplay(true); 14 | if (base.init()) 15 | { 16 | CCSprite bg = CCSprite.spriteWithFile("Images/bugs/RetinaDisplay"); 17 | addChild(bg, 0); 18 | bg.anchorPoint = new CCPoint(0, 0); 19 | 20 | return true; 21 | } 22 | return false; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/BugsTest/BugsTestBaseLayer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class BugsTestBaseLayer : CCLayer 10 | { 11 | public override void onEnter() 12 | { 13 | base.onEnter(); 14 | 15 | CCSize s = CCDirector.sharedDirector().getWinSize(); 16 | 17 | CCMenuItemFont.FontName = "Arial"; 18 | CCMenuItemFont.FontSize = 24; 19 | CCMenuItemFont pMainItem = CCMenuItemFont.itemFromString("Back", this, 20 | backCallback); 21 | pMainItem.position = new CCPoint(s.width - 50, 25); 22 | CCMenu pMenu = CCMenu.menuWithItem(pMainItem); 23 | pMenu.position = new CCPoint(0, 0); 24 | addChild(pMenu); 25 | } 26 | 27 | public void backCallback(CCObject pSender) 28 | { 29 | CCDirector.sharedDirector().enableRetinaDisplay(false); 30 | BugsTestScene pScene = new BugsTestScene(); 31 | pScene.runThisTest(); 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/BugsTest/BugsTestScene.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class BugsTestScene : TestScene 10 | { 11 | public override void runThisTest() 12 | { 13 | CCLayer pLayer = new BugsTestMainLayer(); 14 | addChild(pLayer); 15 | 16 | CCDirector.sharedDirector().replaceScene(this); 17 | } 18 | public static string[] testsName = new string[] 19 | { "Bug-350", 20 | "Bug-422", 21 | "Bug-458", 22 | "Bug-624", 23 | "Bug-886", 24 | "Bug-899", 25 | "Bug-914", 26 | "Bug-1159", 27 | "Bug-1174", 28 | "CCDefaultCodeBug", 29 | "Touches Crash" 30 | }; 31 | 32 | public static int MAX_COUNT = testsName.Length; 33 | public static int LINE_SPACE = 40; 34 | public static int kItemTagBasic = 5432; 35 | public static CCPoint s_tCurPos = new CCPoint(0, 0); 36 | 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/CocosNodeTest/CocosNodeTestStaticLibrary.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace tests 7 | { 8 | public static class CocosNodeTestStaticLibrary 9 | { 10 | public static int kTagSprite1 = 1; 11 | public static int kTagSprite2 = 2; 12 | public static int kTagSprite3 = 3; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/CocosNodeTest/SchedulerTest1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SchedulerTest1 : TestCocosNodeDemo 10 | { 11 | public SchedulerTest1() 12 | { 13 | CCLayer layer = CCLayer.node(); 14 | //UXLOG("retain count after init is %d", layer->retainCount()); // 1 15 | 16 | addChild(layer, 0); 17 | //UXLOG("retain count after addChild is %d", layer->retainCount()); // 2 18 | 19 | layer.schedule((doSomething)); 20 | //UXLOG("retain count after schedule is %d", layer->retainCount()); // 3 : (object-c viersion), but win32 version is still 2, because CCTimer class don't save target. 21 | 22 | layer.unschedule((doSomething)); 23 | //UXLOG("retain count after unschedule is %d", layer->retainCount()); // STILL 3! (win32 is '2') 24 | 25 | } 26 | 27 | public void doSomething(float dt) 28 | { 29 | 30 | } 31 | 32 | public override string title() 33 | { 34 | return "cocosnode scheduler test #1"; 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/CocosNodeTest/Test4.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class Test4 : TestCocosNodeDemo 10 | { 11 | public Test4() 12 | { 13 | CCSprite sp1 = CCSprite.spriteWithFile(TestResource.s_pPathSister1); 14 | CCSprite sp2 = CCSprite.spriteWithFile(TestResource.s_pPathSister2); 15 | 16 | sp1.position = (new CCPoint(100, 160)); 17 | sp2.position = (new CCPoint(380, 160)); 18 | 19 | addChild(sp1, 0, 2); 20 | addChild(sp2, 0, 3); 21 | 22 | schedule(new SEL_SCHEDULE(this.delay2), 2.0f); 23 | schedule(new SEL_SCHEDULE(this.delay4), 4.0f); 24 | } 25 | 26 | public void delay2(float dt) 27 | { 28 | CCSprite node = (CCSprite)(getChildByTag(2)); 29 | CCAction action1 = CCRotateBy.actionWithDuration(1, 360); 30 | node.runAction(action1); 31 | } 32 | 33 | public void delay4(float dt) 34 | { 35 | unschedule(new SEL_SCHEDULE(this.delay4)); 36 | removeChildByTag(3, false); 37 | } 38 | 39 | public override string title() 40 | { 41 | return "tags"; 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/DrawPrimitivesTest/DrawPrimitivesTestScene.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class DrawPrimitivesTestScene : TestScene 10 | { 11 | public override void runThisTest() 12 | { 13 | CCLayer pLayer = new DrawPrimitivesTest(); 14 | addChild(pLayer); 15 | CCDirector.sharedDirector().replaceScene(this); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EaseActionTest/EaseActionsTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/tests/classes/tests/EaseActionTest/EaseActionsTest.cs -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsAdvancedTest/Effect3.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class Effect3 : EffectAdvanceTextLayer 10 | { 11 | public override void onEnter() 12 | { 13 | base.onEnter(); 14 | 15 | CCNode bg = getChildByTag(EffectAdvanceScene.kTagBackground); 16 | CCNode target1 = bg.getChildByTag(EffectAdvanceScene.kTagSprite1); 17 | CCNode target2 = bg.getChildByTag(EffectAdvanceScene.kTagSprite2); 18 | 19 | CCActionInterval waves = CCWaves.actionWithWaves(5, 20, true, false, new ccGridSize(15, 10), 5); 20 | CCActionInterval shaky = CCShaky3D.actionWithRange(4, false, new ccGridSize(15, 10), 5); 21 | 22 | target1.runAction(CCRepeatForever.actionWithAction(waves)); 23 | target2.runAction(CCRepeatForever.actionWithAction(shaky)); 24 | 25 | //// moving background. Testing issue #244 26 | //CCActionInterval move = CCMoveBy.actionWithDuration(3, new CCPoint(200, 0)); 27 | //bg.runAction(CCRepeatForever.actionWithAction((CCActionInterval)(CCSequence.actions(move)))); 28 | } 29 | 30 | public override string title() 31 | { 32 | return "Effects on 2 sprites"; 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsAdvancedTest/Effect4.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class Effect4 : EffectAdvanceTextLayer 10 | { 11 | public override void onEnter() 12 | { 13 | base.onEnter(); 14 | 15 | CCActionInterval lens = CCLens3D.actionWithPosition(new CCPoint(100, 180), 150, new ccGridSize(32, 24), 10); 16 | //id move = [MoveBy::actionWithDuration:5 position:ccp(400,0)]; 17 | 18 | /** 19 | @todo we only support CCNode run actions now. 20 | */ 21 | // CCActionInterval* move = CCJumpBy::actionWithDuration(5, ccp(380,0), 100, 4); 22 | // CCActionInterval* move_back = move->reverse(); 23 | // CCActionInterval* seq = (CCActionInterval *)(CCSequence::actions( move, move_back, NULL)); 24 | // CCActionManager::sharedManager()->addAction(seq, lens, false); 25 | 26 | runAction(lens); 27 | } 28 | 29 | public override string title() 30 | { 31 | return "Jumpy Lens3D"; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/FadeOutBLTilesDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class FadeOutBLTilesDemo : CCFadeOutBLTiles 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | CCFadeOutBLTiles fadeout = CCFadeOutBLTiles.actionWithSize(new ccGridSize(16, 12), t); 14 | CCFiniteTimeAction back = fadeout.reverse(); 15 | CCDelayTime delay = CCDelayTime.actionWithDuration(0.5f); 16 | 17 | return (CCActionInterval)(CCSequence.actions(fadeout, delay, back)); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/FadeOutDownTilesDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class FadeOutDownTilesDemo : CCFadeOutDownTiles 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | CCFadeOutDownTiles fadeout = CCFadeOutDownTiles.actionWithSize(new ccGridSize(16, 12), t); 14 | CCFiniteTimeAction back = fadeout.reverse(); 15 | CCDelayTime delay = CCDelayTime.actionWithDuration(0.5f); 16 | 17 | return (CCActionInterval)(CCSequence.actions(fadeout, delay, back)); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/FadeOutTRTilesDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class FadeOutTRTilesDemo : CCFadeOutTRTiles 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | CCFadeOutTRTiles fadeout = CCFadeOutTRTiles.actionWithSize(new ccGridSize(16, 12), t); 14 | CCFiniteTimeAction back = fadeout.reverse(); 15 | CCDelayTime delay = CCDelayTime.actionWithDuration(0.5f); 16 | 17 | return (CCActionInterval)(CCSequence.actions(fadeout, delay, back)); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/FadeOutUpTilesDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class FadeOutUpTilesDemo : CCFadeOutUpTiles 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | CCFadeOutUpTiles fadeout = CCFadeOutUpTiles.actionWithSize(new ccGridSize(16, 12), t); 14 | CCFiniteTimeAction back = fadeout.reverse(); 15 | CCDelayTime delay = CCDelayTime.actionWithDuration(0.5f); 16 | 17 | return (CCActionInterval)(CCSequence.actions(fadeout, delay, back)); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/FlipX3DDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class FlipX3DDemo : CCFlipX3D 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | CCFlipX3D flipx = CCFlipX3D.actionWithDuration(t); 14 | CCFiniteTimeAction flipx_back = flipx.reverse(); 15 | CCDelayTime delay = CCDelayTime.actionWithDuration(2); 16 | 17 | return (CCActionInterval)(CCSequence.actions(flipx, delay, flipx_back)); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/FlipY3DDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class FlipY3DDemo : CCFlipY3D 10 | { 11 | public static CCActionInterval actionWithDuration(float t) 12 | { 13 | CCFlipX3D flipx = CCFlipX3D.actionWithDuration(t); 14 | CCFiniteTimeAction flipx_back = flipx.reverse(); 15 | CCDelayTime delay = CCDelayTime.actionWithDuration(2); 16 | 17 | return (CCActionInterval)(CCSequence.actions(flipx, delay, flipx_back)); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/JumpTiles3DDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class JumpTiles3DDemo : CCJumpTiles3D 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | CCSize size = CCDirector.sharedDirector().getWinSize(); 14 | return CCJumpTiles3D.actionWithJumps(2, 30, new ccGridSize(15, 10), t); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/Lens3DDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class Lens3DDemo : CCLens3D 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | CCSize size = CCDirector.sharedDirector().getWinSize(); 14 | return CCLens3D.actionWithPosition(new CCPoint(size.width / 2, size.height / 2), 240, new ccGridSize(15, 10), t); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/LiquidDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class LiquidDemo : CCLiquid 10 | { 11 | public static CCActionInterval actionWithDuration(float t) 12 | { 13 | return CCLiquid.actionWithWaves(4, 20, new ccGridSize(16, 12), t); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/PageTurn3DDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class PageTurn3DDemo : CCPageTurn3D 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | CCDirector.sharedDirector().setDepthTest(true); 14 | return CCPageTurn3D.actionWithSize(new ccGridSize(15, 10), t); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/Ripple3DDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class Ripple3DDemo : CCRipple3D 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | CCSize size = CCDirector.sharedDirector().getWinSize(); 14 | return CCRipple3D.actionWithPosition(new CCPoint(size.width / 2, size.height / 2), 240, 4, 160, new ccGridSize(32, 24), t); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/Shaky3DDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class Shaky3DDemo : CCShaky3D 10 | { 11 | public static CCActionInterval actionWithDuration(float t) 12 | { 13 | return CCShaky3D.actionWithRange(5, true, new ccGridSize(15, 10), t); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/ShakyTiles3DDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class ShakyTiles3DDemo : CCShakyTiles3D 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | return CCShakyTiles3D.actionWithRange(5, true, new ccGridSize(16, 12), t); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/ShatteredTiles3DDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class ShatteredTiles3DDemo : CCShatteredTiles3D 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | return CCShatteredTiles3D.actionWithRange(5, true, new ccGridSize(16, 12), t); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/ShuffleTilesDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class ShuffleTilesDemo : CCShuffleTiles 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | CCShuffleTiles shuffle = CCShuffleTiles.actionWithSeed(25, new ccGridSize(16, 12), t); 14 | CCFiniteTimeAction shuffle_back = shuffle.reverse(); 15 | CCDelayTime delay = CCDelayTime.actionWithDuration(2); 16 | 17 | return (CCActionInterval)(CCSequence.actions(shuffle, delay, shuffle_back)); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/SplitColsDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SplitColsDemo : CCSplitCols 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | return CCSplitCols.actionWithCols(9, t); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/SplitRowsDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SplitRowsDemo : CCSplitRows 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | return CCSplitRows.actionWithRows(9, t); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/TurnOffTilesDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TurnOffTilesDemo : CCTurnOffTiles 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | CCTurnOffTiles fadeout = CCTurnOffTiles.actionWithSeed(25, new ccGridSize(48, 32), t); 14 | CCFiniteTimeAction back = fadeout.reverse(); 15 | CCDelayTime delay = CCDelayTime.actionWithDuration(0.5f); 16 | 17 | return (CCActionInterval)(CCSequence.actions(fadeout, delay, back)); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/TwirlDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TwirlDemo : CCTwirl 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | CCSize size = CCDirector.sharedDirector().getWinSize(); 14 | return CCTwirl.actionWithPosition(new CCPoint(size.width / 2, size.height / 2), 1, 2.5f, new ccGridSize(12, 8), t); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/Waves3DDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class Waves3DDemo : CCWaves3D 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | return CCWaves3D.actionWithWaves(5, 40, new ccGridSize(15, 10), t); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/WavesDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class WavesDemo : CCWaves 10 | { 11 | public static CCActionInterval actionWithDuration(float t) 12 | { 13 | return CCWaves.actionWithWaves(4, 20, true, true, new ccGridSize(16, 12), t); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/EffectsTest/WavesTiles3DDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class WavesTiles3DDemo : CCWavesTiles3D 10 | { 11 | public new static CCActionInterval actionWithDuration(float t) 12 | { 13 | return CCWavesTiles3D.actionWithWaves(4, 120, new ccGridSize(15, 10), t); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/HiResTest/HiResTest1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class HiResTest1 : HiResDemo 10 | { 11 | public override void onEnter() 12 | { 13 | base.onEnter(); 14 | 15 | CCSize size = CCDirector.sharedDirector().getWinSize(); 16 | 17 | CCSprite sprite = CCSprite.spriteWithFile("Images/grossini"); 18 | addChild(sprite); 19 | sprite.position = (new CCPoint(size.width / 2, size.height / 2)); 20 | } 21 | 22 | public override string title() 23 | { 24 | return "High resolution image test"; 25 | } 26 | 27 | public override string subtitle() 28 | { 29 | return "Image without high resolution resource"; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/HiResTest/HiResTest2.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class HiResTest2 : HiResDemo 10 | { 11 | public override void onEnter() 12 | { 13 | base.onEnter(); 14 | CCSize size = CCDirector.sharedDirector().getWinSize(); 15 | CCSprite sprite = CCSprite.spriteWithFile("Images/bugs/picture"); 16 | addChild(sprite); 17 | sprite.position = (new CCPoint(size.width / 2, size.height / 2)); 18 | } 19 | 20 | public override string title() 21 | { 22 | return "High resolution image test"; 23 | } 24 | 25 | public override string subtitle() 26 | { 27 | return "Image with high resolution resource"; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/HiResTest/HiResTestScene.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class HiResTestScene : TestScene 10 | { 11 | public override void runThisTest() 12 | { 13 | sm_bRitinaDisplay = CCDirector.sharedDirector().isRetinaDisplay(); 14 | 15 | CCLayer pLayer = HiResDemo.nextHiResAction(); 16 | addChild(pLayer); 17 | 18 | CCDirector.sharedDirector().replaceScene(this); 19 | } 20 | 21 | public override void MainMenuCallback(CCObject pSender) 22 | { 23 | CCDirector.sharedDirector().enableRetinaDisplay(sm_bRitinaDisplay); 24 | base.MainMenuCallback(pSender); 25 | } 26 | 27 | public static bool sm_bRitinaDisplay; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/IntervalTest/IntervalTestScene.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class IntervalTestScene : TestScene 10 | { 11 | public override void runThisTest() 12 | { 13 | CCLayer pLayer = new IntervalLayer(); 14 | addChild(pLayer); 15 | 16 | CCDirector.sharedDirector().replaceScene(this); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/LabelTest/Atlas5.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class Atlas5 : AtlasDemo 10 | { 11 | public Atlas5() 12 | { 13 | CCLabelBMFont label = CCLabelBMFont.labelWithString("abcdefg", "fonts/fnt/bitmapFontTest4"); 14 | addChild(label); 15 | 16 | CCSize s = CCDirector.sharedDirector().getWinSize(); 17 | 18 | label.position = new CCPoint(s.width / 2, s.height / 2); 19 | label.anchorPoint = new CCPoint(0.5f, 0.5f); 20 | } 21 | public override string title() 22 | { 23 | return "CCLabelBMFont"; 24 | } 25 | 26 | public override string subtitle() 27 | { 28 | return "Testing padding"; 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/LabelTest/Atlas6.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | namespace tests 7 | { 8 | public class Atlas6 : AtlasDemo 9 | { 10 | public Atlas6() 11 | { 12 | CCSize s = CCDirector.sharedDirector().getWinSize(); 13 | 14 | CCLabelBMFont label = null; 15 | label = CCLabelBMFont.labelWithString("FaFeFiFoFu", "fonts/fnt/bitmapFontTest5"); 16 | addChild(label); 17 | label.position = new CCPoint(s.width / 2, s.height / 2 + 50); 18 | label.anchorPoint = new CCPoint(0.5f, 0.5f); 19 | 20 | label = CCLabelBMFont.labelWithString("fafefifofu", "fonts/fnt/bitmapFontTest5"); 21 | addChild(label); 22 | label.position = new CCPoint(s.width / 2, s.height / 2); 23 | label.anchorPoint = new CCPoint(0.5f, 0.5f); 24 | 25 | label = CCLabelBMFont.labelWithString("aeiou", "fonts/fnt/bitmapFontTest5"); 26 | addChild(label); 27 | label.position = new CCPoint(s.width / 2, s.height / 2 - 50); 28 | label.anchorPoint = new CCPoint(0.5f, 0.5f); 29 | } 30 | 31 | public override string title() 32 | { 33 | return "CCLabelBMFont"; 34 | } 35 | 36 | public override string subtitle() 37 | { 38 | return "Rendering should be OK. Testing offset"; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/LabelTest/AtlasFastBitmap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class AtlasFastBitmap : AtlasDemo 10 | { 11 | public AtlasFastBitmap() 12 | { 13 | // Upper Label 14 | for (int i = 0; i < 100; i++) 15 | { 16 | //char str[6] = {0}; 17 | string str; 18 | //sprintf(str, "-%d-", i); 19 | str = string.Format("-{0}-", i); 20 | CCLabelBMFont label = CCLabelBMFont.labelWithString(str, "fonts/fnt/bitmapFontTest"); 21 | addChild(label); 22 | 23 | CCSize s = CCDirector.sharedDirector().getWinSize(); 24 | 25 | CCPoint p = new CCPoint(ccMacros.CCRANDOM_0_1() * s.width, ccMacros.CCRANDOM_0_1() * s.height); 26 | label.position = p; 27 | label.anchorPoint = new CCPoint(0.5f, 0.5f); 28 | } 29 | } 30 | 31 | public override string title() 32 | { 33 | return "CCLabelBMFont"; 34 | } 35 | 36 | public override string subtitle() 37 | { 38 | return "Creating several CCLabelBMFont with the same .fnt file should be fast"; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/LabelTest/LabelAtlasHD.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class LabelAtlasHD : AtlasDemo 10 | { 11 | public LabelAtlasHD() 12 | { 13 | CCSize s = CCDirector.sharedDirector().getWinSize(); 14 | 15 | // CCLabelBMFont 16 | CCLabelAtlas label1 = CCLabelAtlas.labelWithString("TESTING RETINA DISPLAY", "fonts/fnt/images/larabie-16", 10, 20, 'A'); 17 | label1.anchorPoint = new CCPoint(0.5f, 0.5f); 18 | 19 | addChild(label1); 20 | label1.position = new CCPoint(s.width / 2, s.height / 2); 21 | } 22 | 23 | public override string title() 24 | { 25 | return "LabelAtlas with Retina Display"; 26 | } 27 | 28 | public override string subtitle() 29 | { 30 | return "loading larabie-16 / larabie-16-hd"; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/LabelTest/LabelBMFontHD.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class LabelBMFontHD : AtlasDemo 10 | { 11 | public LabelBMFontHD() 12 | { 13 | CCSize s = CCDirector.sharedDirector().getWinSize(); 14 | 15 | // CCLabelBMFont 16 | CCLabelBMFont label1 = CCLabelBMFont.labelWithString("TESTING RETINA DISPLAY", "fonts/fnt/konqa32"); 17 | addChild(label1); 18 | label1.position = new CCPoint(s.width / 2, s.height / 2); 19 | } 20 | 21 | public override string title() 22 | { 23 | return "Testing Retina Display BMFont"; 24 | } 25 | 26 | public override string subtitle() 27 | { 28 | return "loading arista16 or arista16-hd"; 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/LabelTest/LabelGlyphDesigner.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class LabelGlyphDesigner : AtlasDemo 10 | { 11 | public LabelGlyphDesigner() 12 | { 13 | CCSize s = CCDirector.sharedDirector().getWinSize(); 14 | 15 | CCLayerColor layer = CCLayerColor.layerWithColor(new ccColor4B(128, 128, 128, 255)); 16 | addChild(layer, -10); 17 | 18 | // CCLabelBMFont 19 | CCLabelBMFont label1 = CCLabelBMFont.labelWithString("Testing Glyph Designer", "fonts/fnt/futura-48"); 20 | addChild(label1); 21 | label1.position = new CCPoint(s.width / 2, s.height / 2); 22 | } 23 | 24 | public override string title() 25 | { 26 | return "Testing Glyph Designer"; 27 | } 28 | 29 | public override string subtitle() 30 | { 31 | return "You should see a font with shawdows and outline"; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/LabelTest/LabelTTFChinese.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class LabelTTFChinese : AtlasDemo 10 | { 11 | public LabelTTFChinese() 12 | { 13 | CCSize size = CCDirector.sharedDirector().getWinSize(); 14 | CCLabelTTF pLable = CCLabelTTF.labelWithString("Chinaese", "Arial", 30); 15 | pLable.position = new CCPoint(size.width / 2, size.height / 2); 16 | addChild(pLable); 17 | } 18 | 19 | public override string title() 20 | { 21 | return "Testing CCLabelTTF with Chinese character"; 22 | } 23 | 24 | public override string subtitle() 25 | { 26 | return "You should see Chinese font"; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/LabelTest/LabelTTFMultiline.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class LabelTTFMultiline : AtlasDemo 10 | { 11 | public LabelTTFMultiline() 12 | { 13 | CCSize s = CCDirector.sharedDirector().getWinSize(); 14 | 15 | // CCLabelBMFont 16 | CCLabelTTF center = CCLabelTTF.labelWithString("word wrap \"testing\" (bla0) bla1 'bla2' [bla3] (bla4) {bla5} {bla6} [bla7] (bla8) [bla9] 'bla0' \"bla1\"", 17 | new CCSize(s.width / 2, 200), CCTextAlignment.CCTextAlignmentCenter, "Arial", 32); 18 | center.position = new CCPoint(s.width / 2, 150); 19 | 20 | addChild(center); 21 | } 22 | 23 | public override string title() 24 | { 25 | return "Testing CCLabelTTF Word Wrap"; 26 | } 27 | 28 | public override string subtitle() 29 | { 30 | return "Word wrap using CCLabelTTF"; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/LabelTest/LabelTTFTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class LabelTTFTest : AtlasDemo 10 | { 11 | public LabelTTFTest() 12 | { 13 | CCSize s = CCDirector.sharedDirector().getWinSize(); 14 | 15 | // CCLabelBMFont 16 | CCLabelTTF left = CCLabelTTF.labelWithString("align left", new CCSize(s.width, 50), CCTextAlignment.CCTextAlignmentLeft, "Arial", 32); 17 | CCLabelTTF center = CCLabelTTF.labelWithString("align center", new CCSize(s.width, 50), CCTextAlignment.CCTextAlignmentCenter, "Arial", 32); 18 | CCLabelTTF right = CCLabelTTF.labelWithString("align right", new CCSize(s.width, 50), CCTextAlignment.CCTextAlignmentRight, "Arial", 32); 19 | 20 | left.position = new CCPoint(s.width / 2, 200); 21 | center.position = new CCPoint(s.width / 2, 150); 22 | right.position = new CCPoint(s.width / 2, 100); 23 | 24 | addChild(left); 25 | addChild(center); 26 | addChild(right); 27 | } 28 | 29 | public override string title() 30 | { 31 | return "Testing CCLabelTTF"; 32 | } 33 | public override string subtitle() 34 | { 35 | return "You should see 3 labels aligned left, center and right"; 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/ParallaxTest/Parallax2.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace tests 7 | { 8 | class Parallax2 : ParallaxDemo 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/PerformanceTest/PerformanceNodeChildrenTest/IterateSpriteSheetCArray.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class IterateSpriteSheetCArray : IterateSpriteSheet 10 | { 11 | public override void update(float dt) 12 | { 13 | // iterate using fast enumeration protocol 14 | List pChildren = batchNode.children; 15 | 16 | //#if CC_ENABLE_PROFILERS 17 | // CCProfilingBeginTimingBlock(_profilingTimer); 18 | //#endif 19 | 20 | foreach (var pObject in pChildren) 21 | { 22 | CCSprite pSprite = (CCSprite)pObject; 23 | pSprite.visible = false; 24 | } 25 | 26 | //#if CC_ENABLE_PROFILERS 27 | // CCProfilingEndTimingBlock(_profilingTimer); 28 | //#endif 29 | } 30 | 31 | public override string title() 32 | { 33 | return "B - Iterate SpriteSheet"; 34 | } 35 | 36 | public override string subtitle() 37 | { 38 | return "Iterate children using C Array API. See console"; 39 | } 40 | 41 | public override string profilerName() 42 | { 43 | return "iter c-array"; 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/PerformanceTest/PerformanceNodeChildrenTest/IterateSpriteSheetFastEnum.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class IterateSpriteSheetFastEnum : IterateSpriteSheet 10 | { 11 | public override void update(float dt) 12 | { 13 | // iterate using fast enumeration protocol 14 | List pChildren = batchNode.children; 15 | 16 | //#if CC_ENABLE_PROFILERS 17 | // CCProfilingBeginTimingBlock(_profilingTimer); 18 | //#endif 19 | 20 | foreach (var pObject in pChildren) 21 | { 22 | CCSprite pSprite = (CCSprite)pObject; 23 | pSprite.visible = false; 24 | } 25 | 26 | //#if CC_ENABLE_PROFILERS 27 | // CCProfilingEndTimingBlock(_profilingTimer); 28 | //#endif 29 | } 30 | 31 | public override string title() 32 | { 33 | return "A - Iterate SpriteSheet"; 34 | } 35 | 36 | public override string subtitle() 37 | { 38 | return "Iterate children using Fast Enum API. See console"; 39 | } 40 | 41 | public override string profilerName() 42 | { 43 | return "iter fast enum"; 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/PerformanceTest/PerformanceNodeChildrenTest/PerformanceNodeChildrenTest..cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class PerformanceNodeChildrenTest 10 | { 11 | 12 | public static int kTagInfoLayer = 1; 13 | public static int kTagMainLayer = 2; 14 | public static int kTagLabelAtlas = 3; 15 | 16 | public static int kTagBase = 20000; 17 | public static int TEST_COUNT = 4; 18 | 19 | public static int kMaxNodes = 15000; 20 | public static int kNodesIncrease = 500; 21 | 22 | public static int s_nCurCase = 0; 23 | 24 | public static void runNodeChildrenTest() 25 | { 26 | IterateSpriteSheet pScene = new IterateSpriteSheetCArray(); 27 | pScene.initWithQuantityOfNodes(kNodesIncrease); 28 | 29 | CCDirector.sharedDirector().replaceScene(pScene); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/PerformanceTest/PerformanceParticleTest/PerformanceParticleTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class PerformanceParticleTest 10 | { 11 | public static int kTagInfoLayer = 1; 12 | 13 | public static int kTagMainLayer = 2; 14 | public static int kTagParticleSystem = 3; 15 | public static int kTagLabelAtlas = 4; 16 | public static int kTagMenuLayer = 1000; 17 | 18 | public static int TEST_COUNT = 4; 19 | 20 | public static int kMaxParticles = 14000; 21 | public static int kNodesIncrease = 100; 22 | 23 | public static int s_nParCurIdx = 0; 24 | 25 | public static void runParticleTest() 26 | { 27 | ParticleMainScene pScene = new ParticlePerformTest1(); 28 | pScene.initWithSubTest(1, kNodesIncrease); 29 | 30 | CCDirector.sharedDirector().replaceScene(pScene); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/PerformanceTest/PerformanceSpriteTest/PerformanceSpriteTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class PerformanceSpriteTest 10 | { 11 | public static int kMaxNodes = 5000; 12 | public static int kNodesIncrease = 50; 13 | public static int TEST_COUNT = 7; 14 | 15 | public static int kTagInfoLayer = 1; 16 | public static int kTagMainLayer = 2; 17 | public static int kTagMenuLayer = (kMaxNodes + 1000); 18 | 19 | public static int s_nSpriteCurCase = 0; 20 | 21 | public static void runSpriteTest() 22 | { 23 | SpriteMainScene pScene = new SpritePerformTest1(); 24 | pScene.initWithSubTest(1, 50); 25 | CCDirector.sharedDirector().replaceScene(pScene); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/PerformanceTest/PerformanceSpriteTest/SpritePerformTest1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SpritePerformTest1 : SpriteMainScene 10 | { 11 | 12 | public override void doTest(CCSprite sprite) 13 | { 14 | performancePosition(sprite); 15 | } 16 | public override string title() 17 | { 18 | //char str[32] = {0}; 19 | string str; 20 | //sprintf(str, "A (%d) position", subtestNumber); 21 | str = string.Format("A {0:D} position", subtestNumber); 22 | string strRet = str; 23 | return strRet; 24 | } 25 | 26 | private void performancePosition(CCSprite pSprite) 27 | { 28 | Random random = new Random(); 29 | CCSize size = CCDirector.sharedDirector().getWinSize(); 30 | pSprite.position = new CCPoint((random.Next() % (int)size.width), (random.Next() % (int)size.height)); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/PerformanceTest/PerformanceSpriteTest/SpritePerformTest2.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SpritePerformTest2 : SpriteMainScene 10 | { 11 | 12 | public override void doTest(CCSprite sprite) 13 | { 14 | performanceScale(sprite); 15 | } 16 | public override string title() 17 | { 18 | //char str[32] = {0}; 19 | string str; 20 | //sprintf(str, "B (%d) scale", subtestNumber); 21 | str = string.Format("B {0:D} scale", subtestNumber); 22 | string strRet = str; 23 | return strRet; 24 | } 25 | 26 | private void performanceScale(CCSprite pSprite) 27 | { 28 | Random random = new Random(); 29 | CCSize size = CCDirector.sharedDirector().getWinSize(); 30 | pSprite.position = new CCPoint((random.Next() % (int)size.width), (random.Next() % (int)size.height)); 31 | pSprite.scale = random.Next() * 100 / 50; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/PerformanceTest/PerformanceSpriteTest/SpritePerformTest3.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SpritePerformTest3 : SpriteMainScene 10 | { 11 | public override void doTest(CCSprite sprite) 12 | { 13 | performanceRotationScale(sprite); 14 | } 15 | 16 | public override string title() 17 | { 18 | //char str[32] = {0}; 19 | string str; 20 | //sprintf(str, "C (%d) scale + rot", subtestNumber); 21 | str = string.Format("C {0:D} scale + rot", subtestNumber); 22 | string strRet = str; 23 | return strRet; 24 | } 25 | 26 | private void performanceRotationScale(CCSprite pSprite) 27 | { 28 | Random random = new Random(); 29 | CCSize size = CCDirector.sharedDirector().getWinSize(); 30 | pSprite.position = new CCPoint((random.Next() % (int)size.width), (random.Next() % (int)size.height)); 31 | pSprite.rotation = random.Next() * 360; 32 | pSprite.scale = random.Next() * 2; 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/PerformanceTest/PerformanceSpriteTest/SpritePerformTest4.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SpritePerformTest4 : SpriteMainScene 10 | { 11 | 12 | public override void doTest(CCSprite sprite) 13 | { 14 | performanceOut100(sprite); 15 | } 16 | 17 | public override string title() 18 | { 19 | //char str[32] = {0}; 20 | string str; 21 | //sprintf(str, "D (%d) 100%% out", subtestNumber); 22 | str = string.Format("D {0:D} 100%% out", subtestNumber); 23 | string strRet = str; 24 | return strRet; 25 | } 26 | 27 | private void performanceOut100(CCSprite pSprite) 28 | { 29 | pSprite.position = new CCPoint(-1000, -1000); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/PerformanceTest/PerformanceSpriteTest/SpritePerformTest5.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SpritePerformTest5 : SpriteMainScene 10 | { 11 | public override void doTest(CCSprite sprite) 12 | { 13 | performanceout20(sprite); 14 | } 15 | 16 | public override string title() 17 | { 18 | //char str[32] = {0}; 19 | string str; 20 | //sprintf(str, "E (%d) 80%% out", subtestNumber); 21 | str = string.Format("E {0:D} 80%% out", subtestNumber); 22 | string strRet = str; 23 | return strRet; 24 | } 25 | 26 | private void performanceout20(CCSprite pSprite) 27 | { 28 | Random random = new Random(); 29 | CCSize size = CCDirector.sharedDirector().getWinSize(); 30 | 31 | if (random.Next() < 0.2f) 32 | pSprite.position = new CCPoint((random.Next() % (int)size.width), (random.Next() % (int)size.height)); 33 | else 34 | pSprite.position = new CCPoint(-1000, -1000); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/PerformanceTest/PerformanceTestScene.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class PerformanceTestScene : TestScene 10 | { 11 | public override void runThisTest() 12 | { 13 | CCLayer pLayer = new PerformanceMainLayer(); 14 | addChild(pLayer); 15 | 16 | CCDirector.sharedDirector().replaceScene(this); 17 | } 18 | 19 | public static int MAX_COUNT = 5; 20 | public static int LINE_SPACE = 40; 21 | public static int kItemTagBasic = 1000; 22 | public static string[] testsName = new string[5] { 23 | "PerformanceNodeChildrenTest", 24 | "PerformanceParticleTest", 25 | "PerformanceSpriteTest", 26 | "PerformanceTextureTest", 27 | "PerformanceTouchesTest"}; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/PerformanceTest/PerformanceTextureTest/PerformanceTextureTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class PerformanceTextureTest 10 | { 11 | public static int TEST_COUNT = 1; 12 | public static int s_nTexCurCase = 0; 13 | 14 | // public float calculateDeltaTime( struct timeval *lastUpdate ) 15 | //{ 16 | // struct timeval now; 17 | 18 | // gettimeofday( &now, NULL); 19 | 20 | // float dt = (now.tv_sec - lastUpdate->tv_sec) + (now.tv_usec - lastUpdate->tv_usec) / 1000000.0f; 21 | 22 | // return dt; 23 | //} 24 | 25 | public static void runTextureTest() 26 | { 27 | s_nTexCurCase = 0; 28 | CCScene pScene = TextureTest.scene(); 29 | CCDirector.sharedDirector().replaceScene(pScene); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/PerformanceTest/PerformanceTouchesTest/PerformanceTouchesTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class PerformanceTouchesTest 10 | { 11 | 12 | public static int TEST_COUNT = 2; 13 | public static int s_nTouchCurCase = 0; 14 | 15 | public static void runTouchesTest() 16 | { 17 | s_nTouchCurCase = 0; 18 | CCScene pScene = CCScene.node(); 19 | CCLayer pLayer = new TouchesPerformTest1(true, TEST_COUNT, s_nTouchCurCase); 20 | 21 | pScene.addChild(pLayer); 22 | 23 | CCDirector.sharedDirector().replaceScene(pScene); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/RotateWorldTest/RotateWorldTestScene.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class RotateWorldTestScene : TestScene 10 | { 11 | public override void runThisTest() 12 | { 13 | CCLayer pLayer = RotateWorldMainLayer.node(); 14 | addChild(pLayer); 15 | runAction(CCRotateBy.actionWithDuration(4, -360)); 16 | CCDirector.sharedDirector().replaceScene(this); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/RotateWorldTest/TestLayer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TestLayer : CCLayer 10 | { 11 | public override void onEnter() 12 | { 13 | base.onEnter(); 14 | float x, y; 15 | CCSize size = CCDirector.sharedDirector().getWinSize(); 16 | x = size.width; 17 | y = size.height; 18 | //CCMutableArray *array = [UIFont familyNames]; 19 | //for( CCString *s in array ) 20 | // NSLog( s ); 21 | CCLabelTTF label = CCLabelTTF.labelWithString("cocos2d", "Arial", 64); 22 | label.position = new CCPoint(x / 2, y / 2); 23 | addChild(label); 24 | } 25 | 26 | public static new TestLayer node() 27 | { 28 | TestLayer pNode = new TestLayer(); 29 | return pNode; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/SceneTest/SceneTestScene.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SceneTestScene : TestScene 10 | { 11 | public override void runThisTest() 12 | { 13 | CCLayer pLayer = new SceneTestLayer1(); 14 | addChild(pLayer); 15 | 16 | CCDirector.sharedDirector().replaceScene(this); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/SchedulerTest/RescheduleSelector.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class RescheduleSelector : SchedulerTestLayer 10 | { 11 | public override void onEnter() 12 | { 13 | base.onEnter(); 14 | 15 | m_fInterval = 1.0f; 16 | m_nTicks = 0; 17 | schedule(schedUpdate, m_fInterval); 18 | } 19 | 20 | public override string title() 21 | { 22 | return "RescheduleSelector"; 23 | } 24 | 25 | public override string subtitle() 26 | { 27 | return "Interval is 1 second, then 2, then 3..."; 28 | } 29 | 30 | public void schedUpdate(float dt) 31 | { 32 | m_nTicks++; 33 | CCLog.Log("schedUpdate: {0:G2}", dt); 34 | if (m_nTicks > 3) 35 | { 36 | m_nTests++; 37 | if (m_nTests == 5) 38 | { 39 | CCLog.Log("Test completed"); 40 | } 41 | else 42 | { 43 | m_fInterval += 1.0f; 44 | schedule(schedUpdate, m_fInterval); 45 | m_nTicks = 0; 46 | } 47 | } 48 | } 49 | private float m_fInterval; 50 | private int m_nTicks; 51 | private int m_nTests; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/SchedulerTest/SchedulerAutoremove.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SchedulerAutoremove : SchedulerTestLayer 10 | { 11 | public override void onEnter() 12 | { 13 | base.onEnter(); 14 | 15 | schedule(autoremove, 0.5f); 16 | schedule(tick, 0.5f); 17 | accum = 0; 18 | } 19 | 20 | public override string title() 21 | { 22 | return "ScheduleAutoremove"; 23 | } 24 | 25 | public override string subtitle() 26 | { 27 | return "1 scheduler will be autoremoved in 3 seconds. See console"; 28 | } 29 | 30 | public void autoremove(float dt) 31 | { 32 | accum += dt; 33 | CCLog.Log("Time: {0:G2}", accum); 34 | 35 | if (accum > 3) 36 | { 37 | unschedule(autoremove); 38 | CCLog.Log("scheduler removed"); 39 | } 40 | } 41 | 42 | public void tick(float dt) 43 | { 44 | CCLog.Log("This scheduler should not be removed"); 45 | } 46 | 47 | private float accum; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/SchedulerTest/SchedulerPauseResume.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Diagnostics; 6 | using cocos2d; 7 | 8 | namespace tests 9 | { 10 | public class SchedulerPauseResume : SchedulerTestLayer 11 | { 12 | public override void onEnter() 13 | { 14 | base.onEnter(); 15 | 16 | schedule(tick1, 0.5f); 17 | schedule(tick2, 0.5f); 18 | schedule(pause, 0.5f); 19 | } 20 | 21 | public override string title() 22 | { 23 | return "SchedulerPauseResume"; 24 | } 25 | 26 | public virtual string subtitle() 27 | { 28 | return "Scheduler should be paused after 3 seconds. See console"; 29 | } 30 | 31 | public void tick1(float dt) 32 | { 33 | CCLog.Log("tick1"); 34 | } 35 | 36 | public void tick2(float dt) 37 | { 38 | CCLog.Log("tick2"); 39 | } 40 | 41 | public void pause(float dt) 42 | { 43 | CCLog.Log("Pausing target"); 44 | CCScheduler.sharedScheduler().pauseTarget(this); 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/SchedulerTest/SchedulerUnscheduleAll.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SchedulerUnscheduleAll : SchedulerTestLayer 10 | { 11 | public override void onEnter() 12 | { 13 | base.onEnter(); 14 | schedule(tick1, 0.5f); 15 | schedule(tick2, 1.0f); 16 | schedule(tick3, 1.5f); 17 | schedule(tick4, 1.5f); 18 | schedule(unscheduleAll, 4); 19 | } 20 | 21 | public override string title() 22 | { 23 | return "Unschedule All selectors"; 24 | } 25 | 26 | public override string subtitle() 27 | { 28 | return "All scheduled selectors will be unscheduled in 4 seconds. See console"; 29 | } 30 | 31 | public void tick1(float dt) 32 | { 33 | CCLog.Log("tick1"); 34 | } 35 | 36 | public void tick2(float dt) 37 | { 38 | CCLog.Log("tick2"); 39 | } 40 | 41 | public void tick3(float dt) 42 | { 43 | CCLog.Log("tick3"); 44 | } 45 | 46 | public void tick4(float dt) 47 | { 48 | CCLog.Log("tick4"); 49 | } 50 | 51 | public void unscheduleAll(float dt) 52 | { 53 | CCLog.Log("Unschedule all of my tasks"); 54 | unscheduleAllSelectors(); 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/SchedulerTest/SchedulerUpdateAndCustom.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SchedulerUpdateAndCustom : SchedulerTestLayer 10 | { 11 | public override void onEnter() 12 | { 13 | base.onEnter(); 14 | scheduleUpdate(); 15 | schedule(tick); 16 | schedule(stopSelectors, 0.4f); 17 | } 18 | 19 | public override string title() 20 | { 21 | return "Schedule Update + custom selector"; 22 | } 23 | 24 | public virtual string subtitle() 25 | { 26 | return "Update + custom selector at the same time. Stops in 4s. See console"; 27 | } 28 | 29 | public void update(float dt) 30 | { 31 | CCLog.Log("update called:{0}", dt); 32 | } 33 | 34 | public void tick(float dt) 35 | { 36 | CCLog.Log("custom selector called:{0}", dt); 37 | } 38 | 39 | public void stopSelectors(float dt) 40 | { 41 | base.unscheduleAllSelectors(); 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/SchedulerTest/SchedulerUpdateFromCustom.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SchedulerUpdateFromCustom : SchedulerTestLayer 10 | { 11 | public override void onEnter() 12 | { 13 | base.onEnter(); 14 | schedule(schedUpdate, 2.0f); 15 | } 16 | 17 | public virtual string title() 18 | { 19 | return "Schedule Update in 2 sec"; 20 | } 21 | 22 | public virtual string subtitle() 23 | { 24 | return "Update schedules in 2 secs. Stops 2 sec later. See console"; 25 | } 26 | 27 | public void update(float dt) 28 | { 29 | CCLog.Log("update called:{0:G2}", dt); 30 | } 31 | 32 | public void schedUpdate(float dt) 33 | { 34 | unschedule(schedUpdate); 35 | base.scheduleUpdate(); 36 | schedule(stopUpdate, 2.0f); 37 | } 38 | 39 | public void stopUpdate(float dt) 40 | { 41 | unscheduleUpdate(); 42 | unschedule(stopUpdate); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/SchedulerTest/TestNode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TestNode : CCNode 10 | { 11 | public void initWithString(string pStr, int priority) 12 | { 13 | m_pstring = pStr; 14 | scheduleUpdateWithPriority(priority); 15 | } 16 | 17 | private string m_pstring; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/SpriteTest/SpriteBatchNodeReorderIssue744.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class SpriteBatchNodeReorderIssue744 : SpriteTestDemo 10 | { 11 | public SpriteBatchNodeReorderIssue744() 12 | { 13 | CCSize s = CCDirector.sharedDirector().getWinSize(); 14 | 15 | // Testing issue #744 16 | // http://code.google.com/p/cocos2d-iphone/issues/detail?id=744 17 | CCSpriteBatchNode batch = CCSpriteBatchNode.batchNodeWithFile("Images/grossini_dance_atlas", 15); 18 | addChild(batch, 0, (int)kTags.kTagSpriteBatchNode); 19 | 20 | CCSprite sprite = CCSprite.spriteWithBatchNode(batch, new CCRect(0, 0, 85, 121)); 21 | sprite.position = (new CCPoint(s.width / 2, s.height / 2)); 22 | batch.addChild(sprite, 3); 23 | batch.reorderChild(sprite, 1); 24 | } 25 | 26 | public override string title() 27 | { 28 | return "SpriteBatchNode: reorder issue #744"; 29 | } 30 | 31 | public override string subtitle() 32 | { 33 | return "Should not crash"; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TMXBug787.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | class TMXBug787 : TileDemo 10 | { 11 | public TMXBug787() 12 | { 13 | CCTMXTiledMap map = CCTMXTiledMap.tiledMapWithTMXFile("TileMaps/iso-test-bug787"); 14 | addChild(map, 0, 1); 15 | 16 | map.scale = 0.25f; 17 | } 18 | public override string title() 19 | { 20 | return "TMX Bug 787"; 21 | } 22 | 23 | public override string subtitle() 24 | { 25 | return "You should see a map"; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TMXBug987.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | using System.Diagnostics; 7 | 8 | namespace tests 9 | { 10 | public class TMXBug987 : TileDemo 11 | { 12 | public TMXBug987() 13 | { 14 | CCTMXTiledMap map = CCTMXTiledMap.tiledMapWithTMXFile("TileMaps/orthogonal-test6"); 15 | addChild(map, 0, 1); 16 | 17 | CCSize s1 = map.contentSize; 18 | CCLog.Log("ContentSize: %f, %f", s1.width, s1.height); 19 | 20 | List childs = map.children; 21 | CCTMXLayer pNode; 22 | foreach (var item in childs) 23 | { 24 | pNode = (CCTMXLayer)item; 25 | if (pNode == null) 26 | { 27 | break; 28 | } 29 | //pNode.Texture.setAntiAliasTexParameters(); 30 | } 31 | 32 | map.anchorPoint = new CCPoint(0, 0); 33 | CCTMXLayer layer = map.layerNamed("Tile Layer 1"); 34 | //layer.setTileGID(3, new CCPoint(2, 2)); 35 | } 36 | 37 | public override string title() 38 | { 39 | return "TMX Bug 987"; 40 | } 41 | 42 | public override string subtitle() 43 | { 44 | return "You should see an square"; 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TMXHexTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TMXHexTest : TileDemo 10 | { 11 | public TMXHexTest() 12 | { 13 | CCLayerColor color = CCLayerColor.layerWithColor(new ccColor4B(64, 64, 64, 255)); 14 | addChild(color, -1); 15 | 16 | CCTMXTiledMap map = CCTMXTiledMap.tiledMapWithTMXFile("TileMaps/hexa-test1"); 17 | addChild(map, 0, 1); 18 | 19 | CCSize s = map.contentSize; 20 | ////----UXLOG("ContentSize: %f, %f", s.width,s.height); 21 | } 22 | public override string title() 23 | { 24 | return "TMX Hex tes"; 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TMXIsoMoveLayer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TMXIsoMoveLayer : TileDemo 10 | { 11 | public TMXIsoMoveLayer() 12 | { 13 | CCTMXTiledMap map = CCTMXTiledMap.tiledMapWithTMXFile("TileMaps/iso-test-movelayer"); 14 | addChild(map, 0, TileMapTestScene.kTagTileMap); 15 | 16 | map.position = new CCPoint(-700, -50); 17 | 18 | CCSize s = map.contentSize; 19 | } 20 | 21 | public override string title() 22 | { 23 | return "TMX Iso Move Layer"; 24 | } 25 | 26 | public override string subtitle() 27 | { 28 | return "Trees should be horizontally aligned"; 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TMXIsoTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | using Microsoft.Xna.Framework; 7 | 8 | namespace tests 9 | { 10 | public class TMXIsoTest : TileDemo 11 | { 12 | 13 | public TMXIsoTest() 14 | { 15 | CCLayerColor color = CCLayerColor.layerWithColor(new ccColor4B(new Color(64, 64, 64, 255))); 16 | addChild(color, -1); 17 | 18 | CCTMXTiledMap map = CCTMXTiledMap.tiledMapWithTMXFile("TileMaps/iso-test01"); 19 | addChild(map, 0, 1); 20 | 21 | // move map to the center of the screen 22 | CCSize ms = map.MapSize; 23 | CCSize ts = map.TileSize; 24 | map.runAction(CCMoveTo.actionWithDuration(1.0f, new CCPoint(-ms.width * ts.width / 2, -ms.height * ts.height / 2))); 25 | } 26 | public override string title() 27 | { 28 | return "TMX Isometric test 0"; 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TMXIsoTest1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TMXIsoTest1 : TileDemo 10 | { 11 | public TMXIsoTest1() 12 | { 13 | CCLayerColor color = CCLayerColor.layerWithColor(new ccColor4B(64, 64, 64, 255)); 14 | addChild(color, -1); 15 | 16 | CCTMXTiledMap map = CCTMXTiledMap.tiledMapWithTMXFile("TileMaps/iso-test11"); 17 | addChild(map, 0, 1); 18 | 19 | CCSize s = map.contentSize; 20 | ////----UXLOG("ContentSize: %f, %f", s.width,s.height); 21 | 22 | map.anchorPoint = new CCPoint(0.5f, 0.5f); 23 | } 24 | public override string title() 25 | { 26 | return "TMX Isometric test + anchorPoint"; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TMXIsoTest2.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TMXIsoTest2 : TileDemo 10 | { 11 | public TMXIsoTest2() 12 | { 13 | CCLayerColor color = CCLayerColor.layerWithColor(new ccColor4B(64, 64, 64, 255)); 14 | addChild(color, -1); 15 | 16 | CCTMXTiledMap map = CCTMXTiledMap.tiledMapWithTMXFile("TileMaps/iso-test22"); 17 | addChild(map, 0, 1); 18 | 19 | CCSize s = map.contentSize; 20 | ////----UXLOG("ContentSize: %f, %f", s.width,s.height); 21 | 22 | // move map to the center of the screen 23 | CCSize ms = map.MapSize; 24 | CCSize ts = map.TileSize; 25 | map.runAction(CCMoveTo.actionWithDuration(1.0f, new CCPoint(-ms.width * ts.width / 2, -ms.height * ts.height / 2))); 26 | } 27 | 28 | public override string title() 29 | { 30 | return "TMX Isometric test 2"; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TMXOrthoMoveLayer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TMXOrthoMoveLayer : TileDemo 10 | { 11 | public TMXOrthoMoveLayer() 12 | { 13 | CCTMXTiledMap map = CCTMXTiledMap.tiledMapWithTMXFile("TileMaps/orthogonal-test-movelayer"); 14 | addChild(map, 0, 1); 15 | 16 | CCSize s = map.contentSize; 17 | } 18 | 19 | public override string title() 20 | { 21 | return "TMX Ortho Move Layer"; 22 | } 23 | 24 | public override string subtitle() 25 | { 26 | return "Trees should be horizontally aligned"; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TMXOrthoTest2.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TMXOrthoTest2 : TileDemo 10 | { 11 | public TMXOrthoTest2() 12 | { 13 | CCTMXTiledMap map = CCTMXTiledMap.tiledMapWithTMXFile("TileMaps/orthogonal-test1"); 14 | addChild(map, 0, TileMapTestScene.kTagTileMap); 15 | 16 | CCSize s = map.contentSize; 17 | ////----UXLOG("ContentSize: %f, %f", s.width,s.height); 18 | 19 | List pChildrenArray = map.children; 20 | CCSpriteBatchNode child = null; 21 | CCObject pObject = null; 22 | 23 | if (pChildrenArray != null && pChildrenArray.Count > 0) 24 | { 25 | for (int i = 0; i < pChildrenArray.Count; i++) 26 | { 27 | pObject = pChildrenArray[i]; 28 | child = (CCSpriteBatchNode)pObject; 29 | 30 | if (child == null) 31 | break; 32 | 33 | //child.Texture.setAntiAliasTexParameters(); 34 | } 35 | } 36 | map.runAction(CCScaleBy.actionWithDuration(2, 0.5f)); 37 | } 38 | public override string title() 39 | { 40 | return "TMX Ortho test2"; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TMXOrthoTest3.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TMXOrthoTest3 : TileDemo 10 | { 11 | public TMXOrthoTest3() 12 | { 13 | CCTMXTiledMap map = CCTMXTiledMap.tiledMapWithTMXFile("TileMaps/orthogonal-test3"); 14 | addChild(map, 0, TileMapTestScene.kTagTileMap); 15 | 16 | CCSize s = map.contentSize; 17 | 18 | ////----UXLOG("ContentSize: %f, %f", s.width,s.height); 19 | foreach (var pObject in map.children) 20 | { 21 | CCSpriteBatchNode child = (CCSpriteBatchNode)pObject; 22 | 23 | if (child == null) 24 | break; 25 | 26 | child.Texture.setAntiAliasTexParameters(); 27 | } 28 | 29 | map.scale = 0.2f; 30 | map.anchorPoint = new CCPoint(0.5f, 0.5f); 31 | } 32 | 33 | public override string title() 34 | { 35 | return "TMX anchorPoint test"; 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TMXOrthoZorder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/tests/classes/tests/TileMapTest/TMXOrthoZorder.cs -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TMXResizeTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TMXResizeTest : TileDemo 10 | { 11 | public TMXResizeTest() 12 | { 13 | CCTMXTiledMap map = CCTMXTiledMap.tiledMapWithTMXFile("TileMaps/orthogonal-test5"); 14 | addChild(map, 0, TileMapTestScene.kTagTileMap); 15 | 16 | CCSize s = map.contentSize; 17 | ////----UXLOG("ContentSize: %f, %f", s.width,s.height); 18 | 19 | CCTMXLayer layer = map.layerNamed("Layer 0"); 20 | 21 | CCSize ls = layer.LayerSize; 22 | for (int y = 0; y < ls.height; y++) 23 | { 24 | for (int x = 0; x < ls.width; x++) 25 | { 26 | layer.setTileGID(1, new CCPoint(x, y)); 27 | } 28 | } 29 | } 30 | 31 | public override string title() 32 | { 33 | return "TMX resize test"; 34 | } 35 | 36 | public override string subtitle() 37 | { 38 | return "Should not crash. Testing issue #740"; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TMXTilesetTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TMXTilesetTest : TileDemo 10 | { 11 | public TMXTilesetTest() 12 | { 13 | CCTMXTiledMap map = CCTMXTiledMap.tiledMapWithTMXFile("TileMaps/orthogonal-test5"); 14 | addChild(map, 0, TileMapTestScene.kTagTileMap); 15 | 16 | CCSize s = map.contentSize; 17 | ////----UXLOG("ContentSize: %f, %f", s.width,s.height); 18 | 19 | CCTMXLayer layer = map.layerNamed("Layer 0"); 20 | layer.Texture.setAntiAliasTexParameters(); 21 | 22 | layer = map.layerNamed("Layer 1"); 23 | layer.Texture.setAntiAliasTexParameters(); 24 | 25 | layer = map.layerNamed("Layer 2"); 26 | layer.Texture.setAntiAliasTexParameters(); 27 | } 28 | 29 | public override string title() 30 | { 31 | return "TMX Tileset test"; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TileMapTest/TileMapEditTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class TileMapEditTest : TileDemo 10 | { 11 | string s_TilesPng = "TileMaps/tiles.png"; 12 | string s_LevelMapTga = "TileMaps/levelmap.tga"; 13 | public TileMapEditTest() 14 | { 15 | // CCTileMapAtlas map = CCTileMapAtlas.tileMapAtlasWithTileFile(s_TilesPng, s_LevelMapTga, 16, 16); 16 | //// Create an Aliased Atlas 17 | //map.Texture.setAliasTexParameters(); 18 | 19 | //CCSize s = map.contentSize; 20 | //////----UXLOG("ContentSize: %f, %f", s.width,s.height); 21 | 22 | //// If you are not going to use the Map, you can free it now 23 | //// [tilemap releaseMap); 24 | //// And if you are going to use, it you can access the data with: 25 | //schedule(TileMapEditTest.updateMap), 0.2f);//:@selector(updateMap:) interval:0.2f); 26 | 27 | //addChild(map, 0, kTagTileMap); 28 | 29 | //map->setAnchorPoint( ccp(0, 0) ); 30 | //map->setPosition( ccp(-20,-200) ); 31 | // } 32 | // public virtual string title() 33 | // { 34 | 35 | // } 36 | // public void updateMap(float dt) 37 | // { 38 | 39 | // } 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/FadeWhiteTransition.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class FadeWhiteTransition : CCTransitionFade 10 | { 11 | static ccColor3B ccWHITE = new ccColor3B(255, 255, 255); 12 | 13 | public static CCTransitionScene transitionWithDuration(float t, CCScene s) 14 | { 15 | return CCTransitionFade.transitionWithDuration(t, s, ccWHITE); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/FlipAngularLeftOver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class FlipAngularLeftOver : CCTransitionFlipAngular 10 | { 11 | public static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | return CCTransitionFlipAngular.transitionWithDuration(t, s, tOrientation.kOrientationLeftOver); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/FlipAngularRightOver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class FlipAngularRightOver : CCTransitionFlipAngular 10 | { 11 | public static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | return CCTransitionFlipAngular.transitionWithDuration(t, s, tOrientation.kOrientationRightOver); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/FlipXLeftOver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class FlipXLeftOver : CCTransitionFlipX 10 | { 11 | public static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | return CCTransitionFlipX.transitionWithDuration(t, s, tOrientation.kOrientationLeftOver); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/FlipXRightOver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class FlipXRightOver : CCTransitionFlipX 10 | { 11 | public static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | return CCTransitionFlipX.transitionWithDuration(t, s, tOrientation.kOrientationRightOver); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/FlipYDownOver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class FlipYDownOver : CCTransitionFlipY 10 | { 11 | public static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | return CCTransitionFlipY.transitionWithDuration(t, s, tOrientation.kOrientationDownOver); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/FlipYUpOver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class FlipYUpOver : CCTransitionFlipY 10 | { 11 | public static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | return CCTransitionFlipY.transitionWithDuration(t, s, tOrientation.kOrientationUpOver); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/PageTransitionBackward.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class PageTransitionBackward : CCTransitionPageTurn 10 | { 11 | public new static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | CCDirector.sharedDirector().setDepthTest(true); 14 | return CCTransitionPageTurn.transitionWithDuration(t, s, true); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/PageTransitionForward.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class PageTransitionForward : CCTransitionPageTurn 10 | { 11 | public new static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | CCDirector.sharedDirector().setDepthTest(true); 14 | return CCTransitionPageTurn.transitionWithDuration(t, s, false); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/ZoomFlipAngularLeftOver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class ZoomFlipAngularLeftOver : CCTransitionZoomFlipAngular 10 | { 11 | public static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | return CCTransitionZoomFlipAngular.transitionWithDuration(t, s, tOrientation.kOrientationLeftOver); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/ZoomFlipAngularRightOver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class ZoomFlipAngularRightOver : CCTransitionZoomFlipAngular 10 | { 11 | public static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | return CCTransitionZoomFlipAngular.transitionWithDuration(t, s, tOrientation.kOrientationRightOver); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/ZoomFlipXLeftOver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class ZoomFlipXLeftOver : CCTransitionZoomFlipX 10 | { 11 | public static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | return CCTransitionZoomFlipX.transitionWithDuration(t, s, tOrientation.kOrientationLeftOver); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/ZoomFlipXRightOver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class ZoomFlipXRightOver : CCTransitionZoomFlipX 10 | { 11 | public static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | return CCTransitionZoomFlipX.transitionWithDuration(t, s, tOrientation.kOrientationRightOver); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/ZoomFlipYDownOver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class ZoomFlipYDownOver : CCTransitionZoomFlipY 10 | { 11 | public static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | return CCTransitionZoomFlipY.transitionWithDuration(t, s, tOrientation.kOrientationDownOver); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/TransitionsTest/ZoomFlipYUpOver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class ZoomFlipYUpOver : CCTransitionZoomFlipY 10 | { 11 | public static CCTransitionScene transitionWithDuration(float t, CCScene s) 12 | { 13 | return CCTransitionZoomFlipY.transitionWithDuration(t, s, tOrientation.kOrientationUpOver); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/UserDefaultTest/UserDefaultTestScene.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class UserDefaultTestScene : TestScene 10 | { 11 | public override void runThisTest() 12 | { 13 | CCLayer pLayer = new UserDefaultTest(); 14 | addChild(pLayer); 15 | CCDirector.sharedDirector().replaceScene(this); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tests/tests/classes/tests/ZwoptexTest/ZwoptexTestScene.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using cocos2d; 6 | 7 | namespace tests 8 | { 9 | public class ZwoptexTestScene : TestScene 10 | { 11 | public override void runThisTest() 12 | { 13 | CCLayer pLayer = ZwoptexTest.nextZwoptexTest(); 14 | addChild(pLayer); 15 | 16 | CCDirector.sharedDirector().replaceScene(this); 17 | } 18 | 19 | public static ZwoptexTestScene node() 20 | { 21 | ZwoptexTestScene pRet = new ZwoptexTestScene(); 22 | if (pRet != null && pRet.init()) 23 | { 24 | return pRet; 25 | } 26 | else 27 | { 28 | pRet = null; 29 | return null; 30 | } 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /tests/testsContent/Images/Comet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/Comet.png -------------------------------------------------------------------------------- /tests/testsContent/Images/Fog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/Fog.png -------------------------------------------------------------------------------- /tests/testsContent/Images/HelloWorld.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/HelloWorld.png -------------------------------------------------------------------------------- /tests/testsContent/Images/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/Icon.png -------------------------------------------------------------------------------- /tests/testsContent/Images/Pea.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/Pea.png -------------------------------------------------------------------------------- /tests/testsContent/Images/PlanetCute-1024x1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/PlanetCute-1024x1024.png -------------------------------------------------------------------------------- /tests/testsContent/Images/SendScoreButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/SendScoreButton.png -------------------------------------------------------------------------------- /tests/testsContent/Images/SendScoreButtonPressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/SendScoreButtonPressed.png -------------------------------------------------------------------------------- /tests/testsContent/Images/SpinningPeas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/SpinningPeas.png -------------------------------------------------------------------------------- /tests/testsContent/Images/SpookyPeas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/SpookyPeas.png -------------------------------------------------------------------------------- /tests/testsContent/Images/atlastest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/atlastest.png -------------------------------------------------------------------------------- /tests/testsContent/Images/b1-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/b1-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/b1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/b1.png -------------------------------------------------------------------------------- /tests/testsContent/Images/b2-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/b2-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/b2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/b2.png -------------------------------------------------------------------------------- /tests/testsContent/Images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/background.png -------------------------------------------------------------------------------- /tests/testsContent/Images/background1-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/background1-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/background1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/background1.png -------------------------------------------------------------------------------- /tests/testsContent/Images/background2-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/background2-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/background2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/background2.png -------------------------------------------------------------------------------- /tests/testsContent/Images/background3-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/background3-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/background3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/background3.png -------------------------------------------------------------------------------- /tests/testsContent/Images/ball-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/ball-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/ball.png -------------------------------------------------------------------------------- /tests/testsContent/Images/bitmapFontTest3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/bitmapFontTest3.png -------------------------------------------------------------------------------- /tests/testsContent/Images/blocks-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/blocks-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/blocks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/blocks.png -------------------------------------------------------------------------------- /tests/testsContent/Images/btn-about-normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/btn-about-normal.png -------------------------------------------------------------------------------- /tests/testsContent/Images/btn-about-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/btn-about-selected.png -------------------------------------------------------------------------------- /tests/testsContent/Images/btn-highscores-normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/btn-highscores-normal.png -------------------------------------------------------------------------------- /tests/testsContent/Images/btn-highscores-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/btn-highscores-selected.png -------------------------------------------------------------------------------- /tests/testsContent/Images/btn-play-normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/btn-play-normal.png -------------------------------------------------------------------------------- /tests/testsContent/Images/btn-play-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/btn-play-selected.png -------------------------------------------------------------------------------- /tests/testsContent/Images/close-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/close-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/close.png -------------------------------------------------------------------------------- /tests/testsContent/Images/f1-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/f1-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/f1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/f1.png -------------------------------------------------------------------------------- /tests/testsContent/Images/f2-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/f2-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/f2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/f2.png -------------------------------------------------------------------------------- /tests/testsContent/Images/fire-grayscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/fire-grayscale.png -------------------------------------------------------------------------------- /tests/testsContent/Images/fire.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/fire.png -------------------------------------------------------------------------------- /tests/testsContent/Images/fps_images.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/fps_images.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_01.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_02.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_03.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_04.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_05.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_06.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_07.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_08.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_09.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_10.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_11.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_12.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_13.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_14.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_atlas-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_atlas-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_atlas-mono.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_atlas-mono.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_atlas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_atlas.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossini_dance_atlas_nomipmap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossini_dance_atlas_nomipmap.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossinis_sister1-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossinis_sister1-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossinis_sister1-testalpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossinis_sister1-testalpha.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossinis_sister1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossinis_sister1.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossinis_sister2-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossinis_sister2-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/grossinis_sister2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/grossinis_sister2.png -------------------------------------------------------------------------------- /tests/testsContent/Images/landscape-1024x1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/landscape-1024x1024.png -------------------------------------------------------------------------------- /tests/testsContent/Images/menuitemsprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/menuitemsprite.png -------------------------------------------------------------------------------- /tests/testsContent/Images/paddle-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/paddle-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/paddle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/paddle.png -------------------------------------------------------------------------------- /tests/testsContent/Images/particles-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/particles-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/particles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/particles.png -------------------------------------------------------------------------------- /tests/testsContent/Images/pattern1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/pattern1.png -------------------------------------------------------------------------------- /tests/testsContent/Images/piece.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/piece.png -------------------------------------------------------------------------------- /tests/testsContent/Images/powered.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/powered.png -------------------------------------------------------------------------------- /tests/testsContent/Images/r1-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/r1-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/r1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/r1.png -------------------------------------------------------------------------------- /tests/testsContent/Images/r2-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/r2-hd.png -------------------------------------------------------------------------------- /tests/testsContent/Images/r2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/r2.png -------------------------------------------------------------------------------- /tests/testsContent/Images/snow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/snow.png -------------------------------------------------------------------------------- /tests/testsContent/Images/spritesheet1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/spritesheet1.png -------------------------------------------------------------------------------- /tests/testsContent/Images/stars-grayscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/stars-grayscale.png -------------------------------------------------------------------------------- /tests/testsContent/Images/stars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/stars.png -------------------------------------------------------------------------------- /tests/testsContent/Images/stars2-grayscale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/stars2-grayscale.png -------------------------------------------------------------------------------- /tests/testsContent/Images/stars2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/stars2.png -------------------------------------------------------------------------------- /tests/testsContent/Images/streak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/streak.png -------------------------------------------------------------------------------- /tests/testsContent/Images/test-rgba1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/test-rgba1.png -------------------------------------------------------------------------------- /tests/testsContent/Images/test_blend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/test_blend.png -------------------------------------------------------------------------------- /tests/testsContent/Images/test_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/test_image.png -------------------------------------------------------------------------------- /tests/testsContent/Images/texture1024x1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/texture1024x1024.png -------------------------------------------------------------------------------- /tests/testsContent/Images/texture2048x2048.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/texture2048x2048.png -------------------------------------------------------------------------------- /tests/testsContent/Images/texture512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Images/texture512x512.png -------------------------------------------------------------------------------- /tests/testsContent/Sounds/background.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Sounds/background.mp3 -------------------------------------------------------------------------------- /tests/testsContent/Sounds/effect1.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/Sounds/effect1.wav -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/fixed-ortho-test2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/fixed-ortho-test2.png -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/hexa-test1.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAAGNiYGBgA2JGIGaC0qxQNiuSGBuUz4amDibGhqQGXQwAD578mGQAAAA= 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/hexa-tiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/hexa-tiles.png -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/iso-test-bug787.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAA+3DwQkAAAwDoYPsv3PH6EfBVVNVVVVVVVVVVVVVVVVVVVVfH73hYN0AQAAA 9 | 10 | 11 | 12 | 13 | H4sIAAAAAAAAA+2Y2Y7DIAxFeeD/v3nEQ6UMYvGW4Gt8pKptAgnXZrFdSpLQqKcHkCTJJ9Tyf73X7js6vc6vdJ+27+3vP0m/5m4DQfubPkLxv+UYR/ssgg0sqN2nvz5rG4Gd5t42ddIuGhRtUWww0kDVFsEGKw1UG6AzswHFv4j6OWPe2QBN/26+c9YC4vrXrOlT+agVWn8h+vsHd+yaM8Er3LHP6k/ISG2APvdX/2d90OP9le8ixjVPqPnsqj8y1Hglao7PiekjrPURXBuUwfX+vmc4a3w3D3bv8GgPie8o9lrVBz3ZQbKfc2o9q3se7CA90yk5PkItSDpGS32n5wJXh1VeyG3zJhw/ScZKPSNOYrWnrWII7fvfRlvref7mxgoe9DcoedCs3+o5s3bUe18iqWFYtPOiv2G1z3PmgId9UArXr9J90ivSWJrzHFS0+RQ6nHwhov4Gcp3Agqi6qET2LRVNLh0BSf0wEpo6QgSeZ9xt2hvRzzgKN2tPkiRJEg1/QULzBABAAAA= 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/iso-test-movelayer.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAA+3VwQkAAAgCQNt/6ZaIgjjBr/e0ktRRt8PlcrlcLnduZ/v3uVwu97t70QaXptU4EA4AAA== 9 | 10 | 11 | 12 | 13 | H4sIAAAAAAAAA+3NMQ0AAAwDoB71r7ke9i0BAyQAAHxXJ3AwBKd25hAOAAA= 14 | 15 | 16 | 17 | 18 | H4sIAAAAAAAAA+3NMQEAAAzDoBzzr3lCCgYoAACAPefsASYrBSMQDgAA 19 | 20 | 21 | 22 | 23 | H4sIAAAAAAAAA+3NMQ0AAAwDoB71r7kulh1ggAQAAOCPOs/OAa5m6+4QDgAA 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/iso-test-objectgroup.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAA2NkYGBgHMWDBgMAjw2X0pABAAA= 9 | 10 | 11 | 12 | 13 | H4sIAAAAAAAAA2NmwARMOOjhAJhwsJlxqMPmd2YkmgmHGmS1yOqwqWdGwgDg7sqJkAEAAA== 14 | 15 | 16 | 17 | 18 | H4sIAAAAAAAAA2NgGFqAGYqppW6wAQDMTJpEkAEAAA== 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/iso-test-vertexz.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | H4sIAAAAAAAAA+3VwQkAAAgCQNt/6ZaIgjjBr/e0ktRRt8PlcrlcLnduZ/v3uVwu97t70QaXptU4EA4AAA== 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | H4sIAAAAAAAAA+3NoQ0AMAwDwYB0/5XbAUodkjvJktlXAQDktOZIc6q/vZnsa+b6mv9/3i74MMBTEA4AAA== 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/iso-test-zorder.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAAO3VwQkAAAgCQNt/6ZaIgjjBr/e0ktRRt8PlcrlcLnduZ/v3uVwu97t70QaXptU4EA4AAA== 9 | 10 | 11 | 12 | 13 | H4sIAAAAAAAAAO3NMQ0AAAwDoB71r7ke9i0BAyQAAHxXp9PpPJwDqA24MxAOAAA= 14 | 15 | 16 | 17 | 18 | H4sIAAAAAAAAAO3NMQ0AAAwDoB71r7kWdi9ggAQAALio0/nsHDLwb3IQDgAA 19 | 20 | 21 | 22 | 23 | H4sIAAAAAAAAAO3NMQ0AAAwDoB71r7kulh1ggAQAAOCPOs/OAa5m6+4QDgAA 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/iso-test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/iso-test.png -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/iso-test01.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAA+3DwQkAAAwDoYPsv3PH6EfBVVNVVVVVVVVVVVVVVVVVVVVfH73hYN0AQAAA 9 | 10 | 11 | 12 | 13 | H4sIAAAAAAAAA+2Y2Y7DIAxFeeD/v3nEQ6UMYvGW4Gt8pKptAgnXZrFdSpLQqKcHkCTJJ9Tyf73X7js6vc6vdJ+27+3vP0m/5m4DQfubPkLxv+UYR/ssgg0sqN2nvz5rG4Gd5t42ddIuGhRtUWww0kDVFsEGKw1UG6AzswHFv4j6OWPe2QBN/26+c9YC4vrXrOlT+agVWn8h+vsHd+yaM8Er3LHP6k/ISG2APvdX/2d90OP9le8ixjVPqPnsqj8y1Hglao7PiekjrPURXBuUwfX+vmc4a3w3D3bv8GgPie8o9lrVBz3ZQbKfc2o9q3se7CA90yk5PkItSDpGS32n5wJXh1VeyG3zJhw/ScZKPSNOYrWnrWII7fvfRlvref7mxgoe9DcoedCs3+o5s3bUe18iqWFYtPOiv2G1z3PmgId9UArXr9J90ivSWJrzHFS0+RQ6nHwhov4Gcp3Agqi6qET2LRVNLh0BSf0wEpo6QgSeZ9xt2hvRzzgKN2tPkiRJEg1/QULzBABAAAA= 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/iso-test1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/iso-test1.png -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/iso-test11.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAA2NkYGBgHMWDBgMAjw2X0pABAAA= 9 | 10 | 11 | 12 | 13 | H4sIAAAAAAAAA2NmwARMOOjhAJhwsJlxqMPmd2YkmgmHGmS1yOqwqWdGwgDg7sqJkAEAAA== 14 | 15 | 16 | 17 | 18 | H4sIAAAAAAAAA2NgGFqAGYqppW6wAQDMTJpEkAEAAA== 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/iso-test2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/iso-test2.png -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/iso-test22.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAAO3DwQkAAAwDoSP7D90x+lFw1VRVVVVVVVVVVVVVVVVVVdXXB2sNXEYAQAAA 9 | 10 | 11 | 12 | 13 | H4sIAAAAAAAAAO2Z4QqDMAyEBd//ncd+lA1pYtpGyfXugzLZquR6TYzuOIQQ59/w5vSO0blqsbSdxic6Z2d4c3vHApeRfR3ZI2hE9d/ViWgOVWM0/3tzeucgrcEK0XqJglXjLc931X/d655+b1THi9mrcWIPov1v+82q/5HvKhLN2Uj9G1nLKqz6752PoD8D5DoZjRFxb0dYzf8KrPQeIzoq7utd+s/ZWNH7zwZavLPc+ZW5BhXXM6I/K25U/ZnXQwEt3mxWtF/fUyD6Pwvy80ZGvKj5Xz2+J8m8B6D5n33/R+z/mf1vVI/vDZjr/9NIOzcsa6D8F4IX9vxH7P8zYfdf2LD7z6Bf+S8s2P1n0K/858b7/4vBf+lX/jMj/3+w6f0i/+f5ADmHbJ0AQAAA 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/iso.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/iso.png -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/levelmap.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/levelmap.tga -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/ortho-objects.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAA+3DsQkAIAwAsAriY/7/k6NQXBx00AQSAQAA8Iea3tZTprb4mrLxhAFhdCAKABAAAA== 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/ortho-test1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/ortho-test1.png -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/ortho-test1_bw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/ortho-test1_bw.png -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/ortho-test2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/ortho-test2.png -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/orthogonal-test-movelayer.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAAGNgGFlAlQg82NQPZgwAVOGiDUACAAA= 9 | 10 | 11 | 12 | 13 | H4sIAAAAAAAAAGNgGAXUAMJk6lNDw0MNAADqJH5uQAIAAA== 14 | 15 | 16 | 17 | 18 | H4sIAAAAAAAAAGNgGAVDCWig4YEGAAKbrPtAAgAA 19 | 20 | 21 | 22 | 23 | H4sIAAAAAAAAAGNgGAXDGaijYWoDALxzd45AAgAA 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/orthogonal-test-vertexz.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | H4sIAAAAAAAAA2NgGFlAlQg82NQPZgwAVOGiDUACAAA= 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | H4sIAAAAAAAAA2NgGFlAEgkTA/iAmB+IBaB8JRzqhKG0OhJmBmImIGYBYlYgZsOiTw2INaDqYQDEFkIyE5seZAyzDxeAqdMgQj0zVE4DyV341AMAIPnTMUACAAA= 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/orthogonal-test-zorder.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAA2NgGFlAlQg82NQPZgwAVOGiDUACAAA= 9 | 10 | 11 | 12 | 13 | H4sIAAAAAAAAA2NgGAXUAMJk6lMjAg9mAAA8pVQ0QAIAAA== 14 | 15 | 16 | 17 | 18 | H4sIAAAAAAAAA2NgGAVDCWgQgekJANerQhxAAgAA 19 | 20 | 21 | 22 | 23 | H4sIAAAAAAAAA2NgGAXDGagTgSkBAFOI2dZAAgAA 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/orthogonal-test1.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAA9XMzQpAQBhG4cnfwsK/sJVBuf/7c9Sn3o0aWXnrSTNz4ty/N4iQTSJkBUpUdp4futa+m4gRIUGKTNq7X7Fbr2usud48Frv3osaBER166/OX/Zf/n+tha6FAAgAA 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/orthogonal-test11.tsx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/orthogonal-test3.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | H4sIAAAAAAAAAO3TTQ+CMAwG4KIn8aSelIRE4IIf/P+fZ5dsoTQlqXPlYHp4krFA361sAwA8lJ6oLSzUnAzq5qrQTrA3ymvY8wHVgqNRfp+Zf0W3uP40pvi+SuffURe/T2OK19Xmn9BZcGHvjTDfiTTOuSvadXK0/5r5Nbl3mvZfM1/aWg79L1bZocfvmP+C5Zn/tv+/7F0681v0P2QMIJ/5Lfo/Gtd3zjnnnPtnH/8uAvwAEAAA 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/orthogonal-test4-hd.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAA1NjYGCQIxFrQGlGIGYCYmYglgRiKSiWRpJjQlID088JxFxAzA3EikCsAsSqQKwMlRMBYiEgFoWqwaVPB4h1kfRxI6nDpw/dPmL1odsnA/WbLJo+Qaj7hYFYE4i1oFgbSU4ISQ1Ijz4Z8WAAxADxIVkbwAEAAA== 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/orthogonal-test4.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAAFNjYGCQIxFrQGlGIGYCYmYglgRiKSiWRpJjQlID088JxFxAzA3EikCsAsSqQKwMlRMBYiEgFoWqwaVPB4h1kfRxI6nDpw/dPmL1odsnA/WbLJo+Qaj7hYFYE4i1oFgbSU4ISQ1Ijz4Z8WAAxADxIVkbwAEAAA== 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/orthogonal-test5.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | H4sIAAAAAAAAA2NgGAX4AB8Q8wOxAJSvRIJeZiBmAmIWIGYFYjYS9AoBsTAQawCxKhCrQMVVkbAgEGsDsQQQiwCxKFQ9F4nqKTEfAM9UTSZAAgAA 12 | 13 | 14 | 15 | 16 | H4sIAAAAAAAAA2NgGAXUBNZAbAPEtmToNQBifSA2BGIjIDYmQa89GfbhMgcd4wMA7a2boEACAAA= 17 | 18 | 19 | 20 | 21 | H4sIAAAAAAAAA2NgGAUDCfiAmB+IBcjQywzETEDMAsSsQMxGgl4hMuzDBgAgyUssQAIAAA== 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/orthogonal-test6-hd.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAA5NkYGCQIoClgViRgTBQpoM6JSimljpquw+XOk0g1iKAtYEYAF51CouQAQAA 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/orthogonal-test6.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | H4sIAAAAAAAAA5NkYGCQIoClgViRgTBQpoM6JSimljpquw+XOk0g1iKAtYEYAF51CouQAQAA 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/test-object-layer.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | eJxTY2BgkCMRa0BpRiBmAmJmIJYEYikolkaSY0JSA9PPCcRcQMwNxIpArALEqkCsDJUTAWIhIBaFqsGlTweIdZH0cSOpw6cP3T5i9aHbJwP1myyaPkGo+4WBWBOItaBYG0lOCEkNSI8+GfFgAMQA2rgKjA== 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/tiles-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/tiles-hd.png -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/tiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/tiles.png -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/tmw_desert_spacing-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/tmw_desert_spacing-hd.png -------------------------------------------------------------------------------- /tests/testsContent/TileMaps/tmw_desert_spacing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/TileMaps/tmw_desert_spacing.png -------------------------------------------------------------------------------- /tests/testsContent/animations/grossini..ztp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/animations/grossini..ztp -------------------------------------------------------------------------------- /tests/testsContent/animations/images/dragon_animation-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/animations/images/dragon_animation-hd.png -------------------------------------------------------------------------------- /tests/testsContent/animations/images/dragon_animation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/animations/images/dragon_animation.png -------------------------------------------------------------------------------- /tests/testsContent/animations/images/ghosts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/animations/images/ghosts.png -------------------------------------------------------------------------------- /tests/testsContent/animations/images/grossini-aliases.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/animations/images/grossini-aliases.png -------------------------------------------------------------------------------- /tests/testsContent/animations/images/grossini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/animations/images/grossini.png -------------------------------------------------------------------------------- /tests/testsContent/animations/images/grossini_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/animations/images/grossini_blue.png -------------------------------------------------------------------------------- /tests/testsContent/animations/images/grossini_family.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/animations/images/grossini_family.png -------------------------------------------------------------------------------- /tests/testsContent/animations/images/grossini_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/animations/images/grossini_gray.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/arial16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/arial16.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/bitmapFontTest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/bitmapFontTest.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/bitmapFontTest2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/bitmapFontTest2.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/bitmapFontTest3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/bitmapFontTest3.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/bitmapFontTest4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/bitmapFontTest4.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/bitmapFontTest5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/bitmapFontTest5.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/fps_images-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/fps_images-hd.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/fps_images.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/fps_images.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/futura-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/futura-48.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/konqa32-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/konqa32-hd.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/konqa32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/konqa32.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/larabie-16-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/larabie-16-hd.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/larabie-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/larabie-16.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/tuffy_bold_italic-charmap-hd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/tuffy_bold_italic-charmap-hd.png -------------------------------------------------------------------------------- /tests/testsContent/fonts/fnt/images/tuffy_bold_italic-charmap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/fonts/fnt/images/tuffy_bold_italic-charmap.png -------------------------------------------------------------------------------- /tests/testsContent/zwoptex/images/grossini-generic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/zwoptex/images/grossini-generic.png -------------------------------------------------------------------------------- /tests/testsContent/zwoptex/images/grossini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cocos2d/cocos2d-x-for-xna/4537342146219d6b7b1a65e6e37a593d03154b08/tests/testsContent/zwoptex/images/grossini.png --------------------------------------------------------------------------------