IOS study 5: UITabBarController preliminary

UiTabBarController is a common control in the project architecture.Let's take a rough look at the effect of the control, so we can see why it is common. This is the simplest prototype. It is believed that the basic application interface structure of

IOS study 10: organize and share learning materials.

Developer forums and data sites1. http://www.cocoachina.com/I basically classify him as common class as eoe.2. http://www.apple.com.cn/developer/ this does not explain, good English can remove cn, but at present I still use less, official documents

PhoneGap API help documentation-Device)

The device object describes the hardware and software of the device.Attribute:Device. nameDevice. phonegapDevice. platformDevice. uuidDevice. version Variable scope:Because the device is assigned to the window object, it is implicitly indicated that

Cocos2d development and learning 2: Explanation of ctor, Scenes, Layers, and Sprites

[Cpp] start with the game and enter the menu options to briefly introduce the use of the four concepts mentioned in the next section Director) The following methods are used in the initial stage: ReplaceScene PopScene PushScene RunwithScene

Cocos2d-x Study Notes (2)-Basic Elements of scenarios

Next, the order of the articles I write is based on the game development process. Some may not be very reasonable. You can check the order based on your own needs.In the last HelloWorld, I briefly introduced the concepts of layers and scenarios.

IOS Study Notes 18-UIImageView

Previously, we used UIImage to load images, while UIImageView is a control for displaying images on the interface. To display images in UIImageView, we should first load the images to UIImage, then use the UIImage in other ways. The following

Study Notes for cocos2d-x (11)-Coordinate System

Study Notes for cocos2d-x (11)-Coordinate SystemThere are four coordinates in the cocos2d-x:(1) screen Coordinate SystemIn windows, the default origin is in the upper left corner of the screen, and the X axis is right and the Y axis is down.(2) GL

Cocos2d-x Study Notes (18)-game packaging (windows platform)

Cocos2d-x Study Notes (18)-game packaging (windows platform)Previous games were compiled and run under vs2008. If you want to publish a game online or share it with others, you have to package the game. Next I will introduce you to a program

A small game demo tank war written by cocos2d-xna

Recently saw a lot of information about cocos2d online, looked at cocos2d also supports wp7, download a Cocos2d-XNA installation package, write a small example to play, familiar with cocos2dThe program is very simple. It is an entry-level mini-game.

Cocos2dx image adaptation to different models

In the automatically generated code under win32, OpenGLView is in main. the size set by setFrameSize in cpp. If the image size is greater than the view Size, only the intersection part can be displayed. If the image size is smaller than, a Black

Elementary School in Cocos2d-x -- & gt; CCSprite basic processing (2)

In a game, our game background, UI background, and so on all need to use the Genie. Naturally, the role, npc, and door animation in our game will certainly use the genie... It is estimated that I have read the previous environment setup and drawing.

Cocos2d-x learning notes-CCAction)

CCAction and its subclass play this role. It is implemented by changing the attributes of these entities. below is its class structure diagram.   From the structure diagram, we can see that the base class of the category class is CCAction, and many

Cocos2d-x Study Notes-Animation

This article to learn how to use the cocos2d-x engine to play Frame Animation, is to put a frame of an image as a movie.1. First, let's take a look at the related classes.CCAnimation: it is a parameter used by the genie to play an animation. It

Cocos2d basic action

// Define an image genieCCSprite * sprite = [CCSprite spriteWithFile: @ "1.jpg"];CGSize s = [[CCDirector shareddire] winSize];CGPoint p = ccp (s. width/2, 50 );// Implement various actions[Sprite runAction: [CCMoveTo actionWithDuration: 1.0 position:

How cocos2d-x optimizes Memory Applications

I have previously written about how to optimize the memory of cocos2d-x applications, and how to deal with the punishment of the game in the case of insufficient memory. Today, I saw a friendly introduction to memory on Weibo, which is quite

[Cocos2d-x from c ++ to js] 02: Fixed invalid modification of js source files in

Previously we talked about how to import the cocos2d-x engine's built-in MoonWarriors example project into the source code, and then you can easily learn and edit. However, I found that if I modified the js Code and click debug, the runtime will

Cocos2d-x learning notes (2) Basic concepts and text

In the cocos2d-x engine, there are several concepts: the Director (CCDirector) in the cocos2d-x engine, the director class is the game organizer and leader, the Director sets rules to make the scene inside the game, set, and the orderly running

Cocos2d-x Study Notes (3) menu items

The cocos2d-x provides a variety of menu items, including: CCMenuItemLable, CCMenuItemSprite, temperature, temperature, and CCMenuItemImage. They all inherit CCMenuItem, the inheritance diagram is as follows: CCMenuItemLable: mainly including labels

Learning notes cocos2d-x2.1.1 to achieve the drag of multiple genie

[Cpp] view plaincopyprint? There are multiple genie in the scenario, so you need to move them to an appropriate location. A simple move may result in overlapping sprite regions. This problem can be solved by slightly modifying the ccTouchBegan

Cocos2d-x magic tower 20-layer code source and production experience

Recently I used cocos2d-iphone to do the magic tower game with cocos2d-x re-compiled a bit, here I at the end of the article to provide code source for everyone to learn should be cocos2d-x contact is not very deep, if you have any suggestions or

Total Pages: 5220 1 .... 1916 1917 1918 1919 1920 .... 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.