Cocos2dx uses CCClippingNode In the cropping area to implement rolling subtitles.

Made To scroll the text in a certain area, use CCClippingNode to make a cropping area. The text in this area can be displayed, and the text cannot be seen after the area is displayed. Bool TestLayer: init () {CCSize size = CCDirector:

19: Tile map Collision Detection in Cocos2D-x Game Development

Yesterday we had the genie and the background, and the genie could run, but we couldn't let the genie run endlessly. So today we are going to add some obstacles to the map; First open the TMX map of the genie, then we will customize a 32x32 pixel

Cocos2dx tips (8) visit counterattack

Leave the sad tone at the beginning. Question: This time I pulled visit out of the sky. What is the use of this product? Well, let's start with a story: Suppose you have a crush on a goddess (just called milk tea MM ~), The first step in pursuit

Cocos2dx tips (6) asserted CCAssert

If you need to accumulate a little bit in a day, you just need a little bit. ------------------------------------ While listening to Jay Chou's music, there was a pot of beer next to it. From time to time, I followed the rhythm and gave me two more

Cocos2D-x game development 21: ScheduleUpdate and ScheduleOne usage

Today I learned the Coco2D-x timer, Cocos2D for us to encapsulate the timer function, we only need to use the place directly: Schedule can be used directly, that is, it is called in the init () function by default: this-> scheduleupdate (); and

Cocos2d-x 3.0 rc0 + flappybird learning experience

I am a big rookie, just entry cocos2d-x soon, decided to write a little game practice feel, found OiteBoys Article cocos2dx production flappybird, and then learn, used to practice The author's version is version 3.0 beta, but there is a slight

Cocos2d-x game development parkour (6) map Loop

  Now, a person can run, jump, and squat. But he is still a lonely runner, running on a endless online in a dark world. Now, we add background and floor to him to let him run in a colorful world.   This map is a custom class. In C ++, try not to

Cocos2d-x 3.0 development notes --- using progresst

Blood records are often used, and there is no need to write them again, which is a waste of time. Here we use the latest API to write one for future calls. The engine version used by the following code is cocos2d-x 3.0rc01. RADIAL Sprite *

[Play to cocos2d-x 38] How to Use NDK-STACK tool to restore Cocos2d-x Android error stack information

 1. android NDK-STACK toolNDK-Stack is a very easy-to-use tool that displays information to adb logcat to help you analyze Stack tracing, and then use the corresponding value (which line of the source code) to replace the address in the static Link

Cocos2D-x game development 14th: Particle System

Today, a supplement to the Cocos2D-x fell last night very important section --------> particle system; As a beginner, I used several basic classes in the example to combine the following scenarios: VcD4KPHA + PGJyPgo8L3A + CjxwPjxpbWcgc3JjPQ =

Cocos2d-x tutorial (25)-Local Data Encryption

  When we use local data to store CCUserDefault, there will be a defect, that is, the storage method used by CCUserDefault is plain text storage, which is very convenient for gamers to modify the archived data. What we want to learn today is how to

17 game development in Cocos2D-x

After learning for so long, it is still a bit vague. Today we will make a simple summary of my previous knowledge: First, let's take a look at our game's leading role: in development, we often do not set the leading role as an genie. Because the

Cocos2D-x game development 16th: creating a moving genie

Today, we are trying to let our Genie move. Of course, we know that the so-called animation is to let the genie switch between multiple pictures. So we need to prepare 15 animated images before we start, then, use a tool to package these images. So

Summary of some problems encountered in the process of Cocos2d-x Project

These days in the use of Cocos2D-X to try to do a small game, of course not innovation, just imitation, is to be used in practice the technology learned during this time.In this process, I encountered some problems and made some conclusions here to

Cocos2d-x: how to upload files through command lines

This time in the tossing cocos2d-x engine telnet console, a few days ago to add an upload command, In the testcpp console test added the corresponding test example, however, I have not found a convenient method to use in the command line. I have

Cocos2D-x game development music play

Then describe the basic knowledge of Cocos2D-x. This section describes the Cocos2D-x music play function. It is also slightly transformed in HelloWorld, and there are a lot of code: Bool HelloWorld: init (){Bool bRet = false;Do{//////////////////////

Cocos2d-x 3.0 development notes --- use of vector

Recently I learned from other people's source code and came into contact with the Vector Template Class. I found it very useful. Let's record it and study it. Let's take a look at the usage: VcD4KPHA + PC9wPgo8cHJlIGNsYXNzPQ = "brush: java;">

Cocos2d-x game development parkour (4) associated with the physical world

  Although the previous section implements a running character, he is only a genie executing a running frame animation. In this section, I want to associate the genie with the physical world, so that this person has the same actual size as the

The use of bmfont tools for art in cocos2d-x

1. download and install the free Bitmap Font creation tool Bitmap Font Generator in windows Tools:Http://www.angelcode.com/products/bmfont/install_bmfont_1.13.exe 2. Open the software and select Opotion> FontSetting to set the font to be exported. I

Cocos2D-x game development-CCMoveBy CCJumpBy CCRotateBy CCAction CCRepeatForever

Now let's learn the basic usage of Cocos2D-x. CCMoveBy CCJumpBy CCRotateBy CCAction CCRepeatForever The direct code is as follows: Bool HelloWorld: init (){Bool bRet = false;Do{CC_BREAK_IF (! CCLayer: init ());CCMenuItemImage * pCloseItem =

Total Pages: 5220 1 .... 5215 5216 5217 5218 5219 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.