updated for IOS5 & Cocos2D. annotated libraries in README. - #4
Open
percentjuice wants to merge 47 commits into
Open
updated for IOS5 & Cocos2D. annotated libraries in README.#4percentjuice wants to merge 47 commits into
percentjuice wants to merge 47 commits into
Conversation
AnimationExtractor::extract -- added parameter to convert pixels to points. TextureExtractor::extract -- added parameter to convert pixels to points. -FlashToCocosARC- updated for IOS5 & cocos2d 2.0 -- using ARC & updated method names. FTCCharacter fixed bug -- properties must be initialized from every init method. FTCCharacter added method createCharacterFromXML:onCharacterComplete:
cleaned up README.
…les were resized manually. example now includes all libraries needed for Flash export. as an example reference robot_02.fla Publish Settings/Flash/Settings. example now includes the version of cocos2d this was built for, version 2.0.0 8-Jul-2012.
Settings.scaleFactor is now a TextureExtractor::export parameter. Allows it to be changed between tasks in the queue. TextureExtractor::export now takes added param: scaleFactor:Number. Allows for scaling of images. TextureExtractor::export now takes added param: artDataClass:Class. Allows for storing BitmapData in a child of BitmapTexture. TextureExtractor::export now takes added param: fileSuffix:String. Allows for any F2TCBitmapTexture to have fileSuffix appended to its filename. AnimationExtractor::extract now takes added param: scaleFactor:Number. Allows for scaling of images. F2CSimpleExport is a SimpleExport. Allows texture assets to be just Art or just in the sheet.xml. F2CTextureExporter is a TextureExporter. Any F2CBitmapTexture files it processes get the suffix specified in Settings.COCOS_RETINA_EXT. F2CBitmapTexture is a BitmapTexture. Adds the method getFilenameWithPathAndSuffix(fileSuffix:String).
…kt directory. updated the robot example to point to the new swc's. library cocos2d-iphone will be a submodule.
…ntjuice/grapefrukt-export updated Robot example to use swc provided by grapefrukt fork.
Solves bug where zero alpha Movies were not recorded. Adds ability to export frameRate to the animations xml.
update per TBXML tag 1.5
FTCCharacter has frameRate parameter. FTCCharacter schedules animation update based on frameRate/1000.
Removed unnecessary logging.
…he main bundle. FTCParser has characterExists:atPath: for checking asset locations prior to trying to load them. Example files updated.
FTCCharacter ignores duplicate calls to playAnimation:loop:wait:.
FTCParser refactored for readability, better error handling. code & formatting clean up.
…checking. TBXML cannot handle loading from directories other than the main bundle. requires the loaded XML to be passed in. FTCParser:parseSheetXML:toCharacter would not have worked.
Instruments was complaining about a retain cycle http://monosnap.com/image/6UVIyHRFXZSRLdnDDlP8yxSYk The ivars are __strong as explained here: http://clang.llvm.org/docs/AutomaticReferenceCounting.html#ownership-inference
Making the local FTCSprite ivars weak
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
-grapefrukt-
AnimationExtractor::extract -- added parameter to convert pixels to points.
TextureExtractor::extract -- added parameter to convert pixels to points.
-FlashToCocosARC-
updated for IOS5 & cocos2d 2.0 -- using ARC & updated method names.
FTCCharacter fixed bug -- properties must be initialized from every init method.
FTCCharacter added method createCharacterFromXML:onCharacterComplete: