官术网_书友最值得收藏!

Introduction

In this chapter, we are going to look at the various ways you can control your PlayStation Mobile device. The PlayStation Vita includes touch sensors, a full d-pad, two analog sticks, motion sensors, and more. It has to stay compatible with other devices, so features such as the rear touch panel are not supported. Not all devices support all of the PS Vita's features; in fact, most do not. This is especially true regarding physical joystick support. Fortunately, Sony has provided a tool for making onscreen controls, which we will cover shortly. The onscreen controls are built directly into the PSM virtual machine; you simply configure the screen layout the way you wish to see it appear.

There are, however, some limitations, especially when it comes to what you can do in the simulator. For some of these recipes, you will require an actual physical device to test them. I will point out at the beginning of each recipe if there are special requirements.

You may also notice, examples in this chapter make use of the GameEngine2D framework. This is done to cut down the length of example source listings. As you may have seen from the recipes in Chapter 1, Getting Started, without using the framework, accomplishing some rather simple tasks can take a fair bit of code. Do not worry; we will cover GameEngine2D in greater detail in future recipes.

主站蜘蛛池模板: 南江县| 德令哈市| 普宁市| 西青区| 温州市| 六枝特区| 凉城县| 石河子市| 托里县| 施秉县| 金堂县| 隆回县| 烟台市| 余江县| 正镶白旗| 安宁市| 迁西县| 九寨沟县| 浦东新区| 都匀市| 嫩江县| 夹江县| 广丰县| 枣庄市| 綦江县| 峨山| 东乌珠穆沁旗| 邯郸县| 巢湖市| 西青区| 崇文区| 灌阳县| 沭阳县| 米林县| 江门市| 安图县| 宁国市| 交城县| 济阳县| 金平| 土默特右旗|