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

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.

主站蜘蛛池模板: 邢台市| 灵台县| 嘉善县| 枣庄市| 方城县| 永春县| 青神县| 晋城| 塔河县| 忻州市| 阜新| 宝清县| 师宗县| 建昌县| 东乡| 富源县| 鹤岗市| 丰都县| 连平县| 新营市| 板桥市| 大渡口区| 翁源县| 乌苏市| 新巴尔虎右旗| 绩溪县| 祁东县| 新余市| 武隆县| 孝昌县| 武平县| 清苑县| 满城县| 公主岭市| 湘阴县| 卢湾区| 台湾省| 城固县| 贡觉县| 阜新| 江华|