Create a sprite You can use an image to create a sprite, PNG, JPEG, TIFF, WebP, these formats are all available, of course there are There are some other ways to create sprites, such as using atlas
Tag: Cocos
Some additional supplements about the order of COCOS Creator scripts
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,
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
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