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.

COCOS2D-X action

The difference between By and To By is the current position relative to the node object, and To is the absolute position.

Use MoveTo and MoveBy to complete the movement of the node object aft

October 8, 2021By Simo Cocos2dx action, Cocos, Cocos2DLeave a Comment

COCOS2D-X C ++ Get web images cache and show

#ifndef __HttpGetImg__

#define __HttpGetImg__

#include “cocos2d.h”

#include ” HttpRequest.h”

#include “HttpClient.h”

USING_NS_CC_EXT;

using namespace std;

October 8, 2021By Simo Cocos2dx C ++, Caches, Cocos, Cocos2D, Get, network, Pictures, ShowsLeave a Comment

COCOS2D-X UI components

Label Use the Label object to create labels using bitmap fonts, TrueType fonts, and system fonts. This single class can handle all labeling requirements.

BMFont is a label type created with a

October 8, 2021By Simo Cocos2dx Cocos, Cocos2D, components, UILeave a Comment

COCOS2D-X VS COCOS2D-Android for Android game

After using “cocos2d-iphone” in one of my projects, I tried to determine what kind of Cocos2d I should use to install an Android game. My personal pros and cons list:

Cocos2D-X

Professi

October 8, 2021By Simo Cocos2dx Android, Cocos, Cocos2D, game, VSLeave a Comment

cocos2d-x3.0 globalZOrder()与localZOrder()

Reference: https://blog.csdn.net/star530/article/details/24576057

Reference: https://blog.csdn .net/star530/article/details/24576057

October 8, 2021By Simo Cocos2dx Cocos, Cocos2D, globalzorder, localzorder, x3.0Leave a Comment

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:

October 8, 2021By Simo Cocos2dx chess, Cocos, Cocos2dx, Development, DX, reviewLeave a Comment

Detailed explanation for COCOS2D-X.ini files

This article mainlyA detailed explanation for the cocos2d.ini file.

When we need to call C++ to customize it, we need to modify a copy of cocos2dx.inicopy. So what are the changes?

In f

October 8, 2021By Simo Cocos2dx Cocos, Cocos2D, detailed, file, INI, taro, x.iniLeave a Comment

Make WeChat game screenshot with cocos crae

Reference document: https://developers.weixin.qq.com/minigame/dev/document/render/canvas/Canvas.toTempFilePathSync.html

Core code:

var canvas = cc.game.canvas; var width = cc.winSize.wi

October 8, 2021By Simo Cocos2dx Cocos, creator, Games, Screenshot, WeChatLeave a Comment

Cocos2DX Physical Collision

https://www.cnblogs.com/JiaoQing/p/3906780.html

Four response functions

< span style="color: #008080"> 1 EventListenerPhysicsContact* evContact = EventListenerPhysicsContact::create();/

October 8, 2021By Simo Cocos2dx Cocos, Cocos2dx, Collision, DX, PhysicsLeave a Comment

Cocos2D-iPhone – Need to help understand the elves and textures

I recently started to pay attention to cocos2d game development.

What is the difference between sprites and textures?
Maybe I can pass the “bitmap” there. What is a bitmap?

They all se

October 8, 2021By Simo Cocos2dx Cocos, Cocos2D, Elf, help, iPhone, need, Texture, UnderstandingLeave a Comment

Posts navigation

Page 1 … Page 5 Page 6 Page 7 … 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