- Mastering Android Game Development
- Raul Portales
- 157字
- 2021-07-16 13:59:10
Summary
We have learned how to deal with input from users in several ways and how to make it transparent for the GameEngine
.
To get a proper visual feedback from the controller, we created a Player
game object that updates its position based on the values from the InputController
. We also learned how to add and remove game objects to and from the GameEngine
while playing.
We created a very basic keypad that later evolved into a virtual joystick. We also learned how to handle external controllers.
At this point, our game has a spaceship that moves along the screen and fires bullets. It can be controlled using a virtual joystick or a gamepad, independently.
The current implementation does lag occasionally and we have barely started drawing objects on the screen. It is time to fix this. Next stop: improve the rendering by drawing directly on the view instead of relying on positioning views on the screen.
- Java程序設計(慕課版)
- Git Version Control Cookbook
- Visual C++串口通信開發入門與編程實踐
- Developing Middleware in Java EE 8
- Visual C++數字圖像模式識別技術詳解
- SEO智慧
- Julia Cookbook
- 從Excel到Python:用Python輕松處理Excel數據(第2版)
- ASP.NET Core 2 Fundamentals
- 基于ARM Cortex-M4F內核的MSP432 MCU開發實踐
- Training Systems Using Python Statistical Modeling
- C++程序設計教程
- 面向對象程序設計及C++(第3版)
- 從零開始學Unity游戲開發:場景+角色+腳本+交互+體驗+效果+發布
- Selenium Essentials