Cocos2d-x 3.1.1 Study Notes [21] cocos2d-x creation process, cocos2d-x3.1.1
Article from http://blog.csdn.net/zhouyunxuan
RootViewController. h
#import
RootViewController. cpp
# Import "RootViewController. h "# import" cocos2d. h "# import" CCEAGLView. h "@ implementation RootViewController/* // The designated initializer. override if you create the controller programmatically and want to perform cu
NH has been using version 2.x for a long time. Today, we have experienced version 3.3. Record the differences between the two.
I. Proxy
//
Because 3.x has integrated proxy generator internally, no additional nhib.pdf. bytecode. linfu. dll or nhib.pdf. bytecode. Castle. dll is required.
Ii. Delayed Loading
public class Childpublic class Parent{ Public virtual Child Child{get;set;}}
Parent p=XXXXXXX;
During game development, we will encounter maps that exceed the screen size, such as real-time strategic games, so that players can scroll the game screen in the map. This type of games generally have rich background elements. Assuming that the background image is switched directly, you need to prepare a background image for each different scenario, and each background image is not small, which will cause a waste of resources.
Tile maps are generated to solve this problem. A large world map or b
Hide the copyright method under the X-Space personal Space to hide the title of The X-Space personal Space. Found the following code: copyright can be hidden in css. because the file is ZEND, it cannot be deleted and is not recommended to be deleted.
1. how to hide the copyright under the X-Space personal Space
Modify/css/space.css and find the following code
[Cocos2d-x] physical engine entry, cocos2d-x physical EngineRelated Concepts
What is a physical engine?
Scientific model: the rational simplification of things in scientific research.
A physical engine is a computer program that simulates the Newton mechanics model and uses variables such as quality, speed, friction, and air resistance.It can be used to predict the effect in different situations. It is mai
Jetty 8.x, 9.x Unable to load Jstl PWC6188 problem, jstlpwc6188 source: internet editor: Li Xiumei comment: post comment font size: S M L Jetty 8.x, 9.x Unable to load JSTL PWC6188 problem, jstlpwc6188 reference: cannot load JSTL taglib within embedded jetty server:http:// Stackoverflow.com/questions/2151075/cannot-l
1. PerformancePY3.0 runs Pystone benchmark slower than Py2.5 by 30%. Guido that Py3.0 has great space for optimization, and can be used in string and shaping operations.To achieve a good result of optimization.Py3.1 performance is 15% slower than Py2.5, and there's a lot of room for improvement.2. Encodingpy3.x source files use utf-8 encoding by default, which makes the following code legal:>>> Chinese = ' China '>>>print (China)China3. Syntax1) remov
Order of integers: set A and n are positive integers of the a^x=1, making the smallest positive integer x (mod n) The order of a modulo n//order Template: A^x=1 (mod M), call Getjie (a,m)//Input: 10^10>a,m>1//output: No solution returned-1, with a solution to return the smallest positive integer x//complexity: O (m^ (0
I have not written a C + + program for a long time today, using VS2013 to create a new empty console program, the result is automatically generated header file and Main method.Understand the meaning and usage of the stdafx.h header file.Stdafx:standard Application Framework Extended, is a precompiled file that will be used in the project to pre-compile some standard MFC header files, when the project is compiled again, you do not need to compile the header file, you can directly use the results
How to Build Android cocos2d-x-3.3 Development Environment on win7, win7cocos2d-x-3.3
1. Tools to be installed to build a development environment:
A. Visual Studio 2012
B. Cocos2d-x-3.3 version
C. Java JDK 1.7.
D. Android SDK
E. Android NDK
2. Download and install Visual Studio 2012 (for: https://msdn.microsoft.com/library/dd831853 (v = vs.110). aspx)
3. Down
Ask if x contains y and x is sorted by y. In fact, x contains y and x is sorted by y.
Compare the arrays x and y,
If x is longer than y, the extra keys in array x are appended to the
Questions Guide
1.hadoop1.x Retrofit If it is two jobtraker, what do you think solves the problem.
2.hadoop1.x Retrofit if it's two jobtraker, you don't think there's a problem.
3. What do you think of hadoop2.x yarn?
In view of my interview mentioned this question: the difference between hadoop1.x and hadoop2.
Cocos2d-x 3.2 Monopoly game project development-Part 2 linked land payments toll, cocos2d-x Project Development
When you move to a plot of another role, you can calculate the tolls you need to pay based on whether the current plot is contiguous or not. The calculation method is the sum of the tolls for each plot.
First, obtain the x y coordinate of the block pass
X11 is an application, not an operating system, and the main function is to provide a graphical interface that implements the same architecture and network architecture as x client and x server components, plus window manager and display manager components. where x client is an application (e.g. Gedit, Firefox, terminal, etc.),
Http://liunian.info/%E8%BF%9E%E7%BB%AD%E8%B5%8B%E5%80%BC%E4%B8%8E%E6%B1%82%E5%80%BC%E9%A1%BA%E5%BA%8F.html)
I saw a post in 2010.[1], which discusses a piece of JavaScript code:
123
VaR= {N: 1 };A. X == {N: 2 };Alert (A. X );// --> Undefined
There are many discussions in the post to analyze why a.x is undefined. Below are some of my thoughts.
First, in Javascript, You need to specify the f
Php5.6.x's new, php5.6.x novelty
What's new with php5.6.x
Mid-term exam back, brush php.net, found--and updated again. Now take a look at what's New in PHP 5.6.x
Internal operator overloading (internal-operator-overloading)
Internal operator overloading takes the brunt, because it's the best play and the strangest one.
In this GMP object (yes, yes, that's
The 3.0 version of Python, often referred to as Python 3000, or simply py3k. This is a large upgrade relative to earlier versions of Python.
In order not to take in too much of a burden, Python 3.0 did not consider downward compatibility when designing.
Many of the programs designed for early Python versions are not performing properly on Python 3.0.
To take care of the existing program, Python 2.6, as a transitional version, basically uses the syntax and library of Python 2.
Cocos2d-x 3.x physical collision mechanism
I recently got another physical engine. Let's write it down. Next we will summarize the knowledge I learned from other blogs and my understanding.
The brand new encapsulated physical engine in cocos2d-x 3.X gives developers the greatest convenience, you don't have to bother wi
Topic from: "Data structure and algorithm analysis: C Language Description _ Original Book Second Edition"--mark Allen WeissExercise 1.5 (a) proves the following formula: LOGX This little question seems to be simple. At first glance at a high school proof of the problem. In fact, I based on the usual ideas in high school to solve the:Set F (x) = X-LOGX, where x >
From the source code version number 3.x. Reprint Please specifyCocos2d-x Total folder source code Analysis:http://blog.csdn.net/u011225840/article/details/317431291.ref,autoreleasepool. PoolmanagerRef includes a reference count called Referencecount, and when a variable of a ref class is new, its Referencecount reference count is set to 1. There are three important operations, retain. Release,autorelease
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.