To know more visit had to give my brain a break from all the Processing \ Android stuff and get back into Python. The flow control, fast and easy sprites, big number of transitions, actions that allow you to animate quicker, and access to OpenGL functionality - only some reasons why Cocos2d is worth your time. Simple architecture and usage of the Python programming language made Cocos2d cross-platform and well suited for fast prototyping and testing of game concepts. Others are targeted at specific platforms: Cocos2D-html5, Cocos2D-iphone, Cocos2D-windows, Cocos2D-android.Cocos2D-Swift is an open-source framework for building cross-platform 2D games with Xcode and Objective-C.It supports the Microsoft and MonoGame platforms. Cocos2D-XNA is a 2D/3D game framework written in C# specifically for XNA.It supports full Cocos2d-x functionality with a set of simplified JavaScript-friendly APIs. Cocos2D-JS is a JavaScript version of Cocos2d-x engine targeted at HTML5-ready browsers.Cocos2D-x is a framework written in C , with a thin platform-dependent layer.text rendering (Label and HTMLLabel with action support).Ĭocos2d (written in Python) is the project that inspired and started Cocos2d’s "family of game engines":.built-in Python Interpreter for debugging.rich set of transitions and effects (waves, twirl, lens, etc.).support for rectangular and hexagonal tiled maps.basic pure Python support for collisions.composable actions (move, rotate, scale and much more).GUI elements for game scenes (text boxes, labels, menus, buttons, etc.).handle events, draw to the screen using the pyglet and OpenGL APIs, etc.).Ĭocos2d makes the game development easy and structured with: Each scene is composed of an arbitrary number of layers that contain all of the game/application logic (e.g. Cocos2d’s application (also called a "scene based application") consists of different scenes and a workflow that connects several of them. Sprites can be arranged together to form a scene (like a game level or a menu). Using basic animation primitives, actions and timers Cocos2D allows to manipulate the size, scale, position, and other effects of the sprite in order to form more complex animations. They can be moved, scaled, rotated, have their image changed, etc. Basically, it is a simple 2D image that can also contain other sprites. Cocos2d is one of the few Python game libraries, other than PyGame.Ĭocos2d’s core element is sprite. It is written in Python using pyglet library. Cocos2d is reliable and mature open source software framework that is used to build 2D games, apps and other cross-platform GUI-based interactive programs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |