随笔分类 -  cocos2d-x 2.1

摘要:http://www.supersuraccoon-cocos2d.com/zh/2012/11/14/introduction-to-some-great-ios-gesture-recognition-libraries-cocos2d/ 最近的游戏中刚巧要用到一点手势识别的功能,于是便在网上搜索了一下资源,又做了一些尝试,最终找到了满意的解决方案。 在这里,想和各位感兴趣的朋友们分享一下在调... 阅读全文

posted @ 2013-12-03 17:11 Flex/AS Programmer 阅读(555) 评论(0) 推荐(0) |

摘要:$1 Unistroke(单笔画) Recognizer官网 http://depts.washington.edu/aimgroup/proj/dollar/ (在官网还有多笔画的识别库) 代码下载 http://depts.washington.edu/aimgroup/proj/dollar/others/cpp.bw.zip 下载代码包括: GeometricRecognizer.h Ge... 阅读全文

posted @ 2013-12-03 17:11 Flex/AS Programmer 阅读(836) 评论(0) 推荐(0) |

摘要:http://blog.csdn.net/archfree/article/details/6023676 1)一个为Android平台,将识别由手机的相机拍摄的图像文本应用程序。 http://code.google.com/p/mobileocr/ 2)手写识别 Android frontend for Jim Breen's WWWJDIC http://code.google.com/p/... 阅读全文

posted @ 2013-12-03 17:11 Flex/AS Programmer 阅读(1304) 评论(0) 推荐(0) |

摘要:http://blog.csdn.net/dragoncheng/article/details/7070291 cocos2d-x添加广告条(BADA版本) http://blog.csdn.net/rhljiayou/article/details/12029927 http://blog.csdn.net/dragoncheng/article/details/6927400 阅读全文

posted @ 2013-12-03 17:10 Flex/AS Programmer 阅读(82) 评论(0) 推荐(0) |

摘要:在info.plist 添加 UIViewControllerBasedStatusBarAppearance(View controller-based status bar appearance) 设置为NO 即可。 阅读全文

posted @ 2013-12-02 12:59 Flex/AS Programmer 阅读(198) 评论(0) 推荐(0) |

摘要:http://www.giser.net/?p=859 Bundle Programming Guide: https://developer.apple.com/library/ios/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/1000012... 阅读全文

posted @ 2013-11-29 15:56 Flex/AS Programmer 阅读(372) 评论(0) 推荐(0) |

摘要:http://www.mwebb.me.uk/2013/08/adding-iads-to-cocos2d-x-on-ios.html Looking at the forums it seems a lot of people are having trouble getting iADs working on Cocos2d-x on iOS. It's actually pretty str... 阅读全文

posted @ 2013-11-26 18:08 Flex/AS Programmer 阅读(269) 评论(0) 推荐(0) |

摘要:给游戏加入复杂手势识别的功能无疑可以大大增加游戏的趣味性,对于像ios、andriod这样的全触控操作系统尤其如此。这篇文章不是讲解手势识别的论证推倒过程(那些公式看着就头疼,毕竟咱是写程序的不是写论文的,这些东东是怎么来的咱不管,能用就好),也不是讲解ios上面UIGestureRecognizer类的应用(这个暂时只能识别轻触滑动等简单的手势,虽然对于普通应用来说已经足够了,但是对于游戏来说还... 阅读全文

posted @ 2013-11-25 14:04 Flex/AS Programmer 阅读(407) 评论(0) 推荐(0) |

摘要:参考文章:http://stackoverflow.com/questions/17348912/lipo-error-cant-open-input-file I got it to Work, i just made a simple change in my Project target-> Build setting-> Build Active Architecture only and... 阅读全文

posted @ 2013-11-25 13:58 Flex/AS Programmer 阅读(918) 评论(0) 推荐(0) |

摘要:__super keyword this keyworld is offered only by Microsoft VC. So you had to call the very name of parent class, instead of __super. folder separator "\"is the separator of windows. For cross-platform... 阅读全文

posted @ 2013-11-24 22:15 Flex/AS Programmer 阅读(139) 评论(0) 推荐(0) |

摘要:Cocos2d-x uses FontLabel to draw customer ttf font before v2.0.3(including v2.0.3). Now it uses UIFont directly to draw system fonts and customer ttf fonts. Now, inorder to use customer ttf font, you ... 阅读全文

posted @ 2013-11-23 17:32 Flex/AS Programmer 阅读(471) 评论(0) 推荐(0) |

摘要:Mechanism of Loading Resources 1. Distributed strategy 1.1. Developer guilde 1.2. Notes 2. Centralized strat... 阅读全文

posted @ 2013-11-23 17:09 Flex/AS Programmer 阅读(174) 评论(0) 推荐(0) |

摘要:his page provides information about the relative number of devices that share a certain characteristic, such as Android version or screen size. This information may help you prioritize efforts for sup... 阅读全文

posted @ 2013-11-23 17:04 Flex/AS Programmer 阅读(285) 评论(0) 推荐(0) |

摘要:If you have downloaded android 4.0, you should read the article. $ANDROID_ROOT/tools/android.bat is changed when you download android 4.0, and it is not compatible with previous versions. So you shoul... 阅读全文

posted @ 2013-11-23 17:01 Flex/AS Programmer 阅读(130) 评论(0) 推荐(0) |

摘要:这篇文章是描述怎么样在ios和android上设置设备的方向。 正如你所知道的,有两种方法来设置设备方向: 1. OpenGL / Cocos2d-x方式 这种方式很快,但是不会旋转UIKit对象(ios)或者小部件(android)。 2. ViewController方式(IOS)或者设置xml(android) 这种方法有一点慢,但是UIKit对象(IOS)或者小部件(android)就会正... 阅读全文

posted @ 2013-11-23 16:58 Flex/AS Programmer 阅读(254) 评论(0) 推荐(0) |

摘要:1. virtual method or not: It’s better to declare all cpp member methods without “virtual” keyword; But when you’re writing a cpp header file, please check if any methods of the parent class are ... 阅读全文

posted @ 2013-11-23 14:24 Flex/AS Programmer 阅读(251) 评论(0) 推荐(0) |

摘要:To make debugging android games on win32 more convenience, we added some simulate actions to win32 port. action on win32 equal to behavior on android ... 阅读全文

posted @ 2013-11-23 11:48 Flex/AS Programmer 阅读(202) 评论(0) 推荐(0) |

摘要:我在编译从GitHub上clone下来的《TweeJump》时,出现如下错误:“:Choose a destination with a supported architecture in order to run on this device.” 后来在stack overflow中找到解决方案(Xcode cannot run using the selected device after u... 阅读全文

posted @ 2013-11-23 11:03 Flex/AS Programmer 阅读(1063) 评论(0) 推荐(0) |

摘要:This is a frequently asked question. Multi-touch feature is available on both iOS & Android port since the first version of cocos2d-x. But in iOS, apple turns the switcher off by default, and offers a... 阅读全文

posted @ 2013-11-23 09:23 Flex/AS Programmer 阅读(386) 评论(0) 推荐(0) |

摘要:OverView The purpose of this document is show you how does function CCFileUtils::fullPathForFilename() work on different platforms. The document is based on engine version: cocos2d-x 2.1 CCFi... 阅读全文

posted @ 2013-11-23 07:58 Flex/AS Programmer 阅读(438) 评论(0) 推荐(0) |

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3