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

Introduction

This chapter is about controlling avatars and cameras for various game types. Whether your game is a first person shooter (FPS), role playing game (RPG), or real-time strategy (RTS) game, you'll learn some tricks that will help you get past tricky obstacles.

The chapter will rely heavily on the ActionListener and AnalogListener interfaces. These are essential when listening for the player input in jMonkeyEngine. The ActionListener interface will pick up any binary input such as keyboard keys or mouse buttons. The AnalogListener interface listens for mouse and joystick movements and other input that is either on or off.

主站蜘蛛池模板: 深泽县| 修文县| 彭泽县| 南江县| 台中市| 蒙阴县| 佛山市| 麻栗坡县| 肇源县| 聊城市| 象山县| 九龙县| 隆林| 垣曲县| 阿合奇县| 丹江口市| 南通市| 张家界市| 夏津县| 绩溪县| 新密市| 四会市| 阳山县| 宁河县| 孟连| 忻城县| 上饶市| 大丰市| 西盟| 屏东市| 柳江县| 闽清县| 星座| 平武县| 隆化县| 临朐县| 叶城县| 泰和县| 孟连| 南康市| 寿光市|