Cocos Creator development is far from being as easy as it seems at first glance. Some visual development languages, such as VB, are easy to get started, but when you enter the actual combat stage,
Category: Cocos2dx
Cocos2d-x is an open source mobile 2D game framework, released under the MIT license. This is a version of the C++ Cocos2d-iPhone project. The focus of the development of Cocos2d-X is the framework provided by Cocos2d-x around the Cocos2d cross-platform. Mobile games can be written in C++ or Lua, and the API is fully compatible with Cocos2d-iPhone. The Cocos2d-x project can be easily built and run on iOS, Android, Blackberry and other operating systems. Cocos2d-x also supports desktop operating systems such as Windows, Mac and Linux. Therefore, the source code written by developers can be easily edited and debugged in the desktop operating system.
COCOS2D-X Physical Engine
When your needs are very simple, do not use the physics engine, for example, you only need to determine whether two objects collide, and use the update function of the node object and the containsP
Cocos2DX C ++ adjusts Java non-static functions.
Calling java non-static functions in Cocos2dx C++. Calling the non-static method in JAVA in CPP requires obtaining the object of Activity first. This is the difference.
public span> static A
The COCOS-JS has no Scene overloaded onExit () without calling super (); resulting in resources without destruction
OnExit() is overloaded in Scene that cocos-js does not have, and super() is not called; resulting in resources not being destroyed
cocos-js does not have Overload onExit() in Scene without calling super(); resulting in the resource not being destroyed
Cocos Source Code Analysis – LayerColor’s drawing process
1, first create a LayerColor
Scene *scene=Scene::create() ;
director->runWithScene(scene);
//Goal
auto layer = LayerColor::create(Color4B(0, 255, 0, 255), 100 , 100);
//The main step
How to draw a line with COCOS2D-iPhone
I try to master Cocos2d by trying to accomplish simple things. At this point, I have a scene, and that scene has a background sprite and a layer. I tried to draw the layer with drawLine. This is my
Cocos2dx 3.10 Lua Environmental Configuration and Code Debug
Version:
Cocos2dx 3.10 Lua
Environment configuration:
Here use VS +BabeLua for editing and debugging
New project:
directly above the picture< span style="font-family:C
Cocos Creator Pit: It turns out that cocos creator is a game, it is server! ! !
I stupidly thought that we did not have a server. Uploaded the test code today and found out in the test! It turns out that we really have a server! It’s just a local server~! You need to open t
Cocos2dx excellent blog
1, Hanjiang Guye
Excellent blog
cocos2dx + lua
http://blog.csdn.net/qq446569365?viewmode= contents
2. Detailed explanation of the use of cocostudio interface
cocostudi