Cocos2d-x mobile game mobile IOS
An accelerometer is a sensor that can sense the linear acceleration of a device. It is widely used in guidance and control of aviation, navigation, aerospace and weapons. There are many types of linear accelerometer. Currently, three-axis accelerometer is used in mobile devices such as IOS. It can be used to sense the linear acceleration changes in the direction of X, Y, and Z axes on the device. As shown in, the coordinate system of the Three-Axis Accelerometer for iOS and Android devices is the right-hand coordinate system, that is, the device is vertical up, the front is toward the user, the horizontal to the right is the positive direction of the X axis, and the vertical to the positive direction of the Y axis, the positive direction of the Z axis is from the device to the user.
More content please pay attention to the Cocos2d-x series of books "Cocos2d-x practice (Volume I): c ++ development" book exchange discussion site: http://www.cOcoagame.netWelcome to join the cocos2d-x Technology Discussion group:257760386,327403678