Android App Basics Learning record

11th session of Fuzhou University program design CompetitionContest finished! tag pro.id problem Title ratio (ac/submit) 1 The king asked me to patrol the mountains. 80.31% (261/

Cocos2dx tips (7) static data

At noon, I bought two books from Dangdang, one of which is "a hundred years of loneliness" for reading; the other is "Zhu Xian 2" for collecting. I have two thick stacks of books on my desk. Most of them are non-technical books. Why? The technical

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 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

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

Menu Event Response for Cocos2D-x Game Development

Then describe the basic knowledge of Cocos2D-x. This section describes the definition and response of the Cocos2D-x menu. Let's start with the code. We can directly debug the changes in the init function of helloworld: Bool HelloWorld: init (){Bool

Cocod2d-x -- about scenario switching, CCAction is not executed, still holding references causes memory leakage

The situation is as follows: On the in-game combat page, the victory window is displayed. Click the next button in the window to switch to the resource loading scenario, At this time, the game is paused, and all ccactions are paused. When switching

How cocos2d-x efficiently develop games

The abstract class interface must be reserved for every game version upgrade. Therefore, writing abstract classes can greatly improve programming efficiency, and can be used once and for all. In a turn-based game, it is unscientific to write the

How to Implement the route control of the role in the map of different high and low steps of the cocos2d-x

What I want to say is that the role jumps from one step to another. The two steps are different. The result is that the role is parked on another step rather than falling down! Void MapLayer: mapCreate () {this-> _ allMap = CCTMXTiledMap: create ("

Cocos2d-x 3.0 game me here-visual creation project

1. Prepare the environment Install the latest version of python 2.7, http://www.python.org/download/releases/ Download cocos2d-x 3.0bate2,: http://www.cocos2d-x.org/download 2. Create a project Enter the: % cocos2d-x 3.0bate2% \ tools \

Cocos2dx Chinese font display method Hiero

In games, we often encounter the need to display a large Chinese conversation. In this case, we need to load some custom Chinese character formats and generate a pile of pictures directly from the art, which is too memory-consuming for mobile phones,

Cocos2d-x (version-3.0beta) Environment Construction 1

1. Download cocos2d-x Http://cdn.cocos2d-x.org/cocos2d-x-3.0beta2.zip (official site) 2. Because 3.0 requires python compilation, you need to build a python environment. Download pythonhttp: // www.python.org/ftp/python/3.3.4/python-3.3.4.msi

Cocos2d-android -- Vector

1. MainActivity Package com. njupt. cocos2dvector; import org. cocos2d. layers. CCScene; import org. cocos2d. nodes. CCDirector; import org. cocos2d. opengl. CCGLSurfaceView; import android. OS. bundle; import android. app. activity; import android.

Cocos2d-x tower defense (2) Let the monsters run

Previously Used version is 2.0.1 version, and later with 2.1.1 re-write a part, now brand new start, with the latest version, cocos2d-x-3.0beta, this version and the previous changes quite large.   This is the background material.   Program

11 mobile game development artifact cocos2d-x editor music and sound

In this section, I will add background music and sound effects to the game;           Create a new sounds directory under the Resources directory and copy the prepared sound effects to the directory;   Open MainLayer. js and modify the Code as

[Cocos2dx advanced] debugging Article (2) minor improvements to Cocos2dx

Continue with the previous article "cocos2dx advanced" debugging Article 1) Basic Introduction. This article mainly describes some minor modifications to Cocos2dx. Let's talk about Cocosdx's debugging design. It consists of two parts: log output

[Cocos2d-x from c ++ to js] 13: callback function 2 -- JSCallbackWrapper

In the previous article, we talked about Button callback. This time we will talk about various logical callback functions. There are a total of three types of callback functions in the Cocos2d-x, the first is the key callback CCMenu related, the

Detailed explanation of Cocos2d-x Particle System

Cocos2dx has provided us with a lot of particle system effects: 1. CCParticleExplosion explosion2. CCParticleFire3. CCParticleFireworks fireworks4. CCParticleFlower5. CCParticleGalaxy6. CCParticleMeteor meteor7. CCParticleRain rain8. CCParticleSmoke

Cocos2dx Sprite setBlendFunc color mixing: addition, subtraction

CCSprite has a ccBlendFunc-type blendFunc _ struct Member, which can be used to set the color mixing scheme during plotting. CcBlendFunc contains a src and a dst, indicating the target and source operators respectively. If we use the setBlendFunc

Total Pages: 5220 1 .... 3033 3034 3035 3036 3037 .... 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.