SDL2 + OPENGL GLSL practice (Continued)

The content of this article includes: the implementation of freetype Chinese character display, the use of GLSL, including the use skills of slice shader, texture mixing, transparent display method, texture sampling method, etc., vertex shader, common transformation skills, image enlargement, image reduction, image rotation, etc Continued: 1, ...

Posted by ridgerunner on Sun, 13 Feb 2022 15:45:55 +0100

Interactive script making of cocos character and enemy behavior

Make a cocos free game for your baby Chapter 1 introduction of background and development framework Chapter 2 Node tree and scene production Chapter III UI, map and level text production Chapter IV rocker, key and character animation Chapter 5 enemy and AI production Chapter VI interactive script making of role and enemy behavior Chapter 7 gam ...

Posted by pankirk on Fri, 11 Feb 2022 03:55:39 +0100

Learn c++: Variable parameters from cocos2d-x...

Sequence in cocos2d-x is a special action that can represent a sequence of actions. This action is usually created using code like this: Action* sequence = Sequence::create(acttion1, action2, action3/*, action4, action5...*/, nullptr); The number of parameters in parentheses is virtually unlimited, either three or more. So how does this wor ...

Posted by tester2 on Sat, 05 Feb 2022 18:41:45 +0100

Cocos2d JS mobile game decryption jsc and aes encryption and decryption analysis of http data ①

Analysis process 1. View game engine types 2. Install the game 3. Packet capture analysis 4.ida analysis so file 5. Obtain key decryption 6. Analyze the decrypted source code 7. Verify the analysis results Decryption tool: jsc decryption 1.44 Zip other document resources CSDN download cocos jsc decryption encryption program. You need t ...

Posted by Phsycoslaya on Sat, 25 Dec 2021 02:03:03 +0100

Cocos Creator-4. Listen, launch event, node system event, global system event

preface Next, learn to monitor and launch events, node system events, and so on!! Recommended as usual Official website 1, Introduction Monitor and launch events Event processing is completed in the node (cc.Node). For components, you can register and listen to events by accessing the node this.node. Listening events can be registered ...

Posted by chrischen on Fri, 24 Dec 2021 02:24:59 +0100

CocosCreator realizes UNO Card Game

CocosCreator realizes UNO Card Game abstract Imitation 4455 Miniclip games UNO color Solitaire , developed by typescript language, there are many code comments, which is suitable for learning. The game has been packaged as an App, which can be accessed through Baidu network disk Extract code: 9i4j download and upload the source code cocos sto ...

Posted by warran on Thu, 23 Dec 2021 05:12:06 +0100

Cocos2d-x game exports android project and extracts so file of cocos

Cocos2d-x game exports android project and extracts so file of cocos When compiling the android project of the original cocos game, you need to compile the library files of Cocos. Most of these files are cpp files, Compiling cpp files using NDK build tool is very slow and cpu consuming, and it takes about 10-20 minutes to complete the compi ...

Posted by liquidmind on Wed, 08 Sep 2021 07:41:03 +0200