Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What kind of framework is cocos2d objc based on?


Asked by Pablo Keller on Dec 01, 2021 FAQ



Please update your bookmarks Cocos2D-ObjC is a framework for building 2D games, demos, and other graphical/interactive applications for iOS, Mac and tvOS. It is based on the Cocos2D design, but instead of using Python it uses Swift and / or Objective-C.
In fact,
Cocos2d-x. Cocos2d-x is an open source game framework written in C++, with a thin platform dependent layer. It can be used to build games, apps and other cross platform GUI based interactive programs.
Next, Cocos2D-Swift is an open-source framework for building cross-platform 2D games with Xcode and Objective-C. Cocos2d (python) is the project that started "cocos2d". It's like cocos2d-x, except it is written in Python. It is cross-platform: It works on Windows, Linux and Mac. Below are links to Cocos2d project.
One may also ask,
CocoStudio: a closed source toolkit based on Cocos2d-x, containing UI Editor, Animation Editor, Scene Editor and Data Editor, together forming a complete system; the former two are tools mainly for artists while the latter are two mainly for designers. This is a closed source project developed by Chukong Technologies.
Likewise,
Support binding to JavaScript, Lua, and other engines exist for Cocos2D. For example, Cocos2d JavaScript Binding (JSB) for C / C++ / Objective-C is the wrapper code that sits between native code and JavaScript code using Mozilla's SpiderMonkey.