Concept < span style="color:#FF0000;">“Mixed” refers to the superposition of two colors. When the new picture is about to be rendered and drawn on the screen, the red, green, blue and transparency
Tag: DX
COCOS2DX – using shader
Shader architecture of Cocos2dx Shader of Cocos2dx is composed of GLProgram, GLProgramState, GLProgramCache, and GLProgramStateCache.
GLProgram is Cocos2dx’s encapsulation of Program, and general
Cocos2DX-JS and Swift projects
This article is a follow-up to the previous article on configuring swift-cocos2dx-js. If you are unclear, please check the previous article to teach you how to integrate the cocos2dx-js module in a
COCOS2DX Lua hot update
Before I contacted the hot update, I was confused about the hot update. Later, I read some materials, tried it myself, and basically understood its process. The so-called hot update is to update c
COCOS2DX frame animation
1. The most The original method is to create animation frames first, then create animation packaging (animation), and then create animation (animate)
The first step:
Create animation fr
Review COCOS2DX development (chess)
Mainly to review cocos. The version used here is the latest 3.17. It should be noted that the incident response processing method has changed.
Function:
Implement simple AI
Test platform:
To test successfully on Mac ios windows
Test version vs2015
xcode 9 real machine iphone7p
cocos create project command:
Cocos2DX Physical Collision
https://www.cnblogs.com/JiaoQing/p/3906780.html
Four response functions
< span style="color: #008080"> 1 EventListenerPhysicsContact* evContact = EventListenerPhysicsContact::create();/
Cocos2dx Lua hot update multithreading mechanism
Multi-threading is actually implemented in cocos2dx. I started to think about how there is multi-threading in Lua? In fact, the send method of the C++ version of XMLHttpRequest will open a new thre
[COCOS2DX_LUA] Animation Acceleration and Deceleration
Animation It is one of the inevitable elements of the game. During the entire game process, has the need for acceleration and deceleration animation. Take tower defense as an example. When you set
COCOS2DX3.4 New project cannot be commissioned with VS Babelua
cocos2dx 3.4 to create a new lua project, follow http://www.cocoachina.com/bbs/read.php?tid-205043-page-1.html operation, there is no way to enter the breakpoint. The project can run normally, but