Cocos2d-x 3.0 beta build project

Welcome to Cocos2d-x chat group: 193411763 Reprinted please indicate the original source: http://blog.csdn.net/u012945598/article/details/18256893 1. Download The cocos2d-x-3.0 beta and decompress it on the desktop 2. Open the terminal 3.

Cocos2dx 3.0 improved touch Mechanism

I was planning to expand my skills during the noon break and write a blog post related to the new touch mechanism. As a result, I couldn't help myself when I really started, but I couldn't help myself in many places, after reading testCpp, I found

Cocos2d-x tutorial (18)-Use of callback Functions

Welcome to Cocos2d-x chat group: 193411763 Reprinted please indicate the original source: http://blog.csdn.net/u012945598/article/details/17882791 In the Cocos2d-x, we provide many types of callback functions. As we mentioned earlier, CCCallFunc is

Cocos2d-x action Spawn (CCSpawn)

First, Spawn is a simultaneous action, and Sequence is a sequential action .. Someone asked me why I only called the second one in Spawn? The Code is as follows: // CCAnimation * animation1 = CCAnimation: createWithSpriteFrames (animFrames, 0.10f )

Cocos2dx Game Development Series notes 18: game source code analysis

  Let's take a look at a more common parkour game. Actually I think someone used the example of "Lolita run" to change it. But there must be something new to learn. This is the best demo we have ever seen. You can run it without having to modify it.

[The Path to COCOS-2D programming for a cainiao] preliminary use of the UIAccelerometer in COCOS2D

UIAccelerometer, in short, is to obtain the gravity sensing and displacement judgment and processing of the mobile phone. For example, shaking the mobile phone up or down will trigger the accelerator event. Today, we will learn how to use the

CCScene and CClayer in core coco2d-x

I. CCScene CCScene is a subclass of CCNode. It has one more feature than CCNode: it is used for its own anchor and is located in the center of the screen. In fact, it is just an abstract concept, essentially a CCNode   Define a new CCScene instance:

Cocos2d-x Game Development Series tutorial-display of virtual controllers for tank games

In the previous article, we had tanks, but we had no controllers and could not control the tanks. 1. In this article, we will write a virtual handle to control the tank. The header file contains the following content: #define RES_PADDLE_LEFT"paddle/

CCSprite of coco2d-x core class and its related classes

CCSprite is a two-dimensional image object. It can be defined by an image or a rectangle of an image. The inheritance relationship of CCSprite is as follows: 1: CCTexture2D The texture class CCTexture2D is about OpenGL. The CCTexture2D class is

Cocos2d-x full screen adaptation

After reading the sample, you will experience cocos2dx in person, but it is inevitable that new people will encounter a dilemma. Although the beginning is bitter, it is wonderful after solving the problem. I made a small demo and used only one set

Use Promise/Deffered mode to optimize game animations in coco2d html5!

Problem:When you use cocos2d html to write a series of combat animations, you often encounter the following issue: // Action 1actionSetp1: function (){... var move = cc. moveTo. create (1, cc. p (100,100); // After moving, execute the actionStep2

[7] CCAction for coco2d-x core class

CCAction is not an object displayed on the screen. CCAction must be attached to a CCNode instance to play its role. The CCAction class inheritance relationship is shown in figure CCAction has three subclasses: CCFiniteTimeAction, CCFollow, and

Cocos2dx Game Development Series notes 15.1: Add a virtual joystick SneakyInput

  (It seems that there is a problem with saving the csdn blog) (When I have finished saving all the files, I owe my hand to click the return button of the browser, and then the automatic saving of csdn is not easy to use, and now this note is the

Introduction to common classes of Cocos2d-x

Cocos2d-x as a game engine across several mainstream platforms, has been a lot of developers love, preliminary contact with the engine, basic knowledge of the engine to do a simple understanding and learning, this article mainly introduces some

[Cocos2dx] an algorithm for making the landlords & amp; quot; sort

When building a landlord, there is another sort of cards after the cards are issued, which is one of the issues to consider. The sorting here is not a general simple bubble sort, my idea is to arrange the card 0-51, with 13 as a benchmark

[Cocos2dx] Build a dashboard

For a while, cocos2dx has not been touched. Today, I want to feel warm again. Otherwise, I will be ruined by my previous studies. I 'd like to be a landlord. I will write online files on the server end later, create an interface today!: Code of the

Cocos2d-x CocosBase Scenario Management Solution

CocosBase is based on Cocos2d-x mobile cross-platform game engine of a set of Scenario Management, Message Management, event management and other open source solutions The emergence of CocosBase completely improves the deficiencies and defects in

Cocos2dx socket communication

    Recently, in a real-time online interaction game, the game needs to use socket to maintain a persistent connection to ensure real-time interaction between the client and the server. Below are some of your code: The entire process is as follows: 1

SneakyInput for Cocos2d-x

SneakyInput is a virtual joystick library. SneakyInput is the virtual handle in 2dx. But the 2dx version downloaded from the official website is too old, to modify him, applicable to cocos2d-x 2.1.4 version. In theory, it applies to all 2dx versions

Cocos2d-x loading UIWebView display web page

In 2dx, click the button to load the webpage and use UIWebView on ios to display it. This allows you to roll back and refresh the current page. In 2dx, call [cpp] HelloWebView * webview = [[HelloWebView alloc] initWithNibName: nil bundle: nil];

Total Pages: 5220 1 .... 3685 3686 3687 3688 3689 .... 5220 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.