Install cocos2dx or cocos2dx-js Install ndk Install sdk Install vs studio Run setup.py in the cocos2dx directory and fill in the paths of ndk and sdk according to the prompts Open the command wind
Author: Simo
[COCOS2DX_LUA] version 3.10 Version CJSON
Lua CJSON is a high-performance JSON parser and encoder provided by the Lua language. Its performance is 10 to 10 higher than that of the pure Lua library. 20 times.
The default directory of cocos
Pit in CoCOS2D-JS —- String Type Sensing. The string type in COOCS-JS must call Parseint to convert to integer, otherwise an error
The string type in coocs-js must be converted to an integer by calling parseInt, otherwise an error occurs
The string type in coocs-js must be called parseInt is converted to an integer, otherwise an error occurs
APP extension restriction on Cordova – iOS8
Recently, I have been researching iOS 8 sharing extensions to understand how the system works and find out the limitations of these features.
I am aware of the current documentation https://develo
In order to give back to the majority of students, Zhijie class bought teacher COCOS2D-X courses to send COCOS2D-X books
In order to give back to the majority of students, Smart Classroom buys off the teacher’s Cocos2d-x course to get Cocos2d-x books 1. Any purchase of the following courses get a free book: 1, Cocos
Curve pull and curve connection under COCOS2DX
The picture above first shows this effect
The first difficulty in achieving this effect is to follow the curve path Stretch and pass a fixed point to draw a curve
Fortunately, someone h
Cordova – Phase “in the PhoneGap application
I am currently trying to use the PhoneGap LocalNotification plugin,
to use Android 4.1 with Cordova 2.0.0 and Sketcha (UI library).
Update #2 20/9/12: I used Bozzzi’s code and fixed some pro
Hybrid App Architecture Design Idea
When you see a good article, write it down: http://segmentfault.com/a/1190000004263182
COCOS-JS cannot use RemoveAllChildren, otherwise it will cause the touch priority when it is added again.
Solution:
1. Do not call removeAllChildren (not very good)
2. Before adding children again, put The parent element is not touchable: setTouchEnabled(false). After adding children, call:
COCOS2D-iPhone – How to determine if the elves are in the layer
Sorry if this sounds trivial. I just didn’t get it. How can I determine if a particular sprite already exists in the layer? Basically, I need to check this before deciding whether to add it to the
