Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

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.

Best Battle & Fight CoCostudio Interface

Bad practice: When starting to spell, some are hidden and some are displayed, which is equivalent to There is no unified treatment. If there are too many rules, the interface logic will be confused

October 8, 2021By Simo Cocos2dx actual combat, best, cocostudio, Fight, InterfaceLeave a Comment

Cocos2DX-JS version important class

cc.eventManager

cc.Class

cc.loader

cc.game

jsb.EventListenerAssetsManager

cc.eventManager

cc.Class

cc.loader

cc.game

jsb.EventListenerAssetsManager

October 8, 2021By Simo Cocos2dx class, Cocos, Cocos2dx, DX, important, JS, versionLeave a Comment

COCOS3D camera understanding

Pay attention to the parameters of lookAt

Therefore: in parkour games, the camera can be One perspective

Pay attention to the parameters of lookAt

Therefore: parkour games, the camera is mounted to On the human body, you can get the first perspective of a person

October 8, 2021By Simo Cocos2dx camera, Cocos, Cocos3D, UnderstandingLeave a Comment

COS commonly used public function lua code

Public resource loading, cache retain; prevent automatic destruction

2. The number is incremented by rolling; after winning the prize, the total gold coins will jump Add

3. Show the number of gold coins rounded up

4.

5.

6. Load the csv configuration file

October 8, 2021By Simo Cocos2dx Cocos, code, common, functions, lua, practical, publicLeave a Comment

(Transfer) Let Quick-Cocos2D-X support encrypted PLIST files

First part: quick-cocos2d-x image resource encryption

In the previous part, we have implemented the encryption of image resources, but have not yet implemented plist Encryption of files. Alth

October 8, 2021By Simo Cocos2dx Cocos, Cocos2D, encryption, file, PLIST, Quick, support, TurnLeave a Comment

[COCOS2DX] Color Mixed Blendfunc

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

October 8, 2021By Simo Cocos2dx Blendfunc, Cocos, Cocos2dx, color, DX, mixLeave a Comment

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

October 8, 2021By Simo Cocos2dx Cocos, Cocos2dx, DX, shader, UsedLeave a Comment

CONVETTOWORLDSPACE, CONVETTONODESPACE and other coordinate transformation functions

First of all, we must understand what the anchor is. Referring to the “cocos2d-x authoritative guide”, some of the statements have been changed to words that I understand better.

The appeara

October 8, 2021By Simo Cocos2dx CONVETTONODESPACE, CONVETTOWORLDSPACE, Coordinate, et al, function, transformation, UnderstandingLeave a Comment

Cocos.js inherited to achieve source code

CCClass.js

(function () {
var fnTest = /_super/;
var config = cc.game.config;
var releaseMode = config[cc.game.CONFIG_KEY.classReleaseMode];
if(releaseMode) {
console.log(“release Mode

October 8, 2021By Simo Cocos2dx Cocos, Cocos.js, Implementation, inheritance, JS, sourceLeave a Comment

(Transfer) Quick-Cocos2D-X picture resource encryption (continued)

Summary: Supplement to the resource encryption method implemented on quick-cocos2d-x

First part:

Through the modification of the previous article, we have been able to use encrypted ima

October 8, 2021By Simo Cocos2dx Cocos, Cocos2D, Continued, encryption, Pictures, Quick, resources, TurnLeave a Comment

Posts navigation

Page 1 … Page 3 Page 4 Page 5 … Page 10
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress